Adguardfilters: ratopati.com

Created on 7 Sep 2019  路  2Comments  路  Source: AdguardTeam/AdguardFilters

Issue URL (Annoyance)

https://ratopati.com/story/99309/2019/9/5/saaho-director-sujith-wrote-an-emotional-post?fbclid=IwAR1ydyMN18rgDDBpbdXB9yVMvd2h4EnsBmwI6PXgaz-oKr1s7P2nRM6zNtw

Comment

Username: @adksanjib

--
The information below is automatically generated. Do not delete it.

Referrer:
https://ratopati.com/story/99309/2019/9/5/saaho-director-sujith-wrote-an-emotional-post?fbclid=IwAR1ydyMN18rgDDBpbdXB9yVMvd2h4EnsBmwI6PXgaz-oKr1s7P2nRM6zNtw

Custom userscripts:
https://cdn.adguard.com/public/Userscripts/AdguardAssistant/4.0/assistant.user.js
https://cdn.adguard.com/public/Userscripts/Wot/1.0/wot.user.js
https://cdn.adguard.com/public/Userscripts/AdguardPopupBlocker/2.2/popupblocker.user.js

Screenshots


Screenshot 1

Screenshot 1

System configuration

Information | value
--- | ---
Platform: | Win
AdGuard version: | 6.3.1374.4023
Browser: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
AdGuard driver: | TDI
Filters: | AdGuard Russian,
AdGuard Base

Resolved AdGuard for Windows High Annoyance

All 2 comments

The two following regex-based filters are rather inefficient:

/.*prixa.*\.net\/media\/(Parvo|Ratop|Riddh)\/[A-Za-z0-9-_]+.(gif|jpg)/
/.*prixa.*\.net\/media\/[0-9A-Za-z-_]*.(gif|jpg)/

Optimize by removing leading .*:

/prixa.*\.net\/media\/(Parvo|Ratop|Riddh)\/[A-Za-z0-9-_]+.(gif|jpg)/
/prixa.*\.net\/media\/[0-9A-Za-z-_]*.(gif|jpg)/

The second form is semantically equivalent but much more efficient. Additionally such regex-based filters would benefit from narrowing using more options if possible, such as third-party, and maybe image (I didn't see other resources being blocked by those filters on OP's page).

See https://www.reddit.com/r/uBlockOrigin/comments/jhcdy9/ublock_origin_in_conflict_with_dark_reader/gaajg72/.

Thanks. Replaced and made them domain-specific.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Eugene-Savenko picture Eugene-Savenko  路  4Comments

TPS picture TPS  路  4Comments

adguard-bot picture adguard-bot  路  4Comments

adguard-bot picture adguard-bot  路  3Comments

adguard-bot picture adguard-bot  路  3Comments