From 3e71ee90c6919952795224693fb3ceba6255df9b Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 17 Jan 2015 18:02:45 -0500 Subject: [PATCH] new revision + fixed frame parent id --- platform/firefox/vapi-background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 2fe3330..e8a8d28 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -45,7 +45,7 @@ vAPI.firefox = true; // TODO: read these data from somewhere... vAPI.app = { name: 'µBlock', - version: '0.8.5.5' + version: '0.8.5.6' }; /******************************************************************************/ @@ -945,7 +945,7 @@ var httpObserver = { result = vAPI.net.onHeadersReceived.callback({ url: URI.asciiSpec, tabId: channelData[1], - parentFrameId: -1, + parentFrameId: channelData[0] === this.MAIN_FRAME ? -1 : 0, responseHeaders: result ? [{name: topic, value: result}] : [] });