Remove block_url feature to increase websites compatibility

This commit is contained in:
2020-08-29 17:57:39 +02:00
parent 630a3f9cb9
commit 90e9862982
8 changed files with 2 additions and 206 deletions
-12
View File
@@ -34,18 +34,6 @@ function notify(text, data)
browser.runtime.sendMessage({type: "notification", options:{"message":text, "data":data}});
}
function block_url(url)
{
debug("Block URL " + url);
browser.runtime.sendMessage({type: "block_url", options:{"url":url}});
}
function unblock_url(url)
{
debug("Unblock URL " + url);
browser.runtime.sendMessage({type: "unblock_url", options:{"url":url}});
}
// https://stackoverflow.com/questions/6965107/converting-between-strings-and-arraybuffers
function ab2str(buf) {
return String.fromCharCode.apply(null, new Uint8Array(buf));