That icon in Firefox shows up because the browser is running in automation/debug mode (e.g. Selenium WebDriver). It’s not a bug, it’s by design for transparency reasons. If your goal is just to test scripts, then you don’t need to fix' it. If you don’t want it to appear, the only clean solution...