diff options
Diffstat (limited to 'js/background.js')
-rw-r--r-- | js/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/background.js b/js/background.js index e087c22..00ba31b 100644 --- a/js/background.js +++ b/js/background.js @@ -380,7 +380,7 @@ function sendNotifications(redirect, originalUrl, redirectedUrl ){ // So let's use useragent. // Opera UA has both chrome and OPR. So check against that ( Only chrome which supports list) - other browsers to get BASIC type notifications. - if(navigator.userAgent.toLowerCase().indexOf("chrome") > -1 && navigator.userAgent.toLowerCase().indexOf("OPR")<0){ + if(navigator.userAgent.toLowerCase().indexOf("chrome") > -1 && navigator.userAgent.toLowerCase().indexOf("opr")<0){ var items = [{title:"Original page: ", message: originalUrl},{title:"Redirected to: ",message:redirectedUrl}]; var head = "Redirector - Applied rule : " + redirect.description; chrome.notifications.create({ |