From c7f2be4e2e72017673a0d808fbefa5da63c34b5f Mon Sep 17 00:00:00 2001 From: hensm Date: Sun, 9 Dec 2018 16:36:18 +0000 Subject: [PATCH] navigator.userAgent property is now derived from the header --- ext/src/main.js | 3 --- ext/src/manifest.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/src/main.js b/ext/src/main.js index 88bd884..b661bd3 100755 --- a/ext/src/main.js +++ b/ext/src/main.js @@ -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"); diff --git a/ext/src/manifest.json b/ext/src/manifest.json index 66e5dc6..fab5dd1 100755 --- a/ext/src/manifest.json +++ b/ext/src/manifest.json @@ -40,4 +40,4 @@ "shim/bundle.js" , "dm.js" ] -} \ No newline at end of file +}