Mercurial Hosting > freedit
annotate src/tools/dimensions.html @ 52:9f8ebc757814
add convert urls
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 23 Nov 2022 23:29:16 -0700 |
| parents | 2f20b11affdd |
| children |
| rev | line source |
|---|---|
| 5 | 1 <!doctype html> |
| 2 <html> | |
| 3 <head> | |
| 4 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| 5 <script> | |
| 6 function p() { | |
| 7 document.body.innerText = '' | |
| 8 + window.innerWidth + 'px innerWidth\n' | |
| 9 + window.innerHeight + 'px innerHeight\n' | |
| 10 + '\n' | |
| 11 + window.outerWidth + 'px outerWidth\n' | |
| 12 + window.outerHeight + 'px outerHeight\n' | |
| 13 ; | |
| 14 } | |
| 15 </script> | |
| 16 </head> | |
| 17 <body onload="p()" onresize="p()"> | |
| 18 </body> | |
| 19 </html> |
