A huge list of scripts was created that Firefox users could load using the extension. These scripts changed elements of the Firefox user interface, dialogs, and other features of the browser.
The release of Firefox 57 blocks extensions like userChrome.js. Someone figured out how to restore the functionality in Firefox 57 and newer versions.
It needs to be noted that Mozilla may plug this hole at any time, and that scripts may stop working because of that eventually.
Download the three userChrome.* files from the project's GitHub repository and place them in the chrome folder of the Firefox profile.
If you make use of some of these files already in the folder copy the content of them and paste them to add them to your files in the folder.
You can open the profile folder of Firefox by loading about:support in the browser's address bar. There you find the "open folder" button which you need to activate to open the Firefox profile folder using the default file manager of the system. If the chrome folder does not exist (it does not by default), create it, and place the files in the folder afterwards.
The author describes how the workaround works on the project page:
It's very possible that at some future time the Firefox team will remove some or all of the functionality that makes this possible, so enjoy it while you can.
You need to add what you want to executed to the userChrome.js file. You may want to check out this Firefox 57 scripts repository, all of which should work with Firefox 57 and newer versions of the browser.
Simply copy the code from any script and restart Firefox afterwards. The script is run then by Firefox.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.