I would recommend using Tamper Monkey browser extension. I use it to change the color of the background for my company's production site. That way, I never mistakenly place an order on production when trying to test something.
It lets you create JS snippets that run at certain domains (you can also have it run on all of them). It comes with a decent little UI for turning on and off certain scripts as well.
Thanks for the tip, this seems pretty useful!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.