How to block http://creatives.livejasmin.com/iframes/.....
How to block http://creatives.livejasmin.com/iframes/.....
On many sites, e.g. torrent search sites...once you type anything into the search box, you would immediately get a pop up from http://creatives.livejasmin.com/iframes ... S&site=jsm.
I've implemented HOSTS file in my PC and hence I don't see the ads from http://creatives.livejasmin.com/iframes ... S&site=jsm, but I still got a blanl pop up page with "FireFox couldn't connect to the server....", which is correct cause I block it with my HOSTS file........ is it possible to even block the blank pop up at all with AB Plus/Element helper?
http://creatives.livejasmin.com/iframes ... S&site=jsm
http://*/live_ads.js
http://creatives.livejasmin.com/iframes/*
I have the above in my AB Plus, but they could not prevent the blank pop up!
Thanks for your help.
I've implemented HOSTS file in my PC and hence I don't see the ads from http://creatives.livejasmin.com/iframes ... S&site=jsm, but I still got a blanl pop up page with "FireFox couldn't connect to the server....", which is correct cause I block it with my HOSTS file........ is it possible to even block the blank pop up at all with AB Plus/Element helper?
http://creatives.livejasmin.com/iframes ... S&site=jsm
http://*/live_ads.js
http://creatives.livejasmin.com/iframes/*
I have the above in my AB Plus, but they could not prevent the blank pop up!
Thanks for your help.
Re: How to block http://creatives.livejasmin.com/iframes/.....
Can you give us an example site where those popups appear?
Re: How to block http://creatives.livejasmin.com/iframes/.....
Hi MonztA, http://www.puretna.com/ and most porn blogs
e.g. http://www.pornbb.org/search.php...
However, upon further reading "The Impossible Ad" forum/viewtopic.php?f=1&t=3986...I just tried out the http://userscripts.org/scripts/show/46929 and it works
!!! but you need to enter two entries for every site you want to block 1) http://*.name of site.com/* 2) http://name of site.com/*
// ==UserScript==
// @name ImageFap.com: disable pop-under.
// @namespace rowaasr13@gmail.com
// @description Disables pop-under window that opens after clicking anywhere on page.
// @include http://*.imagefap.com/*
// @include http://imagefap.com/*
// ==/UserScript==
For the above to work:
1) Install Greasemonkey
2) Install the http://userscripts.org/scripts/show/46929, doesn't matter about the ImageFap.com, just leave them as they are
3) Go to the site you want to block and open up Greasemonkey and manage rscrips and select ImageFap.com and select "Add" and add the name of the site you want to block and bingo
(e.g for www.puretna.com, just add http://*.puretna.com/* and http://puretna.com/*
I wonder if :
asdf wrote:There are multiple solutions.
Go into about:config and set the following preferenes:
Preference: dom.popup_allowed_events
Value: blank
Preference: dom.popup_maximum;0
Value: 0
Preference: privacy.popups.firstTime
Value: false
Preference: privacy.popups.policy
Value: 3
would solve all the pops for good? and any disadvantages of doing that?
Thanks and best regards.
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
However, upon further reading "The Impossible Ad" forum/viewtopic.php?f=1&t=3986...I just tried out the http://userscripts.org/scripts/show/46929 and it works
![Razz :P](./images/smilies/icon_razz.gif)
// ==UserScript==
// @name ImageFap.com: disable pop-under.
// @namespace rowaasr13@gmail.com
// @description Disables pop-under window that opens after clicking anywhere on page.
// @include http://*.imagefap.com/*
// @include http://imagefap.com/*
// ==/UserScript==
For the above to work:
1) Install Greasemonkey
2) Install the http://userscripts.org/scripts/show/46929, doesn't matter about the ImageFap.com, just leave them as they are
3) Go to the site you want to block and open up Greasemonkey and manage rscrips and select ImageFap.com and select "Add" and add the name of the site you want to block and bingo
![Very Happy :D](./images/smilies/icon_biggrin.gif)
I wonder if :
asdf wrote:There are multiple solutions.
Go into about:config and set the following preferenes:
Preference: dom.popup_allowed_events
Value: blank
Preference: dom.popup_maximum;0
Value: 0
Preference: privacy.popups.firstTime
Value: false
Preference: privacy.popups.policy
Value: 3
would solve all the pops for good? and any disadvantages of doing that?
Thanks and best regards.
Re: How to block http://creatives.livejasmin.com/iframes/.....
I've the following already in my HOSTS file:
# [Euroaccess][AS34305][85.12.0.0 - 85.12.63.255]
127.0.0.1 ads.guru3d.com
127.0.0.1 banner1.pornhost.com
# [Eurocolo][AS35230][83.143.168.0 - 83.143.175.255]
127.0.0.1 ad3.hornymatches.com
# [Eurohost][AS48841][91.212.65.0 - 91.212.65.255]
Could this be the reason why http://banner1.pornhost.com/* doesn't work for me? why is 127.0.0.1 banner1.pornhost.com in the HOSTS list in the 1st place anyway?
# [Euroaccess][AS34305][85.12.0.0 - 85.12.63.255]
127.0.0.1 ads.guru3d.com
127.0.0.1 banner1.pornhost.com
# [Eurocolo][AS35230][83.143.168.0 - 83.143.175.255]
127.0.0.1 ad3.hornymatches.com
# [Eurohost][AS48841][91.212.65.0 - 91.212.65.255]
Could this be the reason why http://banner1.pornhost.com/* doesn't work for me? why is 127.0.0.1 banner1.pornhost.com in the HOSTS list in the 1st place anyway?
Re: How to block http://creatives.livejasmin.com/iframes/.....
Fanboy's Adult / Dating list should deal with sites of this nature; you can subscribe to it by clicking on the appropriate link on http://www.fanboy.co.nz/adblock/.
Re: How to block http://creatives.livejasmin.com/iframes/.....
Thanks Michael
.
I already have EasyPrivacy + Easylist and Fanboy adblock and they are very good at blocking ads, but NOT popups/unders or pops that are triggered upon you clicking/entering anything on a web site.
I disabled the 127.0.0.1 banner1.pornhost.com in my HOSTS file but http://banner1.pornhost.com/* still doesn't work for me.....seems to me that the best solutions (at least for me) is to either 1)Greasemonkey + http://userscripts.org/scripts/show/46929 or 2) the one by asdf - Preference: dom.popup_allowed_events
Value: blank
Preference: dom.popup_maximum;0
Value: 0
Preference: privacy.popups.firstTime
Value: false
Preference: privacy.popups.policy
Value: 3
Best regards.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
I already have EasyPrivacy + Easylist and Fanboy adblock and they are very good at blocking ads, but NOT popups/unders or pops that are triggered upon you clicking/entering anything on a web site.
I disabled the 127.0.0.1 banner1.pornhost.com in my HOSTS file but http://banner1.pornhost.com/* still doesn't work for me.....seems to me that the best solutions (at least for me) is to either 1)Greasemonkey + http://userscripts.org/scripts/show/46929 or 2) the one by asdf - Preference: dom.popup_allowed_events
Value: blank
Preference: dom.popup_maximum;0
Value: 0
Preference: privacy.popups.firstTime
Value: false
Preference: privacy.popups.policy
Value: 3
Best regards.
Re: How to block http://creatives.livejasmin.com/iframes/.....
I'm pretty sure it doesn't deal with this issue. At least it don't on imagefap, I have his adult list and it doesn't solve it for that site.
PS Imagefap isn't just porn images.. so don't assume to much about me.![Wink ;)](./images/smilies/icon_wink.gif)
PS Imagefap isn't just porn images.. so don't assume to much about me.
![Wink ;)](./images/smilies/icon_wink.gif)
Re: How to block http://creatives.livejasmin.com/iframes/.....
I see this is one of the popUNDERs that appear at imagefap.com. the noscript extension has a popunder surrogate that satisfies what the site wants to hear as a response but prevents the popunder.
Create yourself a userscript with the following code if you do not want to use the noscript extension.
Create yourself a userscript with the following code if you do not want to use the noscript extension.
Code: Select all
// ==UserScript==
// @name disable pop-unders
// @namespace maone.net
// @description Disables pop-under window that opens after clicking anywhere on page
// @include *
// ==/UserScript==
var open=window.__proto__.open;window.__proto__.open=function(url, target, features){if(!(/^_(?:top|parent|self)$/i.test(target)||target in frames)){var suspSrc=false;/popunde?r|pu$/.test(target);var frame;for(var f,ev,aa=arguments;f=aa.callee.caller;){aa=f.arguments;ev=aa[0];if(!suspSrc) suspSrc=/(?:\bpopunde?r|\bfocus|\bblur|[pP]uShown)\b/.test(f.toSource());if(ev instanceof MouseEvent && ev.type=='click' && ev.currentTarget===document){if(suspSrc){frame = document.body.appendChild(document.createElement('iframe'));frame.src='data:text/html,';frame.style.display='none';window.setTimeout(function(){frame.parentNode.removeChild(frame);},1000);var w=frame.contentWindow;w.blur=function(){};return w;}}}}return open.apply(window, arguments);};
Re: How to block http://creatives.livejasmin.com/iframes/.....
Greasemonkey + http://userscripts.org/scripts/show/46929 works on imagefap 100%, no whatsoever pops!IceDogg wrote:I'm pretty sure it doesn't deal with this issue. At least it don't on imagefap, I have his adult list and it doesn't solve it for that site.
PS Imagefap isn't just porn images.. so don't assume to much about me.
Re: How to block http://creatives.livejasmin.com/iframes/.....
Negative, doesn't work here. I tried it and the code above, neither work. Maybe nightlies is different?Ben wrote:Greasemonkey + http://userscripts.org/scripts/show/46929 works on imagefap 100%, no whatsoever pops!IceDogg wrote:I'm pretty sure it doesn't deal with this issue. At least it don't on imagefap, I have his adult list and it doesn't solve it for that site.
PS Imagefap isn't just porn images.. so don't assume to much about me.
Edit: removed info, no longer needed. I found the reason. GreaseMonkey doesn't work on nightly builds right now. There is a fix, but I'm unable to get it working.
Re: How to block http://creatives.livejasmin.com/iframes/.....
I suspect adblock can only block elements, and not direct JavaScript which is what this pop-under seems to be using.
I edited the above linked Greasmonkey script a little so that it looks on every page for awePuShown variable, and if found, then it sets the cookie. This makes the blocker script work for every site that uses it, but does not create an unnecessary cookie on sites where it is not needed. This assumes that all the websites use the same variable name.
The code on the webpages that makes these annoying pop-unders, taken from the source code of http://www.imagefap.com/ :
I edited the above linked Greasmonkey script a little so that it looks on every page for awePuShown variable, and if found, then it sets the cookie. This makes the blocker script work for every site that uses it, but does not create an unnecessary cookie on sites where it is not needed. This assumes that all the websites use the same variable name.
Code: Select all
// ==UserScript==
// @namespace https://adblockplus.org/forum/viewtopic.php?f=1&t=5023
// @name LiveJasmin.com pop-under blocker
// @description Looks for known variable associated with LiveJasmine popunder on every page and if it's defined, it auto sets a the cookie that will prevent the pop-up. See namespace URL for more information. Adapted from http://userscripts.org/scripts/review/46929.
// ==/UserScript==
if(typeof(awePuShown) != "undefined") {
document.cookie='popundr=1; path=/; expires='+new Date(Date.now()+24*60*60*1000*356).toGMTString();
}
Code: Select all
<script type="text/javascript">
var awePuShown = false;
function aweDoOpen(url)
{
if ( awePuShown === true )
{
return true;
}
var aweWindow = window.open(url, "ljPu", "toolbar,status,resizable,scrollbars,menubar,location,height=800,width=860");
window.setTimeout(window.focus, 500 );
if ( aweWindow )
{
aweWindow.blur();
awePuShown = true;
}
return aweWindow;
}
function aweSetCookie(name, value, time)
{
var expires = new Date();
expires.setTime( expires.getTime() + time );
document.cookie = name + "=" + value + "; expires=" + expires.toGMTString() + "; path=/";
}
function aweGetCookie(name)
{
var cookies = document.cookie.toString().split('; ');
var cookie, c_name, c_value;
for (var n=0; n<cookies.length; n++)
{
cookie = cookies[n].split("=");
c_name = cookie[0];
c_value = cookie[1];
if ( c_name == name )
{
return c_value;
}
}
return null;
}
function aweCheckTarget(e)
{
var cookieValue = aweGetCookie("popundr");
var isRefDenied = aweCheckIsRefDenied();
if ( isRefDenied === true )
{
aweSetCookie("popundr", 1, 60*60*1000);
return ;
}
if ( cookieValue === null )
{
aweDoOpen("http://promo.awempire.com/tr/?id=99");
aweSetCookie("popundr", 1, 24*60*60*1000);
}
}
function aweCheckIsRefDenied()
{
return false;
}
function aweInitPu()
{
if ( document.attachEvent )
{
document.attachEvent( "onclick", aweCheckTarget );
}
else if ( document.addEventListener )
{
document.addEventListener( "click", aweCheckTarget, false );
}
}
aweInitPu();
</script>
Re: How to block http://creatives.livejasmin.com/iframes/.....
I'm using FF 3.6 RC1 and it's working!IceDogg wrote:Negative, doesn't work here. I tried it and the code above, neither work. Maybe nightlies is different?Ben wrote:Greasemonkey + http://userscripts.org/scripts/show/46929 works on imagefap 100%, no whatsoever pops!IceDogg wrote:I'm pretty sure it doesn't deal with this issue. At least it don't on imagefap, I have his adult list and it doesn't solve it for that site.
PS Imagefap isn't just porn images.. so don't assume to much about me.
Edit: removed info, no longer needed. I found the reason. GreaseMonkey doesn't work on nightly builds right now. There is a fix, but I'm unable to get it working.
// ==UserScript==
// @namespace forum/viewtopic.php?f=1&t=5023
// @name LiveJasmin.com pop-under blocker
// @description Looks for known variable associated with LiveJasmine popunder on every page and if it's defined, it auto sets a the cookie that will prevent the pop-up. See namespace URL for more information. Adapted from http://userscripts.org/scripts/review/46929.
// ==/UserScript==
AND
// ==UserScript==
// @name disable pop-unders
// @namespace maone.net
// @description Disables pop-under window that opens after clicking anywhere on page
// @include *
// ==/UserScript==
var open=window.__proto__.open;window.__proto__.open=function(url, target, features){if(!(/^_(?:top|parent|self)$/i.test(target)||target in frames)){var suspSrc=false;/popunde?r|pu$/.test(target);var frame;for(var f,ev,aa=arguments;f=aa.callee.caller;){aa=f.arguments;ev=aa[0];if(!suspSrc) suspSrc=/(?:\bpopunde?r|\bfocus|\bblur|[pP]uShown)\b/.test(f.toSource());if(ev instanceof MouseEvent && ev.type=='click' && ev.currentTarget===document){if(suspSrc){frame = document.body.appendChild(document.createElement('iframe'));frame.src='data:text/html,';frame.style.display='none';window.setTimeout(function(){frame.parentNode.removeChild(frame);},1000);var w=frame.contentWindow;w.blur=function(){};return w;}}}}return open.apply(window, arguments);};
both NOT working, you can test at this page http://www.pornlove.org/, click on any "Read more.....and click on any image (to enlarge)...however the original Greasemonkey + http://userscripts.org/scripts/show/46929 would work 100%!
Re: How to block http://creatives.livejasmin.com/iframes/.....
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20100111 Minefield/3.7a1pre - Build ID: 20100111043805Ben wrote:
I'm using FF 3.6 RC1 and it's working!
Sry if this has gotten off topic (that being ABP handling this).
Re: How to block http://creatives.livejasmin.com/iframes/.....
IceDogg wrote:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20100111 Minefield/3.7a1pre - Build ID: 20100111043805Ben wrote:
I'm using FF 3.6 RC1 and it's working!
Sry if this has gotten off topic (that being ABP handling this).
Hehe
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100105 Firefox/3.6...that's what I'm using now!