Browse Source

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.
pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
bbfcb4eea9
  1. 3
      platform/firefox/vapi-common.js

3
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;

Loading…
Cancel
Save