From 5f54e0197e160e7ac9f054414cbf610fbc2b112d Mon Sep 17 00:00:00 2001 From: Ray Lothian Date: Sat, 12 Sep 2020 07:41:00 +0200 Subject: [PATCH] fixes #80 --- extension/common.js | 2 +- extension/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/common.js b/extension/common.js index 2f56a73..be5cae1 100644 --- a/extension/common.js +++ b/extension/common.js @@ -312,7 +312,7 @@ const ua = { ua.string(str, windowId, cookieStoreId); } chrome.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders, { - 'urls': ['*://*/*'] + 'urls': ['*://*/*', 'ws://*/*', 'wss://*/*'] }, ['blocking', 'requestHeaders']); chrome.webNavigation.onCommitted.addListener(onCommitted); ua.tooltip('[Default] ' + navigator.userAgent); diff --git a/extension/manifest.json b/extension/manifest.json index 791e8b7..3ba24d0 100755 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "User-Agent Switcher and Manager", "short_name": "useragent-switcher", - "version": "0.4.1", + "version": "0.4.2", "description": "Spoof websites trying to gather information about your web navigation to deliver distinct content you may not want",