all repos — FixYouTube-legacy @ 88ebbee9eca4d8021d5a92c7680f0110ca30efcc

A better way to embed YouTube videos everywhere (inspired by FixTweet).

better domain text
Marco Andronaco andronacomarco@gmail.com
Sat, 26 Aug 2023 14:12:25 +0200
commit

88ebbee9eca4d8021d5a92c7680f0110ca30efcc

parent

d58ab9ab8f48dad500c99f65f5b3bb3017a5afb7

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M fixyoutube/templates/index.htmlfixyoutube/templates/index.html

@@ -13,10 +13,9 @@

<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🛠</text></svg>"> <link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css"> - </head> -<body onload="code = document.createElement('code'); code.innerText = window.location.host; document.getElementById('changeme').replaceWith(code);"> +<body> <main class="container" style="max-width: 35rem"> <hgroup> <h1>FixYouTube</h1>

@@ -40,6 +39,11 @@ <br>

<small>• YouTube is a trademark of Google LLC. This app is not affiliated with Google LLC.</small> </section> </main> + <script> + code = document.createElement('code'); + code.innerText = window.location.host; + document.getElementById('changeme').replaceWith(code); + </script> </body> </html>