mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
removed pointless lines -- remnants of trying out stuff
This commit is contained in:
parent
741c145e90
commit
fe9fefce31
@ -168,9 +168,6 @@ const contentObserver = {
|
||||
type: type,
|
||||
url: location.spec
|
||||
};
|
||||
if ( type === 7 ) {
|
||||
details.attrSrc = context.frameElement.getAttribute('src');
|
||||
}
|
||||
|
||||
if ( typeof messageManager.sendRpcMessage === 'function' ) {
|
||||
// https://bugzil.la/1092216
|
||||
|
@ -1311,9 +1311,6 @@ vAPI.net.registerListeners = function() {
|
||||
type: details.type,
|
||||
url: details.url
|
||||
};
|
||||
if ( details.attrSrc !== undefined ) {
|
||||
lastRequest[0].attrSrc = details.attrSrc;
|
||||
}
|
||||
};
|
||||
|
||||
vAPI.messaging.globalMessageManager.addMessageListener(
|
||||
|
Loading…
Reference in New Issue
Block a user