Browser flag to run extensions on Chrome:// pages
Im trying to make a advanced theme. Im at the point where CSS Combinators are not going to work for what I want to accomplish. My next step is running a js script through tampermonkey on chrome://browser/content/browser.xhtml However I cant run extensions on Chrome:// pages I know Google Chrome has a flag to do this and was wondering if Firefox has one too. I know this causes security issues but I want to do it anyway
Tất cả các câu trả lời (4)
You could modify the code to run via the autoconfig.cfg file.
This does not look like what I want. Is there really no flag to allow extensions to run on special pages?
chrome://browser/content/browser.xhtml is the main Firefox process and running scripts requires special previleges.
What kind of scripts do you have in mind (i.e. what features do you want to control) ?
Im trying to make it so when the user is typing in the address bar the rest of the top turns white. Sort of bringing focus to what you are typing. I just think it looks cool and have a theory of less distractions when typing leading to better search results lol