305 Snippets
<10 Favourites
<10 Downloads

Style ALL Placeholder Text on Your Website

::-webkit-input-placeholder { color: #333 !important; } /* Chrome/Opera/Safari */ ::-moz-placeholder { color: #333 !important; } /*…

floating-monsterlink-2.css

/* --- Floating MonsterLink Style 2 CSS --- ------------------------------------------ */ .floating-monsterlink.style2.show { bottom: 30px; } .floating-monsterlink.style2…

change view optin

om{{id}}.changeView('optin');

om-nextjs14-layout.tsx

import '@/app/ui/global.css'; import {RouteChangeListener} from '@/app/route-change-listener.tsx'; export default function RootLayout({ children, }: { children: React.ReactNode; })…

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; }

Remove Specific Campaign Based on the Referral URL

document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…

om.DisplayRules.actions

document.addEventListener('om.DisplayRules.actions', function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects which have passed console.log(event.detail.DisplayRules.passed); console.log(event.detail.Campaign);…

om.Optin.error example

document.addEventListener('om.Optin.error', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );

Slide Reposition Bottom Left

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

trigger monsterlink on hover

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…

1 3 4 5 6 7 26