mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-24 19:33:01 +01:00
fix uncaught data:
URI by popup blocker when URL is updated using location.replace()
This commit is contained in:
parent
ec931e5348
commit
9b57b827d3
@ -331,7 +331,7 @@ vAPI.tabs.registerListeners = function() {
|
|||||||
if ( changeInfo.url ) {
|
if ( changeInfo.url ) {
|
||||||
changeInfo.url = sanitizeURL(changeInfo.url);
|
changeInfo.url = sanitizeURL(changeInfo.url);
|
||||||
}
|
}
|
||||||
onUpdatedClient(tabId, changeInfo, tab);
|
onUpdatedClient(tabId.toString(), changeInfo, tab);
|
||||||
};
|
};
|
||||||
|
|
||||||
chrome.webNavigation.onBeforeNavigate.addListener(onBeforeNavigate);
|
chrome.webNavigation.onBeforeNavigate.addListener(onBeforeNavigate);
|
||||||
|
Loading…
Reference in New Issue
Block a user