1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 11:22:44 +01:00

fix uncaught data: URI by popup blocker when URL is updated using location.replace()

This commit is contained in:
gorhill 2016-10-22 18:10:49 -04:00
parent ec931e5348
commit 9b57b827d3

View File

@ -331,7 +331,7 @@ vAPI.tabs.registerListeners = function() {
if ( changeInfo.url ) {
changeInfo.url = sanitizeURL(changeInfo.url);
}
onUpdatedClient(tabId, changeInfo, tab);
onUpdatedClient(tabId.toString(), changeInfo, tab);
};
chrome.webNavigation.onBeforeNavigate.addListener(onBeforeNavigate);