Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NSFW] xnxx.com: popups #26374

Closed
10 of 11 tasks
Alphamen16 opened this issue Dec 8, 2024 · 22 comments
Closed
10 of 11 tasks

[NSFW] xnxx.com: popups #26374

Alphamen16 opened this issue Dec 8, 2024 · 22 comments

Comments

@Alphamen16
Copy link

Prerequisites

  • This is NOT a YouTube, Facebook, Twitch or a shortener/hosting site report. These sites MUST be reported by clicking their respective links.
  • I read and understand the policy about what is a valid filter issue.
  • I verified that this issue is not a duplicate. (Use this button to find out.). Comment in the old issue threads even when they are closed.
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.
  • I did not enable additional filter lists, or I have verified that the issue still occurs without enabling additional filter lists.
  • I do not have custom filters/rules, or I have verified that the issue still occurs without custom filters/rules.
  • I am not using uBlock Origin along with other content blockers.
  • I have verified that the web browser's built-in content blocker/tracking protection, network wide/DNS blocking, or my VPN is not causing the issue.
  • I have verified that other extensions are not causing the issue.
  • If this is about a breakage or detection, I have verified that it is caused by uBlock Origin and isn't a site issue.
  • I did not answer truthfully to ALL the above checkboxes.

URL address of the web page

https://www.xnxx.com/

Category

[unknown]

Description

There's a pop-up that happens at least once a day related to the website "orbsrv.com". This website is blocked by Easylist filters but it is still called to the website by the javascript "static-ss.xnxx-cdn.com/v-412e04bc9ba/v3/js/skins/min/xnxx.header.static.js" OR "static-cdn77.xnxx-cdn.com/v-412e04bc9ba/v3/js/skins/min/xnxx.header.static.js"

If you look into this piece of Javascript you'll find this:

loadExoScript: function () {
if (!i) {
var e = window.location.protocol + '//a.orbsrv.com/ad-provider.js';
i = !0,
xv.utils.loadScript(
e,

I've been trying to remove this and therefore stop the website from trying to load this in, but failed to do it so far...can this be fixed?

Happens with Xvideos as well, i added an example of UBO popup blocking the site to the screenshots section!

Other extensions used

TWP Web Translate

Screenshot(s)

image

Configuration

uBlock Origin: 1.61.2
Firefox: 133
filterset (summary):
 network: 141344
 cosmetic: 50950
 scriptlet: 25240
 html: 2518
listset (total-discarded, last-updated):
 added:
  ublock-annoyances: 5884-34, now
 default:
  user-filters: 154-0, never
  ublock-filters: 41211-135, now
  ublock-badware: 12296-1, now
  ublock-privacy: 1610-22, now
  ublock-unbreak: 2593-1, now
  easylist: 77997-222, now
  easyprivacy: 53299-70, now
  urlhaus-1: 22875-0, now
  plowe-0: 3540-991, now
  ublock-quick-fixes: 220-7, 1m
filterset (user): [array of 102 redacted]
trustedset:
 added: [array of 6 redacted]
switchRuleset:
 added: [array of 133 redacted]
hostRuleset:
 added: [array of 495 redacted]
urlRuleset:
 added: [array of 104 redacted]
userSettings:
 advancedUserEnabled: true
 userFiltersTrusted: true
hiddenSettings:
 trustedListPrefixes: ublock- user-
 userResourcesLocation: [redacted]
supportStats:
 allReadyAfter: 268 ms (selfie)
 maxAssetCacheWait: 89 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 2
 network:
  xnxx.com: 1
  orbsrv.com: 1
 extended:
  ###ad-footer
  ##.remove-ads
  ##.remove-ads-link
  ##+js(abort-on-property-read, fuckAdBlock)
  ##+js(abort-on-property-write, _pop)
@Alphamen16
Copy link
Author

Alphamen16 commented Dec 8, 2024

PS: Link being blocked on the screenshot is "opoxv.com" but it does seem to originate from the issue i mentioned above.

This issue seems to only be possible to reproduce once every X amount of hours

@stephenhawk8054 stephenhawk8054 changed the title xnxx.com: [NSFW] [NSFW] xnxx.com: popups Dec 9, 2024
@ghost
Copy link

ghost commented Dec 9, 2024

@Alphamen16 are you clicking on the cam videos thet are adjasent to the video (to the right on a large enough monitor)?

@Alphamen16
Copy link
Author

Alphamen16 commented Dec 9, 2024

@waterfluoridation no, it happens if i click on another video or on the left side of the screen.

I think i should have given an actual video link, here's a random one for example: https://www.xnxx.com/video-m5koha5/teens_analyzed_-_these_new_amazing_sensations_make_her_beg_for_the_guy_to_fuck_her_in_the_ass_harder

If i press one of the suggested videos below, or just the left side of the screen, i get the UBO popup blocking opoxv. You don't?

@Alphamen16
Copy link
Author

@stephenhawk8054 thanks for this, quick unrelated question...what does the backslash mean in this context? I know the forward slashes in /dyn\.ads|loadAdsDelayed/ is just containment for the piece of code we want to use, and i know the middle one separates it from "loadAdsDelayed" so what does the slash in "dyn.ads" do?

@stephenhawk8054
Copy link
Member

// is for regex, \ is used to escape some special characters for regex, for example .

@Alphamen16
Copy link
Author

@stephenhawk8054 sorry to bother again, turns out issue still occurs...

It comes from the header.JS script on the CDN, as i'm sure you saw last time. If i block xnxx-cdn.com or the appropriate CDN related links (usually static-ss.xnxx-cdn.com/v-412e04bc9ba/v3/js/skins/min/xnxx.header.static.js or one with cdn-77), the website stops loading orbsrv and opoxv, but that also cripples the website entirely...

I've been trying to remove just the bit of code i mentioned in the comments above but it's not working. If it is indeed an aeld issue then it could be that it's just something else triggering it?

I tried some Nostiff /Nosiif stuff as well but no luck so far

@stephenhawk8054
Copy link
Member

@Alphamen16 What exact link do you see issue? I can't reproduce with your link here: #26374 (comment)

@ghost
Copy link

ghost commented Dec 10, 2024

i can by clicking to the left of the video, outside of the player (also on xvideos)

@stephenhawk8054
Copy link
Member

Hmm... Looks like race condition. I can see it but very few times and it's hard to reproduce reliably.

@Alphamen16
Copy link
Author

Alphamen16 commented Dec 10, 2024

As mentioned above, xvideos also has the exact same build as xnxx therefore issue occurs on both sites in exactly the same way

Best way i can describe it is that once you are in a video page, ANY video should work as an example, if you try to press on the left side, or sometimes the comment section, or just trying to jump to another video in the suggested section, UBO will trigger the page blocking opoxv

Just tried your code @waterfluoridation but doesn't seem to have fixed it either, though as stephenhawk just mentioned, it is very hard to reproduce twice because it only happens once every X hours

using private window should trigger it though? Just annoying to have to close and reopen private windows every time

@ghost
Copy link

ghost commented Dec 10, 2024

it is very hard to reproduce twice because it only happens once every X hours

i can by deleting cookies and bypassing cache

@stephenhawk8054
Copy link
Member

Does this work more reliably?

xnxx.com##+js(trusted-replace-argument, document.addEventListener, 1, noopFunc, condition, /dyn\.ads|loadAdsDelayed/)

Remember to turn on Allow custom filters requiring trust in "My filters" pane.

@Alphamen16 You can clear cookies to test the site as said above.

@Alphamen16
Copy link
Author

Will test it now!

@ghost
Copy link

ghost commented Dec 10, 2024

@stephenhawk8054 it's not working

@Alphamen16
Copy link
Author

Yup, not working

@Alphamen16
Copy link
Author

@waterfluoridation nope...we've got a dousy with this one 😂

Happy to leave it be if this is taking too much work guys, it's not major by any means and more of a nuisance...site works fine ahah

@stephenhawk8054
Copy link
Member

Does this work?

||xnxx-cdn.com/*/xnxx.header.static.js^$script,domain=xnxx.com,replace=/frequency_count:1/frequency_count:0/

Need to refresh while bypassing the cache first to make replace applied successfully.

@ghost
Copy link

ghost commented Dec 10, 2024

it works
the issue also ocured on xvideos

@Alphamen16
Copy link
Author

Wooow looks like we have a winner! This was way beyond my skills though, thanks :D

@Alphamen16
Copy link
Author

Thought i could just copy paste it for xvideos but seems it might not be exactly the same thing, but I'll figure it out now that we have the one for xnxx working

@stephenhawk8054
Copy link
Member

How about this, instead of replace?

xnxx.com##+js(set, xv.sda.pp.init, noopFunc)

@Alphamen16
Copy link
Author

Alphamen16 commented Dec 10, 2024

Working for both xnxx and xvideos! Miracle worker

stephenhawk8054 added a commit that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants