Send platform with error info

This commit is contained in:
Ilya Ig. Petrov 2017-12-03 19:51:03 +05:00
parent 49cac9da15
commit 08da89030d

View File

@ -79,7 +79,8 @@
'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), '&useragent=' + encodeURIComponent(navigator.userAgent) +
'&platform=' + encodeURIComponent(navigator.platform),
); );
}, },