| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 - This file is part of Adblock Plus <http://adblockplus.org/>, | 3 - This file is part of Adblock Plus <http://adblockplus.org/>, |
| 4 - Copyright (C) 2006-2013 Eyeo GmbH | 4 - Copyright (C) 2006-2013 Eyeo GmbH |
| 5 - | 5 - |
| 6 - Adblock Plus is free software: you can redistribute it and/or modify | 6 - Adblock Plus is free software: you can redistribute it and/or modify |
| 7 - it under the terms of the GNU General Public License version 3 as | 7 - it under the terms of the GNU General Public License version 3 as |
| 8 - published by the Free Software Foundation. | 8 - published by the Free Software Foundation. |
| 9 - | 9 - |
| 10 - Adblock Plus is distributed in the hope that it will be useful, | 10 - Adblock Plus is distributed in the hope that it will be useful, |
| 11 - but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 - but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 - GNU General Public License for more details. | 13 - GNU General Public License for more details. |
| 14 - | 14 - |
| 15 - You should have received a copy of the GNU General Public License | 15 - You should have received a copy of the GNU General Public License |
| 16 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 16 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 17 --> | 17 --> |
| 18 | 18 |
| 19 <html> | 19 <html> |
| 20 <head> | 20 <head> |
| 21 <title class="i18n_firstRun_title"></title> | 21 <title class="i18n_firstRun_title"></title> |
| 22 <meta charset="utf-8"> | 22 <meta charset="utf-8"> |
| 23 | |
| 24 <!-- {% if type == 'safari' %} --> | |
| 25 <!-- {{ '<link type="text/css" href="skin/firstRun.css" rel="stylesheet"/>' }} --> | |
| 26 <!-- {% else %} --> | |
| 27 <link type="text/css" href="/skin/firstRun.css" rel="stylesheet"/> | 23 <link type="text/css" href="/skin/firstRun.css" rel="stylesheet"/> |
| 28 <!-- {% endif %} --> | 24 {%- if needsExt %} |
|
Wladimir Palant
2013/10/29 12:59:52
As mentioned before, I would prefer a solution wit
Sebastian Noack
2013/10/29 13:37:23
I would rather not hide the logic from the code of
Wladimir Palant
2013/10/29 14:05:45
We have a number of conventions in place that work
| |
| 29 | 25 <script type="text/javascript" src="ext/common.js"></script> |
| 30 <!-- {% if type in ('chrome', 'opera', 'safari') %} --> | 26 <script type="text/javascript" src="ext/content.js"></script> |
| 31 <!-- {{ '<script type="text/javascript" src="ext/common.js"></script>' }} -- > | 27 {%- endif %} |
| 32 <!-- {{ '<script type="text/javascript" src="ext/content.js"></script>' }} - -> | |
| 33 <!-- {% endif %} --> | |
|
Wladimir Palant
2013/10/29 12:59:52
If we are adding these script tags dynamically, we
Sebastian Noack
2013/10/29 13:37:23
I might be wrong. But I don't think that this will
Wladimir Palant
2013/10/29 14:05:45
Setting |script.async = false| should actually do
Sebastian Noack
2013/10/29 15:44:56
They are just wrapped by HTML comments, for backwa
Wladimir Palant
2013/10/29 15:56:37
For the scripts: yes, processing the page with Jin
| |
| 34 <script type="text/javascript" src="utils.js"></script> | 28 <script type="text/javascript" src="utils.js"></script> |
| 35 <script type="text/javascript" src="i18n.js"></script> | 29 <script type="text/javascript" src="i18n.js"></script> |
| 36 <script type="text/javascript" src="firstRun.js"></script> | 30 <script type="text/javascript" src="firstRun.js"></script> |
| 37 </head> | 31 </head> |
| 38 <body> | 32 <body> |
| 39 | 33 |
| 40 | 34 |
| 41 <header> | 35 <header> |
| 42 <div id="logo"></div> | 36 <div id="logo"></div> |
| 43 <h1 id="title-main" class="i18n_firstRun_title"></h1> | 37 <h1 id="title-main" class="i18n_firstRun_title"></h1> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 <footer> | 159 <footer> |
| 166 <a id="contributors" class="i18n_firstRun_contributor_credits"></a> | 160 <a id="contributors" class="i18n_firstRun_contributor_credits"></a> |
| 167 </footer> | 161 </footer> |
| 168 | 162 |
| 169 | 163 |
| 170 <div id="glass-pane"> | 164 <div id="glass-pane"> |
| 171 <iframe id="share-popup" scrolling="no"></iframe> | 165 <iframe id="share-popup" scrolling="no"></iframe> |
| 172 </div> | 166 </div> |
| 173 </body> | 167 </body> |
| 174 </html> | 168 </html> |
| LEFT | RIGHT |