0

I tried to block the annoying popup advertisement on movie-blog[dot]org but nothing helps. I tried several strings with AdBlock Plus. I analyzed the code with Firebug to get the frame code. No success yet.

For example, i tried this and several other strings:

##IFRAME[id="shpujixmntsgsyquogzm"][src="https://www.stargames.com/nrgs/de/landing?refererId=79465*"]

##script[src^="http://displayad.layer-ad.org/delivery/ad.php?*"]

Anyone able to block the popup with AdBlock Plus or NoScript?

John Smith
  • 363
  • 2
  • 7
  • 21

1 Answers1

3

This one should work: ||www.movie-blog.org/layer/layernew5.js^$domain=movie-blog.org,script

Here are some notes why:

  • Filters that contain ## are merely for hiding elements that are already on the page (i.e. <iframe>, etc.) so the ad won't be prevented from downloading by using those.
  • Element hiding filters work with regular CSS selectors and those don't support using * as a placeholder character such as in ad.php?*.
  • To prevent a resource from downloading you need to write a blocking filter to match its URL such as the one I suggested above.
  • The "ad.php" resource is already being blocked so that one's not causing the ad to appear. Instead, the "layernew5.js" script appears to be responsible for it.

And some more info on the filter I suggested:

  • || is a placeholder for http:// and https://
  • ^ is a placeholder for the end of the string or other separator characters
  • $ separates the match pattern from the filter options
  • domain=... limits the filter to only be active on that domain
  • script limits the filter to JavaScript resources

Source: https://adblockplus.org/filters

greiner
  • 586
  • 2
  • 11
  • They have a new ad on movie-blog.org - are you or someone else able to block it? It's double-annoying. At first it's a IFRAME pop up and if you close it, it opens the ad again as a blank browser window. i would block the hole site with NoScript, but then you aren't able to toggle down the links. – John Smith Nov 08 '16 at 18:17
  • Check this out for further blocking tips on movie-blog.org https://adblockplus.org/forum/viewtopic.php?f=1&t=49599 – John Smith Nov 09 '16 at 01:32
  • Great explanation! – SwiftMango Apr 12 '18 at 19:19