94 Snippets
<10 Favourites
<10 Downloads

om-startClose.js

// Close the OptinMonster campaign om{{id}}.startClose();

slide-bottom-left.css

html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }

om-exclude-campaign-revenue-attribution.js

document.addEventListener('om.Campaign.init', function(event) { if ('CAMPAIGN_ID' === event.detail.Campaign.id) { // replace CAMPAIGN_ID with the OptinMonster campaign's unique…

CSS for Countdown Timer text

Translate the text ‘Days’, ‘Hours’, ‘Minutes’, and ‘Seconds’ into another language.

om.Campaign.afterShow

document.addEventListener('om.Campaign.afterShow', function(event) { if (event.detail.Campaign.id == 'zjd3hxxogbfvmy2iz0rp') // your slug { var campaignID = 'om-'+ event.detail.Campaign.id;…

dynamic-monsterlinks-by-class-name.js

// Target by class name window.onload = function(){ const dynamicMonsterLinks = document.querySelectorAll("a.myClass"); dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href =…

om-emberjs.js

// Using Ember.js. import Route from '@ember/routing/route'; export default Route.extend({ beforeModel(transition) { if (window.om5678_1234) { window.om5678_1234.reset();…

slide-bottom-center.css

html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…

1 4 5 6 7 8