NSFW pornhub.com

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

NSFW pornhub.com

Post by LoreJon »

How do I block the popunder in http://www.pornhub.com/ ?

Thanks.
WarFame
Postaholic
Postaholic
Posts: 713
Joined: Fri Nov 27, 2015 1:35 pm

Post 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
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Hi WarFame,

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

Thank you.
WarFame
Postaholic
Postaholic
Posts: 713
Joined: Fri Nov 27, 2015 1:35 pm

Post 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.
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Thank you.
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

This works in xHamster. Why shouldn't a similar filter work pornhub?
WarFame
Postaholic
Postaholic
Posts: 713
Joined: Fri Nov 27, 2015 1:35 pm

Post 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.
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

OK. Thanks again.
intense
Contributor
Contributor
Posts: 10497
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Hi,

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

Thanks.
intense
Contributor
Contributor
Posts: 10497
Joined: Wed Mar 27, 2013 9:56 am

Post 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
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Still there.

Thanks.
intense
Contributor
Contributor
Posts: 10497
Joined: Wed Mar 27, 2013 9:56 am

Post 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;"]
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Those work.
Most Recent etc. is gone too.
Image

Thanks
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Again popunders and vids.
Thanks.
bcz
New Member
New Member
Posts: 1
Joined: Mon Jul 11, 2016 5:56 am

Post 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"]
pscott
New Member
New Member
Posts: 3
Joined: Mon Jul 11, 2016 8:21 am

Post 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?
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

uBO blocks the ads and popups.
Add the uBlock Filters list.
pscott
New Member
New Member
Posts: 3
Joined: Mon Jul 11, 2016 8:21 am

Post by pscott »

Where is the uBlock Filters list?
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post 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^
-Mark-
Postaholic
Postaholic
Posts: 382
Joined: Tue Jul 05, 2016 7:46 pm

Post 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
pscott
New Member
New Member
Posts: 3
Joined: Mon Jul 11, 2016 8:21 am

Post 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?
IsraeliAdblocker
HebrewList Author
HebrewList Author
Posts: 31
Joined: Thu Jul 21, 2016 10:59 am

Post by IsraeliAdblocker »

why not just blocking everything out from pornhub? every third-party.
affe42
New Member
New Member
Posts: 1
Joined: Thu Jul 21, 2016 7:22 pm

Post 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
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

Firefox.
If you use uBlockOrigin, you only have to add the uBlock Filters list.
-Mark-
Postaholic
Postaholic
Posts: 382
Joined: Tue Jul 05, 2016 7:46 pm

Post 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.
LoreJon
Senior Member
Senior Member
Posts: 77
Joined: Mon Nov 30, 2015 8:57 pm

Post by LoreJon »

I get the AdBlock remove line with uBO but not with ABP. Why is that?

Image

Thanks.
fkwebsockets
Guest

Post 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!
intense
Contributor
Contributor
Posts: 10497
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

about how pornhub injects their crap again:
https://issues.adblockplus.org/ticket/4372#comment:6
Antsa
Forum Junkie
Forum Junkie
Posts: 108
Joined: Sat May 14, 2016 12:04 pm
Location: Finland

Post 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.
Locked