- minimal software requirements
- fastable asynchronous work and minimal server resources yet
- exceptions handler
- module templates structure
- caching revision advertised modules in to localStorage
- last-modified and etag on settings and modules
- fast loading advert elements
- start and stop at specific date defines
- position loading and animation
- ads invisible to adblock
<!-- dekko advertized platform -->
<script src="https://example.host/dekko.js" async data-verbose="true" data-cache="false"></script>
<!--// dekko advertized platform -->
- popup
- banner
- bar
- modal
- video
- logger
- 3rd-party
cjson
resty/redis
nginx+luajit
redis3
module.json config example
[{
"geoTargeting":[88,77,32,50,333,334],
"append": "#dekko-popup-thatever",
"type": "popup",
"revision": 109,
"rotate": "true",
"refresh": 10000,
"pages": ["/", "/page-1.html", "/page-2.html"],
"url": "http://google.com",
"delay": 500,
"closeExpire": 2,
"date": {
"start": "2017-05-29T12:00:00.000000+04:00",
"end": "2020-01-01T00:00:00.000000+04:00"
},
"effects": {
"easing": [
"easeInOutElastic",
"easeOutElastic"
],
"duration": 1000
},
"position": {
"left": "15px",
"bottom": "15px"
}
}]
module.js function example
(function($) {
window.dekkoModule = function (object) {
try {
...
} catch (e) {
return this.exceptionsMessage({
message: object.name + " " + e,
status: this.console.dekkothrowError,
date: (new Date).toISOString()
});
} finally {
return dekkoJS.notice(object);
}
};
})(jQuery);
banner.scss style example
#module-name {
.module-style-container {
}
}
- Stable version.
- Added scss/css module
- Added new module: modal splash window
- New strategy isolation advertized modules - shadow DOM (native only)
- Added new options:
videoFile
,videoPoster
,scroll
- Added max refresh option
this.refresh.max: 100
- Refactoring and optimizing memory on dekko.js
- Added max refresh option
this.refresh.max: 100
- Refactoring dekko.js
- Added fingerprint2.js
- Added jQuery easing
-
Added new module options param:
refresh: seconds
This parameter provide online refresh modules. Worked only defined two parameters:refresh: seconds
androtate: "true"
-
Added new module options param:
pages: ["/", "/page2", "/page3", "/etc.."]
This param translate modules only path pages defined in array -
Replaced method jQuery
$.ajax
to XMLHTTPRequest -
Refactoring code
-
Added new redis incrby: domain.tld:lg 0000-00-00:module-name increment counter This parameter count module downloads by day
- Added svg close button
- Removed old methods in dekko.js
- Modules popup and banner updates
- Support compatible Internet Explorer >=8
- bugfix infinite loop if server returned error. This bug fully fixed.
- removed deprecated sources and over on dekko.js
- optimizing dekko.js logic
- new style and syntax console.log
- bugfix bug uri '/sa'
New options JSON structure
- Param:
object.append
need to bind html element - Geotargeing by region
- New stack error handler
xpcall
in logic.lua - cjson error pcall
- Added multilang library lang.lua
- Refactoring logic.lua code and dekko.js
- Refactoring dekko.js
- Refactoring lua and migrating to luajit
- Added new param
object.mobile
view adv
- Added geo targeting by geoip-db.com and many fixes
- Bug fixes.
- Bug fixes.
- Added new features. Redis, Nginx, Lua.
- Added new get method.
- New bugs and fixes.
- New option revision and jsonp format modules list.
- Fixes.
- Added added new param rotate.
- Added modulesUrl, removed required $.easing() plugin. Changed module template.
- Added new option elements.storeVersion and removed $.cookie() plugin
- init version