This commit is contained in:
Ray Lothian 2020-09-12 07:41:00 +02:00
parent 1b18a4f7a2
commit 5f54e0197e
2 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@ const ua = {
ua.string(str, windowId, cookieStoreId); ua.string(str, windowId, cookieStoreId);
} }
chrome.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders, { chrome.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders, {
'urls': ['*://*/*'] 'urls': ['*://*/*', 'ws://*/*', 'wss://*/*']
}, ['blocking', 'requestHeaders']); }, ['blocking', 'requestHeaders']);
chrome.webNavigation.onCommitted.addListener(onCommitted); chrome.webNavigation.onCommitted.addListener(onCommitted);
ua.tooltip('[Default] ' + navigator.userAgent); ua.tooltip('[Default] ' + navigator.userAgent);

View file

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "User-Agent Switcher and Manager", "name": "User-Agent Switcher and Manager",
"short_name": "useragent-switcher", "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", "description": "Spoof websites trying to gather information about your web navigation to deliver distinct content you may not want",