Index: chrome/content/typedItOptIn.js |
=================================================================== |
deleted file mode 100644 |
--- a/chrome/content/typedItOptIn.js |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-/* |
- * This file is part of the URL Fixer, |
- * Copyright (C) 2006-2016 Eyeo GmbH |
- * |
- * URL Fixer 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. |
- * |
- * URL Fixer 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 URL Fixer. If not, see <http://www.gnu.org/licenses/>. |
- */ |
- |
-let {Prefs} = require("prefs"); |
- |
-window.addEventListener("DOMContentLoaded", function(event) |
-{ |
- E("icon").setAttribute("src", require("info").addonRoot + "icon64.png"); |
-}, false); |
- |
-function onAccept() |
-{ |
- Prefs.domainOptInAsk = true; |
- Prefs.domainOptIn = true; |
-} |
- |
-function onCancel() |
-{ |
- Prefs.domainOptInAsk = true; |
- Prefs.domainOptIn = false; |
-} |
- |
-function onDisclosure() |
-{ |
- require("typoCollector").openDisclosurePage(); |
- window.close(); |
-} |