navigator.userAgent property is now derived from the header

This commit is contained in:
hensm
2018-12-09 16:36:18 +00:00
parent 08079b1fa8
commit c7f2be4e2e
2 changed files with 1 additions and 4 deletions

View File

@@ -158,9 +158,6 @@ let currentUAString;
* provide cast functionality if the browser is detected
* as Chrome, so we should rewrite the User-Agent header
* to reflect this on whitelisted sites.
*
* TODO: Inject script to change navigator.userAgent
* property.
*/
async function onBeforeSendHeaders (details) {
const { options } = await browser.storage.sync.get("options");

View File

@@ -40,4 +40,4 @@
"shim/bundle.js"
, "dm.js"
]
}
}