[RESOLVED] The Impossible Script Ad

Ask for help about NoScript, no registration needed to post
a guest

[RESOLVED] The Impossible Script Ad

Post by a guest »

I think I may have found an Script/Ad that seems impossible to block. The site in question is: Im@gef@p dot com. A click anywhere on the pages of this site and another window (popunder) will open with this Ad:
(PORN SITE) hxxp://creatives.livejasmin.com/iframes/i/im/imagefap/imagefap.html
Now obviously, one can just install NoScript or disable Javascript, but in order to see the full size images on the website, Javascript has to be allowed. There just doesn't seem to be anyway around this. Any ideas?
Last edited by Tom T. on Mon May 25, 2009 11:30 pm, edited 2 times in total.
Reason: Added explicit "PORN SITE" warning
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: The Impossible Script Ad

Post by Alan Baxter »

You got quite a few responses when you asked about this in the Adblock Plus forum. http://adblockplus.org/forum/viewtopic.php?t=3986
There's nothing wrong with you asking about it here too, but I want to give everyone else the benefit of the other discussion as well. This sounds similar to issues discussed recently in the MozillaZine forums, popup related bug at mlb.com?, and elsewhere in the NoScript forums, noscript breaks popupblocker for leftclick on first focus

I'm afraid I don't have any additional suggestions for you. Good luck!

BTW, registered forum members can see you're posting with Internet Explorer. Are you a Firefox/NoScript user, or is this just a general popup/popunder/javascript question?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: The Impossible Script Ad

Post by Tom T. »

Oh, the things a researche must do in the name of science! :ugeek:
Went there and got a full-size view of one model's home-page pic without issue. Tried clicking others, viewing their galleries, etc. It wasn't until I tried to full-screen a gallery shot that temp-allowing the domain's script was required. I left everything else blocked, incl. flash objects, etc. Yes, it opens a window and tries to connect to promo.awempire.com. It could not, because that site is automatically blocked in my HOSTS file. I can point you to that service if you like.

In the meantime, full-screen images were available. Keep opening NS menu and add everything that shows to the "untrusted" list, especially 77.247.179.152, but also adbrite.com, etc. -- everything except the im@gef@p. After doing this, I could full-screen the images and not get the pop-up window.

It's a dirty, rotten job, but *somebody's* gotta do it... :shock: :lol:

Edit: Adblock Original shows a blocked iFrame subdocument. It blocks all that type of stuff by default, without any user action. I like it and always use it.
Last edited by Tom T. on Mon May 25, 2009 11:32 pm, edited 1 time in total.
Reason: metioned use of adblock
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US at an expert level; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 diehard
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [RESOLVED] The Impossible Script Ad

Post by Giorgio Maone »

From http://forums.mozillazine.org/viewtopic ... 0#p5681105
Giorgio Maone wrote: looks like a great use case for Script Surrogates at the page level.
Please create the two following about:config string preferences:
noscript.surrogate.fap.sources = @*.imagefap.com *.moviefap.com
noscript.surrogate.fap.replacement = window.initPu=function(){};window.load_pop_power=window.initPu;
[EDIT]:
Tested and updated (the one above was 4 months old):
noscript.surrogate.fap.sources = @*.imagefap.com imagefap.com *.moviefap.com moviefap.com
noscript.surrogate.fap.replacement = window.puShown getter = window.puShown setter = function() { return true };
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [RESOLVED] The Impossible Script Ad

Post by GµårÐïåñ »

Is this going to be integrated from this point forward along with the other surrogates we have?
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: [RESOLVED] The Impossible Script Ad

Post by Tom T. »

And is the OP going to switch to Fx/NS permanently now? :D
Thanks for the higher-tech solution, Giorgio.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US at an expert level; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 diehard
Guest

Re: [RESOLVED] The Impossible Script Ad

Post by Guest »

Giorgio Maone wrote:From http://forums.mozillazine.org/viewtopic ... 0#p5681105
Giorgio Maone wrote: looks like a great use case for Script Surrogates at the page level.
Please create the two following about:config string preferences:
noscript.surrogate.fap.sources = @*.imagefap.com *.moviefap.com
noscript.surrogate.fap.replacement = window.initPu=function(){};window.load_pop_power=window.initPu;
[EDIT]:
Tested and updated (the one above was 4 months old):
noscript.surrogate.fap.sources = @*.imagefap.com imagefap.com *.moviefap.com moviefap.com
noscript.surrogate.fap.replacement = window.puShown getter = window.puShown setter = function() { return true };
Quick question. I've read this thread (and the other at AdBlock Plus) as well as the hackademix.net post regarding Surrogate scripts in general. I've noticed that there already seems to be a few of these in my about:config including one for fap, one for ga, one for qs, and one for yieldman.

My question is, if I am looking to add one for another site, is there a required string for the entry in the 3rd position? That is noscript.surrogate.WHATGOESHERE.sources (and replacement.) It seems as though the ga would be for the ga.js or whatever that gets called, but I'm doing a view source and I don't see the name of the script being used.

Or am I barking up the wrong tree?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Guest

Re: [RESOLVED] The Impossible Script Ad

Post by Guest »

Upon further inspection, it appears that the same bit of code was being used on the other site. This is apparently, semi-generic ad code for Adult Fr1end F1nder which ironically appears on a lot more than just porn sites. I was able to block it by adding the new site to the .fap.sources value which solves my immediate problem and seems to maybe answer my question.

If a new site can be added to the .fap entries, then it suggests that the .fap. part of the entry is nothing more than a label. Correct?

Theoretically then any time I wanted to block a specific instance of javascript sneakiness I can use this function and choose whatever I want for the label. Is there a size limitation to this where things will start to parse too slowly or is this the kind of thing that is rare enough we likely won't ever get to that issue?

Thanks again.

P.S. If there is documentation on this feature, point the way and I'll stop posting :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [RESOLVED] The Impossible Script Ad

Post by Giorgio Maone »

Guest wrote:If a new site can be added to the .fap entries, then it suggests that the .fap. part of the entry is nothing more than a label. Correct?
Yes, it's correct.
Guest wrote:Theoretically then any time I wanted to block a specific instance of javascript sneakiness I can use this function and choose whatever I want for the label. Is there a size limitation to this where things will start to parse too slowly or is this the kind of thing that is rare enough we likely won't ever get to that issue?
As long as you manage to keep the number of preference entries relatively small (i.e. < 100), you shouldn't notice any impact, as each "sources" entry, even if containing multiple patterns, gets compiled to one single regular expression.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
markjayandres

Re: [RESOLVED] The Impossible Script Ad

Post by markjayandres »

hello !!! GEORGIO MAONE !!!


Is there a size limitation to this where things will start to parse too slowly or is this the kind of thing that is rare enough we likely won't ever get to that issue?

"""" TNX IN ADVANCE & GOD BLESS """
[EDIT by Giorgio Maone]
Removed spammy link
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [RESOLVED] The Impossible Script Ad

Post by Giorgio Maone »

markjayandres wrote:Is there a size limitation to this where things will start to parse too slowly or is this the kind of thing that is rare enough we likely won't ever get to that issue?
No need to worry. And no spam, please.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Link

Re: [RESOLVED] The Impossible Script Ad

Post by Link »

I don't know javascript but I tried my hand at making a surrogate for a few hours; no luck. Any chance someone could help? pornhub . com has a popunder that behaves as OP described: click anywhere and a newtab will open. In my setup it actually opens and focuses to an about:blank tab and the original page tries to redirect to exogripper . com but requestpolicy stops it. Right clicking the page causes firefox to block a popup successfully.

Any suggestions?
Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; rv:11.0) like Gecko
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: [RESOLVED] The Impossible Script Ad

Post by Thrawn »

What is the reason you need to allow scripts on this domain?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [RESOLVED] The Impossible Script Ad

Post by therube »

Looks like you need

+phncdn.com
+pornhub.com

for the clips to play.

(I only got one popup & then couldn't seem to force another by opening other clips.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29.1
Link

Re: [RESOLVED] The Impossible Script Ad

Post by Link »

therube wrote:Looks like you need

+phncdn.com
+pornhub.com

for the clips to play.

(I only got one popup & then couldn't seem to force another by opening other clips.)
Yes, the first time you click anywhere on any page there will be a popup- so when navigating the site you will experience many of these. This exact behavior is actually happening on many more pornsites, and adblockplus w/ popup addon does not block it. Seems like it's time for a new standard surrogate script?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Post Reply