-
Notifications
You must be signed in to change notification settings - Fork 85
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
Firefox: uBO logger does not report all the scriptlets #2072
Comments
Because there are no iframes for either
Browser behavior -- Firefox does not render a |
You told me:
It's what I did, I visited the provided URL and there were no frame reported in the logger. If you have a scenario where those frames become present in the DOM, please provide detailed steps to reproduce. |
Nothing happens when I click those links -- using new Firefox profile with only uBO installed with default settings and up to date lists. |
I tried 2 US VPN and still can't reproduce and links are unresponsive. Might require Windows OS? I don't have this. |
It's working using a Vancouver, Toronto, Montreal ip too |
use browsec vpn(autolocation ,netherland) @gorhill |
Scriptlets are injected in a different way in Firefox, declarative content script needs to be injected first in the frames, and when they execute, uBO's content script will ask the main process to inject the scriptlets. If declarative content script is not injected by Firefox, scriptlets won't be injected. In Chromium, uBO might report the scriptlet as injected, but it's not guaranteed it is happening. I modified how scriptlet injection is reported in the logger in the next dev build: uBO will report scriptlet being injected only if it receives confirmation that the content script code injecting the scriptlets has been executed. The links are also not functioning when using Chromium, so at this point I suspect the page's code depends on the OS, to be confirmed by someone else who can also test on linux. |
just an observation i can see but logger fails to report hope iam not offtopic |
@gorhill , with ubo 1.42.1b1 ,firefox |
I will fix this asap. |
I installed ubuntu in hyper-v in windows, FF 75, uBO 1.42.1b0, canadian ip, I can get the same behaviour (scriptlet not reported for those 2 players above) |
Regression from: - efe2e0c Related issue: - uBlockOrigin/uBlock-issues#2072
Well I am not making this up, nothing happens when I click either of those links: I will leave somebody else who can investigate code deal with this, use mention if ever there is something new of interest to me. Error messages in Firefox 98.0.2 console in case they are meaningful, this on new browser profile with uBO last dev build with up to date filter lists + NY VPN: |
Toronto ip, FF + uBO 1.42.1b2, still same behaviour (no scriptlet logged for frames) |
another website where scriptlets not logged for iframes are
these scriptlet(s)
|
Yes, I can confirm with this site |
@gorhill will you checkup, if this site in comment is accessible for you? |
Yes, I can reproduce this with |
does this need to be reported to firefox or there's bugzilla issue about it? |
Prerequisites
I tried to reproduce the issue when...
Description
when going here
https://4hdmovie.com/movies/valimai-2022-tamil/
in firefox stableiam not able to see

#@#
in logger to except the scriptlet filter ,this is how it looks in firefoxthis is in opera browser

❌ doesn't appear in filter logger content area in firefox

opera looks like this

A specific URL where the issue occurs
https://4hdmovie.com/movies/valimai-2022-tamil/
Steps to Reproduce
Going
https://4hdmovie.com/movies/valimai-2022-tamil/
and observing logger for above mentioned steps in descriptionExpected behavior
#@#
next to scriptlet filter when visualized andX
in filter logger content areathese are all behaviours reported in chromium based ublock origin
Actual behavior
Doesn't logged scriptlet filters and not shown
#@#
,X
Configuration
uBlock Origin: 1.41.8
Firefox: 98
filterset (summary):
network: 81322
cosmetic: 42192
scriptlet: 16444
html: 631
listset (total-discarded, last updated):
default:
user-filters: 1-0, never
ublock-filters: 31066-40, 40m
ublock-badware: 3993-3, 40m
ublock-privacy: 210-0, 40m
ublock-abuse: 72-0, 40m
ublock-unbreak: 1753-0, 40m
easylist: 65075-589, 40m
easyprivacy: 26738-577, 40m
urlhaus-1: 9225-0, 40m
plowe-0: 3690-2, 40m
ublock-quick-fixes: 138-4, 40m
filterset (user): [array of 1 redacted]
modifiedUserSettings: [none]
modifiedHiddenSettings: [none]
supportStats:
allReadyAfter: 861 ms (selfie)
maxAssetCacheWait: 353 ms
The text was updated successfully, but these errors were encountered: