From 49cac9da1551a782aa621ab1d03196195dc370db Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Sun, 3 Dec 2017 19:29:27 +0500 Subject: [PATCH] Send useragent with error info --- .../src/extension-common/11-error-handlers-api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js index aadbb7c..4f676f7 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js @@ -78,7 +78,8 @@ openAndFocus( 'http://rebrand.ly/ac-error/?json=' + encodeURIComponent(json) + (type ? '&type=' + encodeURIComponent(type) : '') + - '&version=' + chrome.runtime.getManifest().version + '&version=' + chrome.runtime.getManifest().version + + '&useragent=' + encodeURIComponent(navigator.userAgent), ); },