| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <!-- | 3 <!-- |
| 4 - This file is part of Adblock Plus <https://adblockplus.org/>, | 4 - This file is part of Adblock Plus <https://adblockplus.org/>, |
| 5 - Copyright (C) 2006-present eyeo GmbH | 5 - Copyright (C) 2006-present eyeo GmbH |
| 6 - | 6 - |
| 7 - Adblock Plus is free software: you can redistribute it and/or modify | 7 - Adblock Plus is free software: you can redistribute it and/or modify |
| 8 - it under the terms of the GNU General Public License version 3 as | 8 - it under the terms of the GNU General Public License version 3 as |
| 9 - published by the Free Software Foundation. | 9 - published by the Free Software Foundation. |
| 10 - | 10 - |
| 11 - Adblock Plus is distributed in the hope that it will be useful, | 11 - Adblock Plus is distributed in the hope that it will be useful, |
| 12 - but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 - but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 - GNU General Public License for more details. | 14 - GNU General Public License for more details. |
| 15 - | 15 - |
| 16 - You should have received a copy of the GNU General Public License | 16 - You should have received a copy of the GNU General Public License |
| 17 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 17 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 18 --> | 18 --> |
| 19 | 19 |
| 20 <meta charset="utf-8"> | 20 <html> |
|
Thomas Greiner
2017/09/19 17:51:20
Coding style: "Don't omit optional HTML tags."
Manish Jethani
2017/09/19 19:42:05
Done.
| |
| 21 <style> | 21 <head> |
| 22 body | 22 <meta charset="utf-8"> |
| 23 { | 23 <style> |
| 24 margin: 0; | 24 body |
| 25 border: none; | 25 { |
| 26 padding: 0; | 26 margin: 0; |
| 27 } | 27 border: none; |
|
Thomas Greiner
2017/09/19 17:51:20
Detail: Since you're using fixed positioning to po
Manish Jethani
2017/09/19 19:42:04
This is a "just in case", for example if the user
Thomas Greiner
2017/09/20 12:29:59
Optimizing for user styles has never even occurred
| |
| 28 padding: 0; | |
| 29 } | |
| 28 | 30 |
| 29 #content | 31 #content |
| 30 { | 32 { |
| 31 border: none; | 33 border: none; |
| 32 position: fixed; | 34 position: fixed; |
| 33 top: 0; | 35 width: 100%; |
| 34 right: 0; | 36 height: 100%; |
| 35 bottom: 0; | 37 } |
| 36 left: 0; | 38 </style> |
| 37 width: 100%; | 39 <script src="options.js" defer></script> |
| 38 height: 100%; | 40 </head> |
| 39 } | 41 <body> |
| 40 </style> | 42 <iframe id="content" data-src="desktop-options.html" data-src-fennec="mobile -options.html"></iframe> |
| 41 <iframe id="content" data-src="desktop-options.html" data-src-fennec="mobile-opt ions.html"></iframe> | 43 </body> |
| 42 <script src="options.js" charset="utf-8"></script> | 44 </html> |
|
Thomas Greiner
2017/09/19 17:51:20
Suggestion: You could use the "defer" or "async" a
Thomas Greiner
2017/09/19 17:51:20
Detail: The "charset" attribute here is redundant
Manish Jethani
2017/09/19 19:42:04
Done.
Manish Jethani
2017/09/19 19:42:04
Done.
| |
| LEFT | RIGHT |