Hide newsletter popups
Blocks modal newsletter sign-up windows and restores page scrolling when the popup locked the body.
Code to copy
[class*="newsletter" i][class*="modal" i],
[role="dialog"]:has([class*="newsletter" i]),
[class*="popup" i]:has(input[type="email"]),
[data-testid*="subscribe-modal" i] {
display: none !important;
}
body { overflow: auto !important; }
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.