summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 66f6bff3d..0e4c15485 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -364,7 +364,9 @@ function init() {
debug('debug mode activated');
}
- xmlhttp.open("GET", "backend.php?op=rpc&subop=sanityCheck", true);
+ var params = "&ua=" + param_escape(navigator.userAgent);
+
+ xmlhttp.open("GET", "backend.php?op=rpc&subop=sanityCheck" + params, true);
xmlhttp.onreadystatechange=backend_sanity_check_callback;
xmlhttp.send(null);