mirror of https://github.com/gorhill/uBlock.git
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,
|
type: type,
|
||||||
url: location.spec
|
url: location.spec
|
||||||
};
|
};
|
||||||
if ( type === 7 ) {
|
|
||||||
details.attrSrc = context.frameElement.getAttribute('src');
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( typeof messageManager.sendRpcMessage === 'function' ) {
|
if ( typeof messageManager.sendRpcMessage === 'function' ) {
|
||||||
// https://bugzil.la/1092216
|
// https://bugzil.la/1092216
|
||||||
|
|
|
@ -1311,9 +1311,6 @@ vAPI.net.registerListeners = function() {
|
||||||
type: details.type,
|
type: details.type,
|
||||||
url: details.url
|
url: details.url
|
||||||
};
|
};
|
||||||
if ( details.attrSrc !== undefined ) {
|
|
||||||
lastRequest[0].attrSrc = details.attrSrc;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vAPI.messaging.globalMessageManager.addMessageListener(
|
vAPI.messaging.globalMessageManager.addMessageListener(
|
||||||
|
|
Loading…
Reference in New Issue