When I open the Extensions page (chrome://extensions), I almost always want to go to the Chrome Web Store to add/search for a new extension. In their infinite wisdom, the Chrome Web Store link is not in the default view. You have to click the bottom in the far top left, then click the button in the far bottom left, and that's a UX pet peeve of mine. I do have Chrome Web Store bookmarked, but I never have the bookmarks bar visible, and I always forget to go there rather than navigating to the extensions page.
I want to create a Tampermonkey script that runs on /^(chrome|edge)://extensions$/
, checks if the last time I opened the url was more than a half hour ago, and then automatically redirects to the Chrome Web Store. Unfortunately, the Greasemonkey (predecessor to Tampermonkey) documentation includes this (emphasis mine):
Greasemonkey will run scripts only on documents loaded from particular schemes. By default, those are:
- http
- https
- about:blank
User scripts will not run on documents from any other scheme (ftp, file, etc.) or any other part of about.
It appears Chrome extensions in general only have access to http(s), ftp(s), and about:blank by default, with an option to specify specific urls with the file://
schema.
Since there is a setting for the file schema (indicating that the last line is at least partially wrong), I hope there is a way to allow access to specific browser schema pages. Does anyone know if there is?