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 9 years ago committed by gorhill
parent aff7501596
commit bbfcb4eea9

@ -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