Search code examples
javascriptgoogle-chrome-extensionfirefox-addon-webextensionsuserscriptsweb-extension

Run my JavaScript code on every page on my browser, similar to how a Chrome extension would


I know with Chrome I can use snippets to manually run some JavaScript code on a webpage. But this required manually executing the snippet. Is there a way to have some JavaScript code that my browser (Chrome or Firefox) would load every time I visit a new page?


Solution

  • Actually the best thing to do is to create a Chrome extension.