![]() ![]() |
Over the past week or so, I've noticed several news sites are using a similar pop-in that blocks (places a black shade over) the current page. You must click to bypass these annoying ads. I'm begging for a greasemonkey script to either block the action completely, or to auto 'click' the shade. Example sites:
Thanks in advance. |
![]() ![]() |
http://reason.com/blog:
http://www.truthout.org:
you could use stylish for that
|
![]() ![]() |
Sometimes a script isn't needed. When I encounter an ad - the first thing I do is use adblock plus and its element hiding helper. Adblock Plus
Adblock Plus: Element Hiding Helper
Rick752's EasyList Filters for Adblock Plus
Often you can block ads that pop up in your tab by using adblock plus and clicking around to create filters For reason.com adblock plus filters are: reason.com##DIV#donationdrive_popup_content reason.com##DIV#donationdrive_popup_overlay A good search term is "interstitial" - the technical phrase for "full page ad" etc. ---- In fact - this thread reminded me that the best way to block ads is before I even even see them. I'm going to experiment with these filters I just made: ##DIV[id*="popup"] ##DIV[id*="overlay"] Important - they may cause problems and/or need exceptions - I don't know because I've only used them for, literally, a minute. But I've never met a "popup" or "overlay" that I've liked. ---- disabling JS also works Disabling particular sites might limit some stuff - but you can't block all js. If you do then flash and a whole bunch of other stuff - links and whatever may not work. |
![]() ![]() |
Interesting idea with the adblock filters. So to block :
would this work? [code]
|
![]() ![]() |
This forum doesn't use BB code.
...var popunder=...I don't know what you're doing there. I decided that
##DIV[id*="popup"]is too powerful. I haven't had problems with this:
##DIV[id*="overlay"]but it also might end up being more trouble than it's worth Probably the easiest thing to do is block stuff after it comes up on a per site basis:
reason.com##DIV[id*=popup"]As for: ##DIV[id*="popunder"]Try it out. In the adblock window - top left corner "Filters" > Add filter And then in a few days (or weeks) check the "hits" column. I added this - I think about 6 months ago:
##DIV[id*="topjobs"]3481 hits |
![]() ![]() |
I was (am) trying to kill the popup on http://quicksilverscreen.com/videos?c=2 The ##DIV[id*="popunder"] didn't do it.... any tips are great :) |
![]() ![]() |
Not seeing anything. Using AdBlock Plus with a good subscription? |
![]() ![]() |
I tried it with...
<script type="text/javascript" language="javascript">
<!--
//specify page to pop-under
var popunder="http://download-vuze.com/?ref=qss"
//specify popunder window features
var parentW = "930"; // var parentW = screen.availWidth;
var parentH = "730"; //var parentH = screen.availHeight;
var winfeatures="width=" + parentW + ",height="+parentH+",scrollbars=1,resizable=1,toolbar=0,location=1,menubar=0,status=0,directories=0"
var isClicked = false;
function loadornot(){
if ( !isClicked ) {
isClicked = true;
loadpopunder()
}
}
function loadpopunder(){
win2=window.open(popunder,"",winfeatures)
win2.blur();
window.focus();
self.focus();
}
document.onclick = loadornot;
-->
</script>
I even tried IE - but the site only works with Firefox! I have my js settings to only allow a pop up if I click something. Maybe you need to play around with what permissions you give js. ___________
I just had an idea. Maybe this would work for you - try it: |http://download-vuze.com/?ref=* |
![]() ![]() |
Hey ekbworldwide, Did you try to click forward to the next page? At the bottom the pages are numbered, 2, 3, etc... That's what should trigger the popup. I'm still getting it with adblock, with that filter you provided, and with a filter subscription :( Try going through a few pages (3-5 or so). I'm also blocking all cookies. Would that have an effect? |
![]() ![]() |
That's what should trigger the popup Ah ha! You never said "Click page 2." :) I'm sure there's a better way to do it than this - if somebody gives better code - use theirs. That said - here's my effort: if (unsafeWindow.loadornot) unsafeWindow.loadornot = ""; if (unsafeWindow.loadpopunder) unsafeWindow.loadpopunder = ""; See that javascript code I posted before. It makes the loadornot and loadpopunder functions empty. I tested it and it works. I'm also blocking all cookies. Would that have an effect? Sometimes sites force cookies "Please enable cookies to fully experience our site yada yada yada". Cookies don't seem to be involved at all here. You may want to check out AutoPager. AutoPager
It can auto-paginate sites. So you can scroll instead of click, click, click, clicking. Scrolling is far better. |
![]() ![]() |
First, let me thank you for sticking with this, but I'm still lost. I put the code you provided into a simple greasemonkey script but still get the popup. Was that supposed to go elsewhere? [code]
|
![]() ![]() |
Hmmm... With = adblock plus disabled
I just tested this: // ==UserScript== // @name quicksilverscreen.com - block ad pop up // @namespace ekbworldwide // @include http://quicksilverscreen.com/* // ==/UserScript== if (unsafeWindow.loadornot) unsafeWindow.loadornot = ""; if (unsafeWindow.loadpopunder) unsafeWindow.loadpopunder = ""; And the code seems to be exactly the same as what you posted. It works for me. ___________
I noticed that you have a unix icon and I'm using vista. Maybe that has something to do with it. |


