om.Rule.init
document.addEventListener('om.Rule.init', function(event) { console.log(event.detail.Rule); // The specific rule object. console.log(event.detail.Rule.rule); console.log(event.detail.Campaign); } );
om.Styles.positionPopup example 1
document.addEventListener('om.Styles.positionPopup', function(event) { const campaign_selector = "#om-" + event.detail.Campaign.id + "-" + event.detail.Campaign.view; $(campaign_selector).dragon(); } );
Slide Reposition Top Right v2
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
change view yes/no
om{{id}}.changeView('yesno');
Remove Specific Campaign From a Specific URL-v1
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…
frontend/js/snippets/scroll-behavior/sticky
This JavaScript snippet enables smooth scrolling to in-page anchors (like #section1) while automatically adjusting for a…
Diagnostic_Universal - KIC Universal Diagnostic Tool - PASSIVE VERSION
/** * KIC Universal Diagnostic Tool - PASSIVE VERSION * * A comprehensive diagnostic tool for…
JS-snippet: knoppen toevoegen lesrooster en AJAX triggeren
registratieknop toevoegen aan tabelpress
WP Version abschalten
function wpbeginner_remove_version() { return ''; } add_filter('the_generator', 'wpbeginner_remove_version');
Detect Orphaned Content in WordPress Admin
Identify published posts and pages that are not linked internally from other published content on your…
Waste Licence
Waste carriers affiliation badge