uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.2k stars 776 forks source link

pillowcase.su: popups #23358

Closed uniformization closed 7 months ago

uniformization commented 7 months ago

Prerequisites

URL(s) where the issue occurs.

https://pillowcase.su/f/c299dcfa253092d1357aa9005334a2eb

Description

The page looks through the following URLs and finds one that works:

https://www.intelligenceadx.com/pjsnes.min.css
https://d2klx87bgzngce.cloudfront.net/fIR/aprint.js
https://www.rtxetintkraht.com/yjsnes.min.css
https://www.zsanjnpl.com/sUGXlt/qprint.js

If successful, it does something to open a popup.

Other extensions used

Stylus

Screenshot(s)

Screenshot(s) ![KSXdfTKFiE](https://github.com/uBlockOrigin/uAssets/assets/124226059/c5600a9c-a515-4ac4-8772-0331e7b1a468) ![image](https://github.com/uBlockOrigin/uAssets/assets/124226059/45fe866c-ee1f-4738-8141-18f30eec0a05)

Configuration

Details ```yaml uBlock Origin: 1.57.2 Firefox: 125 filterset (summary): network: 133405 cosmetic: 46070 scriptlet: 19093 html: 1769 listset (total-discarded, last-updated): removed: user-filters: null default: ublock-filters: 37681-109, 2h.45m Δ ublock-badware: 8279-0, 2h.45m Δ ublock-privacy: 813-1, 2h.45m Δ ublock-unbreak: 2308-2, 2h.45m Δ easylist: 86077-172, 2h.45m Δ easyprivacy: 50787-61, 2h.45m Δ urlhaus-1: 12105-0, 20h.6m plowe-0: 3739-1162, 4d.21h.27m ublock-quick-fixes: 238-33, 2h.45m Δ filterset (user): [array of 1051 redacted] trustedset: added: [array of 22 redacted] switchRuleset: added: [array of 1 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 132 ms (selfie) maxAssetCacheWait: 48 ms cacheBackend: indexedDB popupPanel: blocked: 4 network: adsco.re: 1 d2klx87bgzngce.cloudfront.net: 1 intelligenceadx.com: 1 rtxetintkraht.com: 1 ```
stephenhawk8054 commented 7 months ago

@Yuki2718 Looks like https://www.rtxetintkraht.com/tpJOO/rprint.js slips through

Is changing to (?:[-.]min)? a good idea?

/^https:\/\/www\.[a-z]{8,16}\.com\/(?:[A-Za-z]+\/)*(?:[_0-9A-Za-z]{1,20}[-.])*[_0-9A-Za-z]{1,20}(?:[-.]min)?\.js$/$script,3p,match-case,to=com,header=link:/adsco\.re\/>;rel=preconnect/

I'm not sure if min is tokenized in the current filter?

Yuki2718 commented 6 months ago

Won't be tokenized in that case, but we still have www - a good token for 3p script. I used to add none-min cases to

/^https:\/\/www\.[a-z]{8,16}\.com\/(?:fl\/)?(?:images\/)?(?:static\/)?(?:common\/)?(?:assets\/)?(?:scripts\/)?(?:api\/)?(?:js\/)?(?:[a-z]{3})?(?:[a-z]dom4|dotdotdot|editor|[a-z](?:ire)?base|[a-z]ie8|jfloating|jholmes|kcookies-monster|leaflet\.toolbar|masync|mijs|[a-z]jsonform|proj4|sext-all|sha|ummenu|[a-z]?viz)\.js$/$script,3p,match-case,to=com

but I guess it's no more needed by header specification.