Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/typedItOptIn.js

Issue 29366643: Issue 4682 - Remove typo collection functionality from URL Fixer (Closed) Base URL: https://hg.adblockplus.org/urlfixer
Patch Set: Removed some leftovers Created Dec. 8, 2016, 12:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/content/options.xul ('k') | chrome/content/typedItOptIn.xul » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
-}
« no previous file with comments | « chrome/content/options.xul ('k') | chrome/content/typedItOptIn.xul » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld