From 9cb91f8a48f9467e448f88984c20b3429e8a2510 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 13 Jul 2015 22:52:06 -0500 Subject: Spyblock updated to 2.6.9.0 from upstream changes --- .../spyblock@gnu.org/lib/windowObserver.js | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'data/extensions/spyblock@gnu.org/lib/windowObserver.js') diff --git a/data/extensions/spyblock@gnu.org/lib/windowObserver.js b/data/extensions/spyblock@gnu.org/lib/windowObserver.js index eb0b13a..7d34f8a 100644 --- a/data/extensions/spyblock@gnu.org/lib/windowObserver.js +++ b/data/extensions/spyblock@gnu.org/lib/windowObserver.js @@ -1,19 +1,6 @@ -/* - * This file is part of the Adblock Plus build tools, - * Copyright (C) 2006-2014 Eyeo GmbH - * - * Adblock Plus is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. - * - * Adblock Plus is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Adblock Plus. If not, see . - */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); @@ -48,7 +35,7 @@ function WindowObserver(listener, when) if (windows.indexOf(element) < 0) windows.push(element); } - + for (let i = 0; i < windows.length; i++) { let window = windows[i].QueryInterface(Ci.nsIDOMWindow); -- cgit v1.2.3