From fc2df27d5768294f22a4d9ad049d45f2d0d52781 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Sat, 22 Jun 2019 00:12:53 +0200 Subject: Remove some cruft --- js/vapi-client.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'js/vapi-client.js') 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); -- cgit v1.2.3