Administrator access or sudo is required because the configuration paths (C:\Program Files\Mozilla Firefox on Windows, /etc/firefox/policies/ on Linux) are protected. The browser guides explain the manual install and uninstall process for anyone who doesn't trust the script.
I made this web app for this purpose, it can be used as a custom search engine in desktop browsers or installed for easy access: https://linkcleaner.app