-
Notifications
You must be signed in to change notification settings - Fork 439
Feature Request: allow uBlock to run on chrome:// urls #105
Comments
|
It's a flag that can be passed to chrome.exe upon launching (or alternatively turned on using the chrome://flags page) that allows extensions to run on chrome:// urls (for example, the new tab page, the settings page, etc.) It is normally disabled for security reasons. |
From the chrome://flags page: "Enables running extensions on chrome:// URLs, where extensions explicitly request this permission." Here is a link (copy and paste it) that will take you directly to the flag if you are running chrome: chrome://flags/#extensions-on-chrome-urls |
The extension has always constrained itself to work only on |
I do remember it working, yes, as I created a rule to hide recent sites on the new tab page with a cosmetic filter. I've also been running various development or nightly builds of chrome(ium), so it's possible one of those builds was not respecting permission declarations (? proper word?) which caused it to allow your extension to run when it would not have normallybeen allowed to (because uBlock was not explicitly requesting permission to run on those urls). Regardless, it was nifty while it lasted and I did not experience unexpected negative effects. If your extension does request permission to run on chrome:// urls, it would only be respected if the user passes that flag to chrome, which subsequently causes a warning to be shown. The net effect for most users would be inconsequential. |
uBlock working also on the |
I would need to try that flag and see if the content scripts are injected - since this is these which handle cosmetic filtering, and you are telling me what worked were the cosmetic filters. That would be weird if that works because it's the declarations in the manifest which prevent these content scripts from being injected if not My experience with allowing the extension on |
Great, no need to focus on this issue in my case. |
Agreed. Perhaps leave it open for some future time? |
Sure. |
I assume this would also count for Firefox chrome:// pages? In my case, the problem is that netvideohunter (video sniffer/downloader) has ads in its management page that I'd like to get rid of, but ublock refuses to work on it. http://puu.sh/eKfSl/190b0a220d.png |
If I could do this, presumably I could block the Speed Dial 2 Pro Ad On 1/19/15, TheRealFaziri notifications@github.com wrote:
|
Updated issue title. Previous title was "uBlock no longer respects #extensions-on-chrome-urls flag"
A previous version worked on chrome urls with the appropriate flag set. uBlock no longer does this, as of appx a few weeks ago.
The extension provides value on chrome urls despite there being no ads and the potential security concerns of enabling the appropriate flag. I use it to hide recent sites on the new tab page with a simple cosmetic filter.
The text was updated successfully, but these errors were encountered: