Spaces:
Running
Running
| <html> | |
| <head> | |
| <title>Page Title</title> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <meta name="description" content="A brief summary of the page content."> | |
| <meta name="keywords" content="keyword1, keyword2, keyword3, …"> | |
| <meta name="author" content="Name Surname"> | |
| <meta name="copyright" content="Company Name © Year"> | |
| <link rel="canonical" href="https://omnibus-txt2link-static.static.hf.space/" /> | |
| <meta name="twitter:card" content="summary_large_image" /> | |
| <meta name="twitter:site" content="@OmnibusAI" /> | |
| <meta name="twitter:title" content="URL to Link Tool" /> | |
| <meta name="twitter:description" content="A tool that generates links from a URL string" /> | |
| <meta name="twitter:image" content="https://omnibus-txt2link-static.static.hf.space/card_im.png" /> | |
| <meta property="og:type" content="website" /> | |
| <meta property="og:url" content="https://omnibus-txt2link-static.static.hf.space/index.html" /> | |
| <meta property="og:site_name" content="URL to Link Tool" /> | |
| <meta property="og:title" content="URL to Link Tool" /> | |
| <meta property="og:description" content="Description of Page Content" /> | |
| <meta property="og:image" content="https://omnibus-txt2link-static.static.hf.space/card_im.png" /> | |
| <meta name="format-detection" content="telephone=no" /> | |
| <link rel="stylesheet" href="style.css" /> | |
| <!--link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | |
| <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> | |
| <link rel="manifest" href="/manifest.json"--> | |
| </head> | |
| <body> | |
| <div class="card" id = "in_html" name="in_card"> | |
| </div> | |
| <script> | |
| const queryString = window.location.search; | |
| const urlParams = new URLSearchParams(queryString); | |
| const sty = urlParams.get("style"); | |
| document.getElementById("in_html").style=sty; | |
| const tit = urlParams.get("title"); | |
| if (tit !== null){ | |
| var titl = "<center><h1>"+tit+"</h1></center>" | |
| document.getElementById("in_html").innerHTML=titl; | |
| } | |
| const links = urlParams.get("links"); | |
| var linkz= links.split(","); | |
| let i = 0; | |
| while (i < linkz.length) { | |
| linkzz = linkz[i].replace("'","").replace("'","").replace('"','').replace('"',''); | |
| console.log(linkzz); | |
| var a = document.createElement('a'); | |
| var linkText = document.createTextNode(linkzz); | |
| a.appendChild(linkText); | |
| a.id = "link_class"; | |
| a.title = linkzz; | |
| a.href = linkzz; | |
| document.getElementById("in_html").appendChild(a); | |
| i++; | |
| }; | |
| //document.getElementById("in_html").innerHTML=links | |
| </script> | |
| </body> | |
| </html> | |