]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
cdm tweaks, misc fixes
[tt-rss.git] / tt-rss.js
index 66f6bff3dda6efaad952ad14649a5dd0aa278003..0e4c15485995af926e5a53860314a91a9c730f57 100644 (file)
--- 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);