mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-01 18:10:17 +12:00
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.
This commit is contained in:
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…
Reference in a new issue