OLD | NEW |
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 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 } |
OLD | NEW |