mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Removed bug introduced with "about:" sites
This commit is contained in:
parent
4bcdfb9fb7
commit
ba524a896e
Binary file not shown.
@ -242,7 +242,7 @@
|
||||
// Communication with main.js
|
||||
|
||||
function checkAbout(){
|
||||
return document.location.protocol === "about:");
|
||||
return document.location.protocol === "about:";
|
||||
}
|
||||
|
||||
function checkPDF(blocking){
|
||||
|
@ -87,7 +87,7 @@
|
||||
});
|
||||
|
||||
function checkURL(url){
|
||||
var url = new URL(url);
|
||||
url = new URL(url);
|
||||
var mode = "block";
|
||||
switch (prefs.blockMode){
|
||||
case "blockEverything":
|
||||
|
Loading…
x
Reference in New Issue
Block a user