1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

e10s ready!

Fixes #60 and #42
This commit is contained in:
kkapsner 2016-02-13 12:28:36 +01:00
parent 35c6a82480
commit 951277e922
10 changed files with 411 additions and 178 deletions

View file

@ -31,7 +31,7 @@ function getDomainRegExpList(domainList){
return {
match: function(url){
if (domain){
return url.hostname.match(regExp);
return (url.hostname || "").match(regExp);
}
else {
return url.href.match(regExp);