From a036152cc7629ea9910f79c9edf7ed2bf6597c30 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 1 Jan 2015 20:58:19 -0500 Subject: [PATCH] this fixes #456: another unrelated bug unveil from previous fix --- platform/chromium/vapi-client.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index 47edde9..057687f 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -33,6 +33,13 @@ self.vAPI = self.vAPI || {}; +// https://github.com/gorhill/uBlock/issues/456 +// Already injected? +if ( vAPI.vapiClient ) { + return; +} +vAPI.vapiClient = true; + var chrome = self.chrome; var vAPI = self.vAPI;