-
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
Element Zapper not working on YouTube (Cosmetic Filtering NOT disabled) #1500
Comments
Did you give uBO permission to run in incognito mode ? |
@uBlock-user yes, you can see in the gif that it works on other sites (in incognito mode) |
Any messages in uBo's console? |
@llacb47 I have the logger open in the gif from start to finish in the gif recording, no messages it seems. I also have the web-developer tools console open while trying to activate the zapper and nothing. I don't know if there is any other console output I should be looking for |
The extension's own dev console might have something. Enable "Developer mode" at |
@gorhill I'm not seeing anything generated in the extension-specific console output. Is there a UI action I can do to trigger a logging event there to see if I am looking at the right thing? (Tested with loading page, trying to select zapper and picker tools) edit: I also included Verbose logging in the filter to see if anything showed up, but didn't see anything |
I can't reproduce such issue. When you load the Youtube page, the logger output is anomalous in that it does not show any network requests being fired for Youtube, this is not normal, it's almost as if the browser does not notify uBO of the network events: the logger does not show any network events, the popup panel reports that nothing is being blocked. |
@gorhill yes it is very strange I noticed that as well. If you have any other ideas on how to troubleshoot this I can give it a shot on my end. |
I see 4 entries in the logger when you navigate to Youtube. One of them seems to be uBO fetching a filter list -- the initiator is |
When I navigate to Youtube I get the expected network events reported in the logger: On your side I just see the scriptlet injection filters being reported, these are injected on a webNavigation event. The picker/zapper not launching indicate that there are no content scripts injected, and also weird is that there is no network activity reported. |
Well, on my side I am testing using Chromium 87.0.4280.66, my distribution hasn't upgraded to 88.0.4324.150 yet. |
In your GIF, I see uBO working properly once you navigated to |
@gorhill Interesting enough this same behavior seems to be replicated on all google-related domains. So anytime I visit a google domain it seems network request introspection by the extension is disabled. I tried navigating to/from regular web pages with no observed changes I thought this might be related to issues with "hosted" apps related to websites, but I do not have anything/have removed all apps from |
There is a difference from my side though, I see the main document being loaded from a service worker. I don't get this on my side. If you close all Youtube tabs and go to |
Really strange, everytime I try unregistering the service both through |
That's normal. I actually get similar result as yours when I navigate to |
Could there be policies in your browser preventing uBO from working on Google-related domains? See |
I do have chrome policies it seems, this must be it. I tried the other Adblock extensions and the behavior is almost identical (not all requests logged, unable to use "element picker"-esque functionality). Thank you for the help, unfortunately it seems that this is probably unresolvable if it is related to a specific chrome policy. |
??? Just because you have a chrome policy isn't the reason, have you identified a specific policy that causes the issue or are you just speculating? |
Do you know which policy is causing this behavior? If ever there are report sof such behavior in the future, it will be useful to know which policy to check. |
@gorhill I am pretty sure it is utilizing the ExtensionSettings policy, |
@llacb47 calm down, seeing as you've been 0 percent helpful in the conversation no need to ping me closing as it seems the policy permission mapping fits, and behaviour is only produced when visting the domains listed in the |
I didn't even ping you, but OK. Glad to see you identified the issue. |
Thanks. I might try to experiment with this to find whether uBO can detect being prevented from doing it's job, and if so then maybe figure out a way to at least inform the user. |
Prerequisites
Description
Similar issues to gorhill/uBlock#3212 , however this occurs even with cosmetic filtering NOT disabled (default, unmodified state). Occurs on Mac OS X Catalina on Chrome
A specific URL where the issue occurs
https://www.youtube.com
[A specific URL is MANDATORY for issue happening on a web page, even if it happens "everywhere"]
Steps to Reproduce
Expected behavior:
Filters properly loading and zapper element being able to be used on the website
Actual behavior:
UBO refuses to work/load the element zapper on youtube.com
Below is a screenshot of the process. Fresh install with default settings, does not work on YouTube but will work on all other sites (tested with github)
Your environment
The text was updated successfully, but these errors were encountered: