3

My questions is about those pop-ups that cover the entire page and are just regular DOM elements such as <div> but I don't know what they are called. They usually contain some social media links or ask you to register on the website or subscribe to their newsletter.

Is there a way to reliably detect those elements and block them from taking over the screen or hide them? A Firefox add-on or Greasemonkey script?

Here's an example of what i'm referring to:

enter image description here

  • How would a software (assuming it would be a generic tool) differentiate a valid modal and an ad modal? For none-generic solutions there are several lists for your ad-blocker of choice. Blocking scripts altogether would probably work as well, depending on the underlying markup. – Seth Oct 31 '16 at 13:31
  • In a sense you're asking about Software Recommendation which would be off-topic in addition there isn't really a good answer to this aside from "None" or "No". You seem to know about DOM so ask yourself what would identify a "bad" DOM Element that does a modal from one which is "good". Short of using filter lists there is probably no much you can do. – Seth Nov 1 '16 at 15:21
  • Possible duplicate of superuser.com/q/433613/105108. – ks1322 May 23 '17 at 14:19
-1

you can block some of those popups as well as other social content using adblock plus. after installing, you need to add a filter list called Fanboy Annoyances List which can be downloaded from: Fanboy website.

-1

Another option is a browser called Slimjet. It uses Chrome but is quite efficient in blocking ads...not as efficient as adblock plus, but still quite useful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.