laposte.net
Issue URL (Anti Adblock Script)
Screenshots
Screenshot 1

System configuration
| Information | Value |
|---|---|
| AdGuard product: | AdGuard for Windows v4.4.22 |
| System version: | Windows, 10 |
| Browser: | Chrome |
| AdGuard driver: | TDI |
| Tracking protection: | disabled |
| DNS filtering: | disabled |
| Filters: | Ad blocking: AdGuard Base, AdGuard Mobile Ads Privacy: AdGuard Tracking Protection |
| Browsing Security: | disabled |
| Browsing Security statistics: | disabled |
| Userscripts: | disabled |
| Userstyles: | disabled |
Issue configuration
@ntnguyen1234
URL: https://laposte.net/accueil
Ce problème semble également se produire sur Firefox. Pourriez-vous le vérifier ? AdGuard utilise les filtres les plus récents, et le problème peut être reproduit même avec uniquement le filtre de base activé.
screenshot
filtering log
@Alex-302 Hmm... Somehow the rule laposte.net$$script:contains(html-load.com) does not apply on Firefox?
I think scriptlet cannot inject on time in Firefox, how about using replace?
||laposte.net^$document,replace=/<script>\(function\(\)\{function[^\n]+html-load\.com[^\n]+?<\/script>//
@AdamWr Sorry, can you check this, is replace good for performance?
Issue URL (Incorrect Blocking)
Screenshots
Screenshot 1

Screenshot 1 with AdGuard disabled

System configuration
| Information | Value |
|---|---|
| AdGuard product: | AdGuard Browser Extension v4.4.49 |
| System version: | macOS 15.3 (24D60) |
| Browser: | Firefox |
| Tracking protection: | disabled |
| Filters: | Ad blocking: AdGuard Base |
| Browsing Security: | disabled |
| Browsing Security statistics: | disabled |
@Alex-302 Hmm... Somehow the rule
laposte.net$$script:contains(html-load.com)does not apply on Firefox?I think scriptlet cannot inject on time in Firefox, how about using
replace?||laposte.net^$document,replace=/
I think that this $replace rule is good.
Regarding $$ rules. These rules are disabled for Firefox extension (if I'm not wrong, it has been disabled few years ago - https://github.com/AdguardTeam/FiltersCompiler/commit/3135f239cf35eee21611fcbf52cbbb0cc32ef27e#diff-38e9218f396ef1cf16171a0d41333e7069a7fa5afaf8bfdad64523b59e0798f2R115 and it seems that it's still disabled - https://github.com/AdguardTeam/FiltersCompiler/blob/master/src/main/platforms-config.js#L657) one of the related issues - https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2826
Looks like we already have a similar rule for another site:
||nikkan-gendai.com^$replace=/<script>\(function\(\){function[\s\S]*?report\.error-report\.com\/modal[\s\S]*\(\);<\/script>//,document
so I'll use similar too.