Page 7 of 11

Re: NSFW pornhub.com

Posted: Sun Jan 28, 2018 9:47 am
by fanboy

Re: NSFW pornhub.com

Posted: Sat Feb 03, 2018 2:54 pm
by papadoc
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.

Re: NSFW pornhub.com

Posted: Sat Feb 03, 2018 3:08 pm
by intense
Where did you see that filter ? adblocker ? provide an example page with blocked images .

Re: NSFW pornhub.com

Posted: Sun Feb 04, 2018 2:12 am
by papadoc
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.

Re: NSFW pornhub.com

Posted: Sun Feb 04, 2018 8:03 am
by intense
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

Re: NSFW pornhub.com

Posted: Mon Feb 05, 2018 11:51 pm
by papadoc
Nah, it doesn't work, but I appreciate the help. I guess UBo is doing too much.

Re: NSFW pornhub.com

Posted: Tue Feb 06, 2018 7:02 am
by intense
@papadoc what if

Code: Select all

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

Re: NSFW pornhub.com

Posted: Thu Feb 08, 2018 7:17 am
by papadoc
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.

Re: NSFW pornhub.com

Posted: Thu Mar 22, 2018 4:59 pm
by pizza
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

Re: NSFW pornhub.com

Posted: Thu Mar 22, 2018 6:38 pm
by intense
@pizza, for porn sites you better use uBo.

Re: NSFW pornhub.com

Posted: Mon Mar 26, 2018 2:57 am
by phub

Code: Select all

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

Re: NSFW pornhub.com

Posted: Thu Apr 12, 2018 4:14 am
by phub
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

Re: NSFW pornhub.com

Posted: Sun Apr 22, 2018 7:30 am
by Frankyboy
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

Re: NSFW pornhub.com

Posted: Sun Apr 22, 2018 10:51 am
by fanboy
Considering pornhub.com##iframe block.

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

Done.

Re: NSFW pornhub.com

Posted: Mon Apr 23, 2018 2:26 am
by phub
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.

Re: NSFW pornhub.com

Posted: Mon Apr 23, 2018 9:02 am
by fanboy
I do wish we removed the pornhub filters one day.

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

Re: NSFW pornhub.com

Posted: Mon Apr 23, 2018 3:16 pm
by phub
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

Re: NSFW pornhub.com

Posted: Mon Apr 23, 2018 8:58 pm
by fanboy
Stop embedding ad iframes.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 3:38 pm
by phub
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.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 3:51 pm
by smed79
@phub Don't use the whitelist filters to push your ads.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 3:55 pm
by phub
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.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 4:04 pm
by LanikSJ
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:

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 4:09 pm
by smed79
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

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 4:12 pm
by phub
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.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 4:22 pm
by smed79
phub wrote:We've always served pre-roll ads from phncdn.com
Don't use your cdn as an ad server.

Re: NSFW pornhub.com

Posted: Fri May 04, 2018 4:36 pm
by LanikSJ
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.

Re: NSFW pornhub.com

Posted: Sat May 05, 2018 5:39 am
by fanboy
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.

Re: NSFW pornhub.com

Posted: Sat May 05, 2018 5:52 pm
by phub
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

Re: NSFW pornhub.com

Posted: Sat May 05, 2018 9:48 pm
by fanboy
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.

Re: NSFW pornhub.com

Posted: Sun May 06, 2018 12:11 am
by LanikSJ
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.