1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-05-29 09:28:06 +02:00

Removed bug introduced with "about:" sites

This commit is contained in:
kkapsner 2015-04-14 01:28:49 +02:00
parent 4bcdfb9fb7
commit ba524a896e
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -242,7 +242,7 @@
// Communication with main.js
function checkAbout(){
return document.location.protocol === "about:");
return document.location.protocol === "about:";
}
function checkPDF(blocking){

View File

@ -87,7 +87,7 @@
});
function checkURL(url){
var url = new URL(url);
url = new URL(url);
var mode = "block";
switch (prefs.blockMode){
case "blockEverything":