Page 1 of 6

NSFW pornhub.com

Posted: Thu May 05, 2016 2:42 pm
by LoreJon
How do I block the popunder in http://www.pornhub.com/ ?

Thanks.

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 2:59 pm
by WarFame
Which adblocker are you using? It's blocked here (using uBlock Origin).
If using ABP see here (found with a simple search by the way): viewtopic.php?p=82741#p82741

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 4:19 pm
by LoreJon
Hi WarFame,

I've switched from uBO back to ABP.
Can't I block that popunder without installing firebug?

Thank you.

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 5:29 pm
by WarFame
LoreJon wrote:Can't I block that popunder without installing firebug?
No, with ABP that's not possible AFAIK. And this issue has been open for over a year now so don't wait for it to get fixed.

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 8:00 pm
by LoreJon
Thank you.

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 8:04 pm
by LoreJon
This works in xHamster. Why shouldn't a similar filter work pornhub?

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 8:13 pm
by WarFame
Because Pornhub uses inline scripting which is different from xHamster's approach.
Similar case: viewtopic.php?p=92085#p92085
Also xHamster keeps changing file names to circumvent the block and my prediction is that earlier or later they will go the same way that Pornhub goes.

Re: NSFW pornhub.com

Posted: Thu May 05, 2016 8:20 pm
by LoreJon
OK. Thanks again.

Re: NSFW pornhub.com

Posted: Fri Jun 17, 2016 6:21 pm
by intense

Re: NSFW pornhub.com

Posted: Thu Jun 30, 2016 8:33 pm
by LoreJon
Hi,

New annoying vids in http://www.pornhub.com/.

Thanks.

Re: NSFW pornhub.com

Posted: Thu Jun 30, 2016 9:05 pm
by intense

Code: Select all

pornhub.com##DIV[onclick*="/ad_id="]
pornhub.com##.removeAdLink.removeAdsStyle
pornhub.com##A[href*="abbp1.pw"]
pornhub.com##.float-right
pornhub.com##DIV > FIGURE + FIGURE

Re: NSFW pornhub.com

Posted: Thu Jun 30, 2016 10:19 pm
by LoreJon
Still there.

Thanks.

Re: NSFW pornhub.com

Posted: Thu Jun 30, 2016 10:34 pm
by intense
add also

Code: Select all

pornhub.com##FIGURE:first-child > [style="display: block;"]
pornhub.com##DIV[style="width: 300px; height: 250px;"]
pornhub.com##DIV[style="width: 315px; height: 300px;"]

Re: NSFW pornhub.com

Posted: Thu Jun 30, 2016 11:28 pm
by LoreJon
Those work.
Most Recent etc. is gone too.
Image

Thanks

Re: NSFW pornhub.com

Posted: Sun Jul 03, 2016 10:51 pm
by LoreJon
Again popunders and vids.
Thanks.

Re: NSFW pornhub.com

Posted: Mon Jul 11, 2016 5:59 am
by bcz
This was how I had to format the filter to get it to work...

Code: Select all

pornhub.com##DIV[style*="width: 315px"][style*="height: 300px"]

Re: NSFW pornhub.com

Posted: Mon Jul 11, 2016 8:25 am
by pscott
intense wrote:add also

Code: Select all

pornhub.com##FIGURE:first-child > [style="display: block;"]
pornhub.com##DIV[style="width: 300px; height: 250px;"]
pornhub.com##DIV[style="width: 315px; height: 300px;"]
This doesn't work for the current crop of ads.

Newbie here, so forgive me if this is too basic. I have looked at the documentation and I don't see anything that I recognize as a solution to this.

Pornhub has come up with a trick for getting around Ad Block Plus. They're putting up code with the following form: http://pastebin.com/raw/3mhM0pkU

STRING is a sequence that seems to be randomly generated - at any rate it's different for every ad. A sample string would be go1g5baegd9u4847eh31468127654286

This is followed by a script of the form

Code: Select all

<script>
page_params.zoneDetails['go1g5baegd9u4847eh3'] = {
'tags' : '[TAG LIST]',
'categories' : '[CATEGORY LIST]',
'pornstars' : '',
'height' : '300',
'width' : '315',
'zoneId' : '6',
'special' : ''
};
</script>
Note that page_params.zoneDetails is the first several characters of STRING.

This code produces an ad that ABP does not block automatically. It is possible to block each ad individually, however the "Block this element" function is missing from the right-click menu. The only way to block these ads is to click the ABP icon on the toolbar, select "Block Element," then click the ad and click "Add" in the dialog box that opens. Doing so adds a single filter to your filter list, of the form:

Code: Select all

pornhub.com###[STRING]
This has to be done for every single ad, and the resulting filter affects only that individual ad, not even another example of the same ad.

Is it possible to write a filter that will block these annoyances?

Re: NSFW pornhub.com

Posted: Mon Jul 11, 2016 4:06 pm
by LoreJon
uBO blocks the ads and popups.
Add the uBlock Filters list.

Re: NSFW pornhub.com

Posted: Tue Jul 12, 2016 6:02 pm
by pscott
Where is the uBlock Filters list?

Re: NSFW pornhub.com

Posted: Tue Jul 12, 2016 6:21 pm
by gorhill
Don't import uBlock filters list in ABP, this won't work -- there are filters which syntax is specific to uBO in there.

What work is to block yet-another 3rd-party server from which the ads are pulled:

Code: Select all

||00zasdf.pw^

Re: NSFW pornhub.com

Posted: Tue Jul 12, 2016 6:28 pm
by -Mark-
For pornhub, block all the domains except pornub and phcdn.com and you won't see any ads.

Code: Select all

*$domain=gaytube.com|pornhub.com|redtube.com|tube8.com|tube8.es|tube8.fr|xtube.com|youjizz.com|youporn.com|youporngay.com$third-party
||cdn.engine.*.doublepimp.com^$domain=gaytube.com|pornhub.com|redtube.com|tube8.com|tube8.es|tube8.fr|xtube.com|youjizz.com|youporn.com|youporngay.com
zone_id$domain=pornhub.com|redtube.com|redtube.com.br|tube8.com|tube8.es|tube8.fr|youporn.com|youporngay.com$third-party,subdocument
||trafficjunky.net^$third-party
pornhub.com###welcome

Re: NSFW pornhub.com

Posted: Wed Jul 20, 2016 12:21 am
by pscott
Mark, I pasted your code directly into the ABP filter list, but after reloading pages I'm still seeing the ads that I mentioned upthread. No change that I can see.

I pasted your code as a block. Does it need to be entered as individual filters?

Re: NSFW pornhub.com

Posted: Thu Jul 21, 2016 11:02 am
by IsraeliAdblocker
why not just blocking everything out from pornhub? every third-party.

Re: NSFW pornhub.com

Posted: Thu Jul 21, 2016 7:30 pm
by affe42
If you use uBlockOrigin and want to get rid of websocketbased ads, you need to install the companion extension "uBlockOrigin WebSocket". It's available at Chrome's Extension Store and also works with compatible browsers (Opera / Vivaldi).

Seems to be doing the trick, no ads at *hub network anymore. :D

Re: NSFW pornhub.com

Posted: Thu Jul 21, 2016 9:31 pm
by LoreJon
Firefox.
If you use uBlockOrigin, you only have to add the uBlock Filters list.

Re: NSFW pornhub.com

Posted: Thu Jul 21, 2016 9:37 pm
by -Mark-
affe42 wrote:If you use uBlockOrigin and want to get rid of websocketbased ads, you need to install the companion extension "uBlockOrigin WebSocket". It's available at Chrome's Extension Store and also works with compatible browsers (Opera / Vivaldi).

Seems to be doing the trick, no ads at *hub network anymore. :D
That companion extension will only make uBO *websocket aware*, it won't block it or do anything else. You will still have create a filter for it block by default or subscribe to a filter list.

For websockets, I use ||*$websocket, that will block all websocket connections by default. Unfortunately, I only have seen websites using websockets for serving ads and not for any worthy purpose so far and they keep changing domains, so we have to play their cat and mouse game, hence this filter takes care of that, for any good websites out there which don't use websockets for serving ads, I would only have make an exception, which I highly doubt will happen any time soon.

Re: NSFW pornhub.com

Posted: Fri Aug 26, 2016 2:29 pm
by LoreJon
I get the AdBlock remove line with uBO but not with ABP. Why is that?

Image

Thanks.

NSFW pornhub.com

Posted: Sat Aug 27, 2016 7:18 am
by fkwebsockets
Go to pornhub.com via Chrome and this happens - https://i.gyazo.com/1586c6bae2789070997ffa0349460da0.png

Moreever, there's another on the bottom end of the page and one on any video you play. That's not all, it's no longer detected by uBO with its companion extension uBO-WebSocket!!

Good news is this is happening on Chromium based browsers and not on Firefox and it's derivatives.

Gotta patch this shit, if this continues, all other websites will be motivated to begin inflicting ads via this technique!

Re: NSFW pornhub.com

Posted: Sat Aug 27, 2016 7:43 am
by intense
about how pornhub injects their crap again:
https://issues.adblockplus.org/ticket/4372#comment:6

Re: NSFW pornhub.com

Posted: Sun Aug 28, 2016 7:03 pm
by Antsa
When all ads is blocked on Pornhub? I still seed ads on there. And other porn sites i can still seed ads 2 so Pornhub is not only 1.