Add SEO-ish meta tags, and thumbnail image

pull/4/head
David Buchanan 2021-05-13 18:24:33 +01:00
rodzic 3c0cd9f199
commit d8c538a169
2 zmienionych plików z 11 dodań i 1 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 88 KiB

Wyświetl plik

@ -3,6 +3,13 @@
<head>
<title>RootMyTV - Stage 1</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, minimum-scale=1.0">
<meta name="description" content="RootMy.TV - Slide to root your LG webOS TV and install the webOS Homebrew Channel">
<meta name="keywords" content="webos, root, exploit, slide, rootmy, rootmytv, jailbreak, hack, unlock, homebrew, channel">
<meta property="og:title" content="RootMy.TV">
<meta property="og:description" content="RootMy.TV - Slide to root your LG webOS TV and install the webOS Homebrew Channel">
<meta property="og:image" content="https://rootmy.tv/img/thumb.jpg">
<meta name="twitter:card" content="summary_large_image">
<link rel="stylesheet" href="common.css" />
</head>
@ -284,8 +291,11 @@ window.requestAnimationFrame(animate_tick);
document.querySelector("#main-article").innerHTML = "<pre id='log'></pre>";
var is_local = window.location.protocol === 'file:';
var is_webos = navigator.userAgent.toLowerCase().includes("webos") ||
navigator.userAgent.toLowerCase().includes("netcast") ||
navigator.userAgent.toLowerCase().includes("smarttv");
if (!is_local && !navigator.userAgent.toLowerCase().includes("webos")) {
if (!is_local && !is_webos) {
log("[Warning] You should be visiting this page from a webOS device, not your desktop web browser!");
}