From bbfcb4eea9afca378a56ae3d42b9fbb6eec3b2ba Mon Sep 17 00:00:00 2001 From: Deathamns Date: Mon, 16 Mar 2015 10:37:55 +0100 Subject: [PATCH] abp:subscribe fixes Test a[href^="abp:"], since the protocol probably not used for anything else, also "a", because ABP checks only anchors, and these links are made only for ABP. Also, the event target is not always the link, so at least some parents should be tested as well. --- platform/firefox/vapi-common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js index 8c46145..c84d281 100644 --- a/platform/firefox/vapi-common.js +++ b/platform/firefox/vapi-common.js @@ -127,7 +127,8 @@ vAPI.localStorage = { getItem: function(key) { try { return this.PB.getComplexValue( - key, Components.interfaces.nsISupportsString + key, + Components.interfaces.nsISupportsString ).data; } catch (ex) { return null;