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

Side by Side Diff: lib/typoSurvey.js

Issue 8948027: Ported changes from Adblock Plus integration back into URL Fixer (Closed)
Patch Set: Created Jan. 14, 2013, 10:03 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/typoRules.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the URL Fixer, 2 * This file is part of the URL Fixer,
3 * Copyright (C) 2006-2012 Eyeo GmbH 3 * Copyright (C) 2006-2012 Eyeo GmbH
4 * 4 *
5 * URL Fixer is free software: you can redistribute it and/or modify 5 * URL Fixer is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * URL Fixer is distributed in the hope that it will be useful, 9 * URL Fixer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 let window = Services.wm.getMostRecentWindow("navigator:browser"); 106 let window = Services.wm.getMostRecentWindow("navigator:browser");
107 if (window) 107 if (window)
108 { 108 {
109 let browser = require("typoAppIntegration").getBrowser(window); 109 let browser = require("typoAppIntegration").getBrowser(window);
110 browser.loadOneTab(surveyUrl + "&lang=" + surveyLang, { 110 browser.loadOneTab(surveyUrl + "&lang=" + surveyLang, {
111 referrerURI: Services.io.newURI("http://url.fixer/", null, null), 111 referrerURI: Services.io.newURI("http://url.fixer/", null, null),
112 inBackground: false 112 inBackground: false
113 }); 113 });
114 } 114 }
115 } 115 }
OLDNEW
« no previous file with comments | « lib/typoRules.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld