NSFW pornhub.com

This is where you should report issues arising from the subscription filters.

Moderator: EasyList Authors


papadoc
Senior Member
Senior Member
Posts: 78
Joined: Sat Nov 01, 2014 11:41 am
Reputation: 0

Post by papadoc » Sat Feb 03, 2018 2:54 pm

How do I whitelist data-images blocked by a csp filter?

Code: Select all

*$csp=script-src 'self' * data: 'unsafe-inline' 'unsafe-eval',domain=pornhub.com|xhamster.com|youporn.com
I'm guessing it's that one, but it's definitely a filter. I'm using the mobile version, and it actually blocks the data-images for Chrome's native html5 player (the pause/play/mute/fullscreen buttons). Also blocks the arrow data-images in my custom scrollbars. Just looking to whitelist data-images if possible.

intense
Contributor
Contributor
Posts: 7702
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 109

Post by intense » Sat Feb 03, 2018 3:08 pm

Where did you see that filter ? adblocker ? provide an example page with blocked images .

papadoc
Senior Member
Senior Member
Posts: 78
Joined: Sat Nov 01, 2014 11:41 am
Reputation: 0

Post by papadoc » Sun Feb 04, 2018 2:12 am

It's any video page if you're using the mobile layout. I often switch the UA string for some sites because the native player tends to be more efficient than other "sophisticated" html5 players. Sometimes pages are lighter and load better, and the general layouts are nicer and ads are less designed to be tamper proof.

Anyway, some filter is blocking data-images regardless. In the regular layout, it blocks my custom scrollbar arrows, but in the tablet layout, it blocks all the button images of the native player. The site doesn't switch URLs for different layouts, it switches dynamically. You can test with almost any UA switcher, but I use "User Agent Switcher, URL sniffer". The site stores a layout cookie, so site data needs to be cleared when you switch. They have 2 different tablet/phone layouts, so use a tablet UA like iPAD.

Blocked native player/scrollbar arrow data-images: https://i.imgur.com/JqtC7Tt.png
Console: https://i.imgur.com/rN9LHn6.png
The filter I assume is the culprit. I can't really test, because I can't figure out how to circumvent it: https://i.imgur.com/nLdvem1.png

Some filter is blocking data-images, because if I disable Ublock, they aren't blocked. I don't see the specific " img-src 'self' " rule, but I'm guessing it's a byproduct of the csp filter, IDK.

intense
Contributor
Contributor
Posts: 7702
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 109

Post by intense » Sun Feb 04, 2018 8:03 am

However, the filter should be (and then rewritten by uBo as a $csp filter)

Code: Select all

|blob:$script,domain=pornhub.com|xhamster.com|youporn.com
to add an exception:

Code: Select all

@@|blob:$script,domain=pornhub.com

papadoc
Senior Member
Senior Member
Posts: 78
Joined: Sat Nov 01, 2014 11:41 am
Reputation: 0

Post by papadoc » Mon Feb 05, 2018 11:51 pm

Nah, it doesn't work, but I appreciate the help. I guess UBo is doing too much.

intense
Contributor
Contributor
Posts: 7702
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 109

Post by intense » Tue Feb 06, 2018 7:02 am

@papadoc what if

Code: Select all

@@*$csp=script-src 'self' * data: 'unsafe-inline' 'unsafe-eval',domain=pornhub.com

papadoc
Senior Member
Senior Member
Posts: 78
Joined: Sat Nov 01, 2014 11:41 am
Reputation: 0

Post by papadoc » Thu Feb 08, 2018 7:17 am

Nope. Not being familiar with the filter, that's the first thing I tried. No dice. IDK if there is a way to negate it. I hardly ever use the site, so it's NBD. I've already wasted more time than it's worth to me just out of curiosity.

pizza
Forum Junkie
Forum Junkie
Posts: 179
Joined: Sun Jul 09, 2017 7:09 pm
Reputation: 0

Post by pizza » Thu Mar 22, 2018 4:59 pm

what happened with the ads on this site?? I'm using ABP in chrome and show ads..

Code: Select all

pornhub.com#?#div[style^="cursor: pointer; display: inline-block !important;"]
pornhub.com#?#div[style^="display: block !important;"]
These filters take away the ads of this NSFW site. :roll:

My ABP Filters lists:
https://i.imgur.com/gvGbWF3.png

intense
Contributor
Contributor
Posts: 7702
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 109

Post by intense » Thu Mar 22, 2018 6:38 pm

@pizza, for porn sites you better use uBo.

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Mon Mar 26, 2018 2:57 am

Code: Select all

https://www.pornhub.com/premiumplaces
Can you whitelist the https://maps.googleapis.com/maps/api/js
thanks!

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Thu Apr 12, 2018 4:14 am

https://www.pornhub.com/recommended/taste is broken because of
https://ci.phncdn.com/www-static/js/recommended-taste.js being blocked.

and on search pages https://www.pornhub.com/video/search?search=sex the category filtering is hidden because of
https://ci.phncdn.com/www-static/js/searchFilter.js being blocked too.

thank you

Frankyboy
New Member
New Member
Posts: 1
Joined: Sun Apr 22, 2018 7:25 am
Reputation: 0

Post by Frankyboy » Sun Apr 22, 2018 7:30 am

Player currently badly broken, misses half its elements. I'd guess this is a result of these values:

Code: Select all

pornhub.com###player + [id][class]
pornhub.com###player + div + div[style]
pornhub.com###player + div[style]
pornhub.com##.video-wrapper > #player + [class]
all of which are _way_ too generic (not to mention kinda redundant).

What you probably actually want to block is

Code: Select all

#player > #pb_template
(which is the actual overlay ad)

PS: Oh, you are also blocking the "show more" / "show less" button in the video description, and I got this rule in my exception list since ages to un-break the "load more" in the user feed:

Code: Select all

@@||www.pornhub.com/feeds_ajax

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9901
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Sun Apr 22, 2018 10:51 am

Considering pornhub.com##iframe block.

https://github.com/easylist/easylist/co ... 81687c3c80

Done.

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Mon Apr 23, 2018 2:26 am

Hey

You didn't fix the fact that no one with adblock can go fullscreen or adjust volume. The whole site isn't working.
You also just broke at least 10 pages that have iframes, like our support form captcha https://www.pornhub.com/support. I won't know what is broken on adblock if they can't even submit bugs.

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9901
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Mon Apr 23, 2018 9:02 am

I do wish we removed the pornhub filters one day.

https://github.com/easylist/easylist/co ... 38f40e8702

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Mon Apr 23, 2018 3:16 pm

Thank you, but please revert e8eda1795 or whitelist content you're blocking in iframes. We use captchas on nearly all forms as well as for spam/bot control. As well as youtube embeds on pages like https://www.pornhub.com/sex/

Also

Code: Select all

https://www.pornhub.com/content-removal
https://di.phncdn.com/www-static/js/content-removal.js

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9901
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Mon Apr 23, 2018 8:58 pm

Stop embedding ad iframes.

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Fri May 04, 2018 3:38 pm

You broke Pornhub again. https://github.com/easylist/easylist/co ... 2ee55c69b1
Every user is getting a black screen with no controls on the player when a pre-roll plays and there is no way to watch a video after that. Can you at least try the main functionality before committing these changes constantly that break the site for adblock? It's fine you're blocking ads but you're taking out main functionality with it. It's constantly happening with every commit you make.

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 13161
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 129
Location: EasyList Forum

Post by smed79 » Fri May 04, 2018 3:51 pm

@phub Don't use the whitelist filters to push your ads.
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »
•••► Use vgy.me, imgur.com or cubeupload.com to upload your screenshots

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Fri May 04, 2018 3:55 pm

smed79 wrote:
Fri May 04, 2018 3:51 pm
@phub Don't use the whitelist filters to push your ads.
How is that related? We haven't used whitelist filters to push ads in at least 2 years.

User avatar
Lanik
Site Owner
Site Owner
Posts: 1470
Joined: Thu Feb 15, 2007 7:44 am
Reputation: 25
Location: /dev/null

Post by Lanik » Fri May 04, 2018 4:04 pm

Seriously?: https://github.com/easylist/easylist/issues/1099

This is like a revolving door. You bitch and moan that shit is blocked fanboy whitelists it and you start shoving ads down. Yup 2 years alright. :roll:
"If it ain't broke don't fix it."

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 13161
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 129
Location: EasyList Forum

Post by smed79 » Fri May 04, 2018 4:09 pm

phub wrote:We haven't used whitelist filters to push ads in at least 2 years.
ads
http://evtubescms.phncdn.com/ads_videos/352/mp4_720.mp4

filter
@@||phncdn.com^$image,media,object-subrequest,other,domain=pornhub.com
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »
•••► Use vgy.me, imgur.com or cubeupload.com to upload your screenshots

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Fri May 04, 2018 4:12 pm

We've always served pre-roll ads from phncdn.com, way before it was whitelisted (it's our cdn..). We only sporadically run pre-rolls which is probably why there was never a specific rule to block them.
I don't care if you blocks them, I just don't want you to break the site for adblock users.

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 13161
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 129
Location: EasyList Forum

Post by smed79 » Fri May 04, 2018 4:22 pm

phub wrote:We've always served pre-roll ads from phncdn.com
Don't use your cdn as an ad server.
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »
•••► Use vgy.me, imgur.com or cubeupload.com to upload your screenshots

User avatar
Lanik
Site Owner
Site Owner
Posts: 1470
Joined: Thu Feb 15, 2007 7:44 am
Reputation: 25
Location: /dev/null

Post by Lanik » Fri May 04, 2018 4:36 pm

phub wrote:
Fri May 04, 2018 4:12 pm
We've always served pre-roll ads from phncdn.com...
And then you ask why things get blocked. Yup no reason what-so-ever. :roll:

I get it you run a business and this is a cat and mouse game to you but at least you can own up to your BS instead of playing this "why do you pick on me?" game. But hey I like this game, it's a lot of fun, so let the show go on.
"If it ain't broke don't fix it."

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9901
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Sat May 05, 2018 5:39 am

phub, don't serve ads from your domains. Basically taken advantage of a whitelist to serve ads is a no-go. Thus $media switch was removed.

phub
Forum Junkie
Forum Junkie
Posts: 120
Joined: Fri Jun 06, 2014 7:44 pm
Reputation: 0

Post by phub » Sat May 05, 2018 5:52 pm

fanboy wrote:
Sat May 05, 2018 5:39 am
phub, don't serve ads from your domains. Basically taken advantage of a whitelist to serve ads is a no-go. Thus $media switch was removed.
Have always have served pre-roll ads from phncdn, for 5+ years. It's not bypassing a whitelist if you added the whitelist years after we were serving pre-roll ads like that. Don't add whitelists that whitelist ads next time? My developers aren't going to change the whole delivery just to avoid a whitelist that you added years later.
The issue is fixed on our end, we're detecting adblock users and not showing the preroll ad so they videos play fine now.
Lanik wrote:
Fri May 04, 2018 4:36 pm
And then you ask why things get blocked. Yup no reason what-so-ever.

I get it you run a business and this is a cat and mouse game to you but at least you can own up to your BS instead of playing this "why do you pick on me?" game. But hey I like this game, it's a lot of fun, so let the show go on.
I'm not asking why the AD got blocked. I'm asking why fanboy once again broke Pornhub for adblock users. I couldn't care less if the ad is blocked, I won't want Pornhub broken. The only cat and mouse is Easylist authors breaking Pornhub and my developers having to fix the issues.
smed79 wrote:
Fri May 04, 2018 4:22 pm
Don't use your cdn as an ad server.
Ad server? What? "Don't use your CDN to serve videos" OK sure smed, I'll go out and change cdn servers just for you.

Are comments from @Lanik and @smed79 as well as a ban for no reason really necessary? I'm trying to communicate issues to the Easylist authors, you both add nothing to the discussion and make it more difficult to fix issues.

https://i.imgur.com/MKMMMoq.png

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9901
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 20

Post by fanboy » Sat May 05, 2018 9:48 pm

I'm not asking why the AD got blocked. I'm asking why fanboy once again broke Pornhub for adblock users. I couldn't care less if the ad is blocked, I won't want Pornhub broken. The only cat and mouse is Easylist authors breaking Pornhub and my developers having to fix the issues.
I "broke" it because your preroll ads were being served from the same domain/cdn. Which was reported, and fixed.
Ad server? What? "Don't use your CDN to serve videos" OK sure smed, I'll go out and change cdn servers just for you.
This isn't just a pornhub issue, if any site used an exisiting whitelist to deliver ads (preroll, native etc) we'll plug the hole. and remove or change the whitelist.

User avatar
Lanik
Site Owner
Site Owner
Posts: 1470
Joined: Thu Feb 15, 2007 7:44 am
Reputation: 25
Location: /dev/null

Post by Lanik » Sun May 06, 2018 12:11 am

phub wrote:
Sat May 05, 2018 5:52 pm
Are comments from @Lanik and @smed79 as well as a ban for no reason really necessary?
Yes completely evident by the post above. Bitching a moaning to the authors that you got banned is reason enough for me to make it a permanent ban. I've banned people on here for way less then this.
phub wrote:
Sat May 05, 2018 5:52 pm
I'm trying to communicate issues to the Easylist authors, you both add nothing to the discussion and make it more difficult to fix issues.
You call the post above "communicating"? That's more like trolling. See my earlier comment what happens then.

Please keep this up I'd be happy to make that a permanent vacation. The so called issues are of your own making so I have no qualms about removing this entire thread and your account.

And then there's the second account you tried to create.
"If it ain't broke don't fix it."

Post Reply