Use content_scripts instead of custom code
Originally created by @sajolida on #15058 (Redmine)
See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/content_scripts
The code in background.js to inject scripts in already opened tabs looks unnecessary, and this should use the manifest instead.
Parent Task: #12328 (closed)
Edited by sajolida