aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vapi-client.js')
-rw-r--r--js/vapi-client.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/js/vapi-client.js b/js/vapi-client.js
index 20e16f9..6f46e96 100644
--- a/js/vapi-client.js
+++ b/js/vapi-client.js
@@ -35,12 +35,14 @@
/******************************************************************************/
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
-if ( self.vAPI === undefined || self.vAPI.eMatrix !== true ) {
- self.vAPI = { eMatrix: true };
+// eMatrix: does this apply to us?
+// In the meantime, let's remove the useless `eMatrix' property from vAPI
+if (self.vAPI === undefined) {
+ self.vAPI = {};
}
var vAPI = self.vAPI;
-vAPI.firefox = true;
+
vAPI.sessionId = String.fromCharCode(Date.now() % 25 + 97) +
Math.random().toString(36).slice(2);