Send useragent with error info

This commit is contained in:
Ilya Ig. Petrov 2017-12-03 19:29:27 +05:00
parent 04a6f7e13a
commit 49cac9da15

View File

@ -78,7 +78,8 @@
openAndFocus( openAndFocus(
'http://rebrand.ly/ac-error/?json=' + encodeURIComponent(json) + 'http://rebrand.ly/ac-error/?json=' + encodeURIComponent(json) +
(type ? '&type=' + encodeURIComponent(type) : '') + (type ? '&type=' + encodeURIComponent(type) : '') +
'&version=' + chrome.runtime.getManifest().version '&version=' + chrome.runtime.getManifest().version +
'&useragent=' + encodeURIComponent(navigator.userAgent),
); );
}, },