Grant/Block access option for chrome extensions
Reported by
tomak...@gmail.com,
Dec 13 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. when i install 10+ chrome extensions, all the extensions are working by default whether it is relevant to the website i visit or not which slows down the browsing 2. eg: awesome screenshot, nimbus screenshot extensions run "always" when you browse the internet. Instead why cant the nimbus/awesome screenshot like tool "request to access the page" only when clicked 3.another example: Streak is a plugin for gmail. why is my browser waiting for streak plugin every time when i browse any pages. why cant the browser initiate streak for gmail while loading gmail in my browser? What is the expected behavior? all the extensions should work "on-demand" by default unless i give permission to "run for all pages" What went wrong? browser waiting for some extension to respond even if that extension is not relevant to the page im loading eg: how can i give permission to "tampermonkey extension" to run only for youtube.com and not for any other websites? WebStore page: Did this work before? N/A Chrome version: 62.0.3202.94 Channel: n/a OS Version: 6.3 Flash Version:
,
Dec 17 2017
These extensions you mentioned are written that way. It's possible to make light-weight extensions that load and work only on demand with the current Chrome extensions API, but the authors either couldn't do it without crippling the overall functionality or simply didn't know how it's done. The problem with your suggestion to run all extensions on demand is that it's not universal because some Chrome API functions simply won't work. I agree, though, it makes sense to allow users to specify which sites can run a particular extension's *content script*, but only an extensions API developer, rdevlin@ most likely, can tell whether this is even possible.
,
Dec 29 2017
tomakali@ Thanks for the issue. From the original comment, looks like this is a feature request. Hence marking this as 'Untriaged' for further updates from Dev. Thanks..
,
Jan 26 2018
[Extensions Triage] As c#2 mentioned, it is possible for extension devs to write extensions in a way that they work only on user action on a page (See for example the activeTab permission - https://developer.chrome.com/extensions/activeTab). Also see "host permissions" ,the css matches property and "optional permissions", which allows developers to specify which pages to run an extension on. There is also some work ongoing to make this simpler for content scripts. I'd suggest filing these bugs with the extension developers. In case, you discover that more can be done by the Extensions Platform itself, please reopen or file a new bug. |
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Dec 17 2017