 Issue 8948027:
  Ported changes from Adblock Plus integration back into URL Fixer  (Closed)
    
  
    Issue 8948027:
  Ported changes from Adblock Plus integration back into URL Fixer  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 /* | 1 /* | 
| 
Wladimir Palant
2012/12/13 16:07:00
Same question as for typoCollector.js - this has b
 
Thomas Greiner
2013/01/14 10:06:41
Same answer: IIRC yes.
 | |
| 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 | 
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 } | 
| LEFT | RIGHT |