mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Linted all files.
This commit is contained in:
parent
6c46d28593
commit
0904d8e2a6
6 changed files with 31 additions and 10 deletions
|
@ -7,11 +7,12 @@ var preferences = require("sdk/simple-prefs");
|
|||
var prefService = require("sdk/preferences/service");
|
||||
var prefs = preferences.prefs;
|
||||
var tabUtils = require("sdk/tabs/utils");
|
||||
var windowUtils = require("sdk/window/utils");
|
||||
var lists = require("./lists");
|
||||
var URL = require("sdk/url").URL;
|
||||
|
||||
exports.notify = function(window, callingStackMsg){
|
||||
"use strict";
|
||||
|
||||
var contentURL = new URL(window.location);
|
||||
if (prefs.showNotifications && !lists.get("ignore").match(contentURL)){
|
||||
var url = contentURL.href;
|
||||
|
@ -94,5 +95,4 @@ exports.notify = function(window, callingStackMsg){
|
|||
notification.callingStackMsg = callingStackMsg;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue