-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add a scriptlet to honor noscript tag #2437
Comments
Images are loaded on my side with ETP enabled (default). |
@gorhill Really? Test on Private tab and scroll down a bit. |
On Private tab, the first top two images are loaded, but the others are placeholders with text "Please allow ads on our site...". Disabling ETP solves the issue, so shouldn't this be reported to Firefox devs? |
Do they address anti-adb? The blocking is legit. I don't know if ETP support per-page exception. |
It's kind of the realm of using other blockers beside uBO can cause such issues, in which case disabling the other blocker(s) is the right solution, rather than trying to fix in uBO something caused by another blocker. |
Except that this is a browser's built-in feature which we had not been recommending to turn it off. |
It also happens without uBO. |
Yes, because currently exception is mandatory to fix. If noscript tag can be honored, no exception will be needed. |
Note that ETP icon has a "Site not working?" link from which we can send a report. To me this seems the more sensible option, rather than burdening uBO with handling an issue caused by an external blocker. |
Okay sent a report. But I wonder, can't it be mostly copy-and-paste of noscript-spoof.js except for an argument I suggested? Sure, I don't know the fact. |
What are the chance such scriptlet would be useful elsewhere than on those two related sites? (rocket and sora news24) |
Retracted due to not following the steps |
I have to admit I'm not aware of. Though it will be another issue with different fix, as uMatrix is now archived, gorhill/uMatrix#319 is to some extent relevant - but probably better to add noscript-spoof option/switch to uBO than filter scriptlet in terms of usability. |
Unable to reproduce, and such issues should first be reported to uBlockOrigin/uAssets#15705 with all the required details. |
1st off that issue is closed however I updated this and #15705 as requested. |
This look as trust level needed #2229. |
How about a renaming-attribute scriptlet ?
With the above scriptlet, you need the following filters --
For rocketnews24 Add -
and then
|
#2347 ? |
"Override (few more sources: source, source, source 😄 ) |
@gwarser ?
There can only be one "src" attribute present in any inline-tag, so that will never be a problem. |
This was only a joke, because of many "source" words in one sentence :) |
Right, I only understood after I left the comment, anyway your comment was helpful as it reminded me that I hadn't simulated the "renaming" appearance as I intended, and that was fixed. |
Closing for #2347 which has better general utility than this suggestion. |
Prerequisites
I tried to reproduce the issue when...
Description
AdguardTeam/Scriptlets#274
I emphasize currently there's no fix for Firefox with ETP enabled. If the scriptlet is made available, we can fix the issues without current exception in uBlock filters and Japanese filter (see AdguardTeam/AdguardFilters#137213 (comment)). I guess it's not too much work as uBO already has noscript-spoof.js
A specific URL where the issue occurs.
https://soranews24.com/
Steps to Reproduce
Expected behavior
Filter maintainer should have a way to honor noscript for such a case
Actual behavior
No way
uBO version
1.46.1b3
Browser name and version
Firefox 108.0.1
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: