Skip to content

Dynamic content engine for time and url dependent injection

Notifications You must be signed in to change notification settings

nickfreese/iceInjector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

iceInjector

Dynamic content engine for time and url based injection

Example config object

var config = {
    0:{
        content: "<a href='#'>test link</a>",
        location: ["index.html"],
        time: {
            begin: [10, 27],
            end: [24, 60],
        },
        days: ['Thursday', 'Monday'],
        target: ['append', '.classOfTargetDiv'],
        callback: function(){
            alert('Callback for first Content Block');
        }
    },
}

About

Dynamic content engine for time and url dependent injection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published