SEO & Content

Meta Tag Viewer Free

Bir URL'nin title, meta description, robots, canonical, viewport, charset, OG ve Twitter etiketlerini anında görüntüleyin.

Check Meta Tags
Information

About Meta Tag Viewer Free

Meta tags are hidden lines of HTML that a webpage uses to introduce itself to search engines and social media platforms. Properly structured meta tags... </code> and <code><meta description></code> While it directly affects Google rankings, <code>og:title</code> and <code>og:image</code> like <strong>Open Graph</strong> Tags determine the preview that appears in Facebook, LinkedIn, and WhatsApp posts. <code>robots</code> The `<head>` tag determines whether or not the page should be indexed.</p> <p>This free Meta Tag Viewer tool sends a server-side request to the URL you enter to view the page's meta tag. <strong>title</strong>, <strong>meta description</strong>, <strong>keywords</strong>, <strong>robots</strong>, <strong>canonical</strong>, <strong>viewport</strong> and <strong>charset</strong> including all standard meta tags <strong>Open Graph (og:*)</strong> and <strong>Twitter Card</strong> It parses the tags and lists them in a table grouped by type. This allows you to analyze the SEO structure of competitor sites and quickly identify missing or incorrect tags on your own page.</p> <p>The inquiry is conducted securely: only <code>http</code>/<code>https</code> Addresses allowed: local network and private IP ranges (<em>localhost, 127.0.0.1, 10.x, 192.168.x etc.</em>The request will be blocked and will time out if it is not completed within 10 seconds. No data is stored on our servers.</p> </div> </div> <div class="col-lg-6"> <span class="hg-eyebrow">How to use it?</span> <h2 class="mt-2 mb-4">Step by step</h2> <ol class="hg-tool-steps"> <li>Enter the address of the page you wish to view: <strong>https://example.com</strong> Type or paste the full URL in this format.</li><li><strong>Get Tags</strong> Click the button; the tool will pull the page from the server. <code><head></code> It separates the section.</li><li>Page title (<strong>title</strong>), character set (<strong>charset</strong>The `<head>` and `canonical URL` are summarized first; then all meta tags are listed in the table.</li><li>Labels are distinguished by their type using colored badges: <strong>Standard</strong>, <strong>Open Graph</strong>, <strong>Twitter Card</strong> and <strong>Other</strong>.</li><li>Any value <strong>Copy</strong> You can add it to your clipboard using the button.</li> </ol> </div> </div> </div> </section> <section class="section-space-bottom"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-9"> <div class="text-center mb-8"> <span class="hg-eyebrow">FAQ</span> <h2 class="mt-2 mb-0">Frequently Asked Questions</h2> </div> <div class="accordion accordion--primary accordion-separate-body" id="faq-meta-etiket-goruntuleyici"> <div class="accordion-item"> <h3 class="accordion-header"> <button class="accordion-button fw-medium shadow" type="button" data-bs-toggle="collapse" data-bs-target="#faq-meta-etiket-goruntuleyici-0" aria-expanded="true"> Why are meta tags important for SEO? </button> </h3> <div id="faq-meta-etiket-goruntuleyici-0" class="accordion-collapse shadow collapse show" data-bs-parent="#faq-meta-etiket-goruntuleyici"> <div class="accordion-body border border-dark border-opacity-5 fs-14">Google and other search engines, <code>title</code> and <code>meta description</code> It displays keywords and compelling descriptions in search results. The right keywords and attractive descriptions increase click-through rates. <code>robots</code> The tag determines whether the page will be indexed or not. <code>canonical</code> This prevents duplicate content issues by specifying the original URL.</div> </div> </div><div class="accordion-item"> <h3 class="accordion-header"> <button class="accordion-button fw-medium shadow collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faq-meta-etiket-goruntuleyici-1" aria-expanded="false"> What are OpenGraph tags used for? </button> </h3> <div id="faq-meta-etiket-goruntuleyici-1" class="accordion-collapse shadow collapse" data-bs-parent="#faq-meta-etiket-goruntuleyici"> <div class="accordion-body border border-dark border-opacity-5 fs-14">Open Graph tags (og:title, og:description, og:image, etc.) control the card that appears when a page is shared on platforms like Facebook, LinkedIn, WhatsApp, and Discord. If og:image is missing or the size is incorrect, the share card will appear broken.</div> </div> </div><div class="accordion-item"> <h3 class="accordion-header"> <button class="accordion-button fw-medium shadow collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faq-meta-etiket-goruntuleyici-2" aria-expanded="false"> Are Twitter Card stickers different from Open Graph? </button> </h3> <div id="faq-meta-etiket-goruntuleyici-2" class="accordion-collapse shadow collapse" data-bs-parent="#faq-meta-etiket-goruntuleyici"> <div class="accordion-body border border-dark border-opacity-5 fs-14">Twitter uses its own twitter:card, twitter:title, twitter:description, and twitter:image tags. If these tags are not available, Twitter reads Open Graph tags as backups. If both sets are added, Twitter prioritizes its own tags.</div> </div> </div><div class="accordion-item"> <h3 class="accordion-header"> <button class="accordion-button fw-medium shadow collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faq-meta-etiket-goruntuleyici-3" aria-expanded="false"> Why am I not getting results on some websites? </button> </h3> <div id="faq-meta-etiket-goruntuleyici-3" class="accordion-collapse shadow collapse" data-bs-parent="#faq-meta-etiket-goruntuleyici"> <div class="accordion-body border border-dark border-opacity-5 fs-14">Some servers may block bot requests, time out due to slow response times, or use invalid SSL certificates. Additionally, for security reasons, queries cannot be made to private networks or local IP addresses.</div> </div> </div><div class="accordion-item"> <h3 class="accordion-header"> <button class="accordion-button fw-medium shadow collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faq-meta-etiket-goruntuleyici-4" aria-expanded="false"> Can I analyze competitor websites with this tool? </button> </h3> <div id="faq-meta-etiket-goruntuleyici-4" class="accordion-collapse shadow collapse" data-bs-parent="#faq-meta-etiket-goruntuleyici"> <div class="accordion-body border border-dark border-opacity-5 fs-14">Yes. You can enter any public URL and examine title lengths, description texts, robots directives, and missing OG tags. This information can be used as a reference when optimizing your own page.</div> </div> </div> </div> </div> </div> </div> </section> <section class="section-space-bottom"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-9 text-center"> <a href="/en/tools/" class="hg-tool-back"> <iconify-icon icon="solar:arrow-left-linear"></iconify-icon> Return to all free tools </a> </div> </div> </div> </section> </main> <footer class="hg-footer section-space-top position-relative z-1 overflow-hidden"> <div class="section-space-sm-bottom"> <div class="container"> <div class="hg-foot-top d-flex flex-wrap align-items-center justify-content-between gap-4 pb-4 mb-4"> <div class="d-flex align-items-center gap-3 flex-wrap"> <a class="logo d-inline-block flex-shrink-0" href="/en/"> <img src="/theme/assets/img/hostragons-logo.svg" alt="Hostragons" width="182" height="40" class="logo__img footer-logo"> </a> <span class="hg-foot-intro mb-0">Your reliable partner for web hosting, WordPress, reseller hosting, virtual servers, and domain names.</span> </div> <div class="hg-foot-awards d-flex align-items-center gap-2"> <span class="hg-foot-label mb-0 me-1 d-none d-sm-inline">Our Awards</span> <span class="hg-award-box"><img src="/theme/assets/img/award-cloud-2021.png" alt="Top 10 Cloud Hosting 2021" width="100" height="100" class="hg-award" loading="lazy"></span> <span class="hg-award-box"><img src="/theme/assets/img/award-offshore-2025.webp" alt="Top 25 Offshore Hosting Options 2025" width="100" height="100" class="hg-award" loading="lazy"></span> <span class="hg-award-box"><img src="/theme/assets/img/award-gaming-2026.webp" alt="Top 25 Gaming Hosting 2026" width="100" height="100" class="hg-award" loading="lazy"></span> </div> </div> <div class="row g-4"> <div class="col-6 col-lg-3"> <p class="hg-foot-h h6 mb-0">Data Center</p> <ul class="list gap-2"> <li><a href="/en/linux-hosting/" class="hg-foot-link">Web Hosting</a></li> <li><a href="/en/reseller-hosting/" class="hg-foot-link">Reseller Hosting</a></li> <li><a href="/en/wordpress-hosting/" class="hg-foot-link">WordPress Hosting</a></li> <li><a href="/en/mail-hosting/" class="hg-foot-link">Mail Hosting</a></li> <li><a href="/en/virtual-server/" class="hg-foot-link">Virtual Server</a></li> <li><a href="/en/dns-services/" class="hg-foot-link">DNS Hosting</a></li> </ul> </div> <div class="col-6 col-lg-3"> <p class="hg-foot-h h6 mb-0">Our Services</p> <ul class="list gap-2"> <li><a href="/en/organic-traffic/" class="hg-foot-link">Organic Hit</a></li> <li><a href="/en/whmcs-modules/" class="hg-foot-link">WHMCS Modules</a></li> <li><a href="/en/wordpress-optimization/" class="hg-foot-link">WordPress Optimization</a></li> <li><a href="/en/server-optimization/" class="hg-foot-link">Server Optimization</a></li> <li><a href="/en/cloudflare-optimization/" class="hg-foot-link">CloudFlare Optimization</a></li> <li><a href="/en/google-ads-optimization/" class="hg-foot-link">Google Ads Optimization</a></li> </ul> </div> <div class="col-6 col-lg-3"> <p class="hg-foot-h h6 mb-0">Other</p> <ul class="list gap-2"> <li><a href="/en/service-plugins/" class="hg-foot-link">Service Add-ons</a></li> <li><a href="/en/free-hosting/" class="hg-foot-link">Free Hosting & Domain Name</a></li> <li><a href="/ai" class="hg-foot-link">RagonsAI</a></li> </ul> </div> <div class="col-6 col-lg-3"> <p class="hg-foot-h h6 mb-0">Hostragons®</p> <ul class="list gap-2"> <li><a href="/en/blog/" class="hg-foot-link">blog</a></li> <li><a href="/en/about-us/" class="hg-foot-link">About Us</a></li> <li><a href="/en/contact/" class="hg-foot-link">Contact</a></li> <li><a href="/en/service-agreement/" class="hg-foot-link">Service Agreement</a></li> <li><a href="/en/refund-policy/" class="hg-foot-link">Return Policy</a></li> <li><a href="/en/privacy-policy/" class="hg-foot-link">Privacy Policy</a></li> <li><a href="/en/cookie-policy/" class="hg-foot-link">Cookie Policy</a></li> </ul> </div> </div> </div> </div> <div class="py-3 border-dark-subtle border-top"> <div class="container"> <div class="row g-3 g-lg-0 align-items-center"> <div class="col-lg-8"> <p class="mb-0 fs-14 hg-foot-copy">© 2020 Hostragons® — UK-based hosting provider, registration number 14320956. All rights reserved.</p> </div> <div class="col-lg-4"> <ul class="list list-row align-items-center justify-content-lg-end gap-4 flex-wrap mb-0"> <li><a href="https://www.facebook.com/hostragonsglobal" target="_blank" rel="noopener noreferrer" aria-label="Facebook" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="ic:baseline-facebook" class="fs-24"></iconify-icon></a></li> <li><a href="https://x.com/hostragons" target="_blank" rel="noopener noreferrer" aria-label="X (Twitter)" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="ri:twitter-x-fill" class="fs-24"></iconify-icon></a></li> <li><a href="https://www.instagram.com/hostragons/" target="_blank" rel="noopener noreferrer" aria-label="Instagram" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="mdi:instagram" class="fs-24"></iconify-icon></a></li> <li><a href="https://www.youtube.com/@hostragons" target="_blank" rel="noopener noreferrer" aria-label="YouTube" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="mdi:youtube" class="fs-24"></iconify-icon></a></li> <li><a href="https://www.flickr.com/photos/202229767@N08/" target="_blank" rel="noopener noreferrer" aria-label="Flickr" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="mdi:flickr" class="fs-24"></iconify-icon></a></li> <li><a href="https://hostragons.medium.com/" target="_blank" rel="noopener noreferrer" aria-label="Medium" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="mdi:medium" class="fs-24"></iconify-icon></a></li> <li><a href="https://uk.pinterest.com/hostragonsglobal/" target="_blank" rel="noopener noreferrer" aria-label="Pinterest" class="link d-inline-block text-body hover:text-primary"><iconify-icon icon="mdi:pinterest" class="fs-24"></iconify-icon></a></li> </ul> </div> </div> </div> </div> <img src="/theme/assets/img/shapes/footer-shape-1.png" alt="" width="1016" height="667" loading="lazy" decoding="async" class="img-fluid position-absolute start-0 bottom-0 z-n1 pointer-none d-none d-md-block footer-shape-1"> <img src="/theme/assets/img/shapes/footer-shape-2.png" alt="" width="934" height="1016" loading="lazy" decoding="async" class="img-fluid position-absolute end-0 top-50 translate-middle-y z-n1 pointer-none d-none d-md-block footer-shape-2"> </footer> <script defer src="/theme/assets/js/bootstrap.bundle.js"></script> <script defer src="/theme/assets/js/iconify.js"></script> <script defer src="/theme/assets/js/simplebar.js"></script> <script defer src="/theme/assets/js/swiper.js"></script> <script defer src="/theme/assets/js/prism.js"></script> <script defer src="/theme/assets/js/app.js"></script> <script defer src="/theme/assets/js/currency.js?v=20260619c"></script> <script defer src="/theme/assets/js/hg-dom-i18n.js"></script> <script defer src="/theme/assets/js/hg-domain.js"></script> <script defer src="/theme/assets/js/hg-header.js"></script> <script>(function(){var btn=document.getElementById("hgThemeToggle");if(!btn)return;btn.addEventListener("click",function(){var cur=document.documentElement.getAttribute("data-bs-theme")==="dark"?"dark":"light";var next=cur==="dark"?"light":"dark";document.documentElement.setAttribute("data-bs-theme",next);try{localStorage.setItem("theme",next)}catch(e){}})})(); </script> <div id="hgAichatPanel" class="hg-aichat-panel" role="dialog" aria-modal="false" aria-labelledby="hgAichatTitle" aria-hidden="true" hidden> <div class="hg-aichat-panel__head"> <span class="hg-aichat-panel__avatar" aria-hidden="true"> <iconify-icon icon="tabler:sparkles" class="hg-aichat-panel__avatar-ico"></iconify-icon> <span class="hg-aichat-panel__dot"></span> </span> <span class="hg-aichat-panel__head-txt"> <span class="hg-aichat-panel__title" id="hgAichatTitle">Hostragons Assistant</span> <span class="hg-aichat-panel__status"><span class="hg-aichat-panel__status-dot" aria-hidden="true"></span>Online</span> </span> <button type="button" class="hg-aichat-panel__close" id="hgAichatClose" aria-label="Close" title="Close"><iconify-icon icon="solar:close-circle-linear"></iconify-icon></button> </div> <div class="hg-aichat-panel__body" id="hgAichatBody" aria-live="polite"> <div class="hg-aichat-msg hg-aichat-msg--bot"> <span class="hg-aichat-ava" aria-hidden="true"><iconify-icon icon="tabler:sparkles"></iconify-icon></span> <span class="hg-aichat-bubble">Hi! I'm the Hostragons Assistant. I can help you with questions about hosting, servers and domain names. What would you like to know?</span> </div> <div class="hg-aichat-chips" id="hgAichatChips"> <button type="button" class="hg-aichat-chip">Which hosting is right for me?</button> <button type="button" class="hg-aichat-chip">Is Node.js supported?</button> <button type="button" class="hg-aichat-chip">What are the prices?</button> <button type="button" class="hg-aichat-chip">What do you recommend for WordPress?</button> </div> </div> <form class="hg-aichat-panel__form" id="hgAichatForm" autocomplete="off"> <div class="hg-aichat-inputwrap"> <input type="text" class="hg-aichat-input" id="hgAichatInput" name="message" placeholder="Type your message..." aria-label="Type your message..." maxlength="1000"> <button type="submit" class="hg-aichat-send" id="hgAichatSend" aria-label="Send" title="Send"><iconify-icon icon="solar:plain-2-bold"></iconify-icon><span class="hg-aichat-send__label">Send</span></button> </div> <span class="hg-aichat-foot">Powered by the Hostragons AI assistant.</span> </form> <span id="hgAichatErr" aria-label="Sorry, I couldn't respond right now. Please try again." style="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)"></span> </div> <script>(function(){var trigger=document.getElementById("hgAichatTrigger");var panel=document.getElementById("hgAichatPanel");if(!trigger||!panel)return;var inited=false,sending=false;var history=[];var STORE_KEY="hg_aichat_state";var transcript=[];var panelOpen=false,chipsHidden=false,restoring=false;function saveState(){if(restoring)return;try{sessionStorage.setItem(STORE_KEY,JSON.stringify({v:1,transcript:transcript.slice(-60),history:history.slice(-12),open:panelOpen,chipsHidden}))}catch(e){}}function loadState(){try{var raw=sessionStorage.getItem(STORE_KEY);if(!raw)return null;var st=JSON.parse(raw);if(!st||st.v!==1||!Array.isArray(st.transcript))return null;return st}catch(e){return null}}function errText(){var e=document.getElementById("hgAichatErr");return e&&e.getAttribute("aria-label")||"\xDCzg\xFCn\xFCm, \u015Fu an yan\u0131t veremedim. L\xFCtfen tekrar deneyin."}function bodyEl(){return document.getElementById("hgAichatBody")}function scrollDown(){var b=bodyEl();if(b)b.scrollTop=b.scrollHeight}function esc(s){return String(s).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function renderMd(text){var h=esc(text);h=h.replace(/\*\*([^*]+)\*\*/g,"<strong>$1</strong>");h=h.replace(/\[([^\]]+)\]\((https?:\/\/[^\s)]+|\/[^\s)]*)\)/g,function(m,label,url){return'<a href="'+url+'" rel="noopener" target="_blank">'+label+"</a>"});h=h.replace(/(^|[\s(])(https?:\/\/[^\s<)]+)/g,function(m,pre,url){return pre+'<a href="'+url+'" rel="noopener" target="_blank">'+url+"</a>"});return h}function addMsg(role,text,noRecord){var b=bodyEl();if(!b)return null;var wrap=document.createElement("div");wrap.className="hg-aichat-msg hg-aichat-msg--"+(role==="user"?"user":"bot");if(role!=="user"){var ava=document.createElement("span");ava.className="hg-aichat-ava";ava.setAttribute("aria-hidden","true");ava.innerHTML='<iconify-icon icon="tabler:sparkles"></iconify-icon>';wrap.appendChild(ava)}var bubble=document.createElement("span");bubble.className="hg-aichat-bubble";if(role==="user")bubble.textContent=text;else bubble.innerHTML=renderMd(text);wrap.appendChild(bubble);b.appendChild(wrap);scrollDown();if(!noRecord){transcript.push({t:"msg",role:role==="user"?"user":"bot",text:String(text)});saveState()}return wrap}function addLinks(links,noRecord){if(!Array.isArray(links)||!links.length)return;var b=bodyEl();if(!b)return;var wrap=document.createElement("div");wrap.className="hg-aichat-msg hg-aichat-msg--bot";var box=document.createElement("div");box.className="hg-aichat-links";var saved=[];links.slice(0,5).forEach(function(l){var href=l&&(l.href||l.url);if(!href)return;var a=document.createElement("a");a.className="hg-aichat-link";a.href=String(href);a.rel="noopener";a.textContent=String(l.label||l.title||href);box.appendChild(a);saved.push({href:String(href),label:String(l.label||l.title||href)})});if(!box.childNodes.length)return;wrap.appendChild(box);b.appendChild(wrap);scrollDown();if(!noRecord&&saved.length){transcript.push({t:"links",links:saved});saveState()}}function hideChips(){var c=document.getElementById("hgAichatChips");if(c)c.classList.add("is-hidden");chipsHidden=true}function showTyping(){var b=bodyEl();if(!b)return null;var wrap=document.createElement("div");wrap.className="hg-aichat-msg hg-aichat-msg--bot";wrap.innerHTML='<span class="hg-aichat-ava" aria-hidden="true"><iconify-icon icon="tabler:sparkles"></iconify-icon></span><span class="hg-aichat-bubble hg-aichat-typing"><span></span><span></span><span></span></span>';b.appendChild(wrap);scrollDown();return wrap}function setSending(state){sending=state;var send2=document.getElementById("hgAichatSend");if(send2)send2.disabled=state}function openPanel(noFocus){if(!inited)init();panel.hidden=false;panel.setAttribute("aria-hidden","false");trigger.setAttribute("aria-expanded","true");requestAnimationFrame(function(){panel.classList.add("is-open")});if(!noFocus){var inp=document.getElementById("hgAichatInput");if(inp)setTimeout(function(){inp.focus()},60)}panelOpen=true;saveState()}function closePanel(){panel.classList.remove("is-open");panel.setAttribute("aria-hidden","true");trigger.setAttribute("aria-expanded","false");setTimeout(function(){if(!panel.classList.contains("is-open"))panel.hidden=true},240);panelOpen=false;saveState()}function send(text){if(sending)return;text=(text||"").trim();if(!text)return;hideChips();addMsg("user",text);history.push({role:"user",content:text});var inp=document.getElementById("hgAichatInput");if(inp)inp.value="";setSending(true);var typing=showTyping();var lang=(document.documentElement.getAttribute("lang")||"tr").toLowerCase();var ctrl=typeof AbortController!=="undefined"?new AbortController:null;var timer=setTimeout(function(){if(ctrl)ctrl.abort()},3e4);fetch("/araclar/api/ai-chat.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:text,lang,history:history.slice(-12)}),signal:ctrl?ctrl.signal:void 0}).then(function(r){if(!r.ok)throw new Error("HTTP "+r.status);return r.json()}).then(function(data){clearTimeout(timer);if(typing&&typing.parentNode)typing.parentNode.removeChild(typing);var reply=data&&(data.reply||data.answer||data.message)||"";if(reply){addMsg("bot",reply);history.push({role:"assistant",content:reply})}else{addMsg("bot",errText())}addLinks(data&&(data.suggestedLinks||data.links))}).catch(function(){clearTimeout(timer);if(typing&&typing.parentNode)typing.parentNode.removeChild(typing);addMsg("bot",errText())}).then(function(){setSending(false);if(inp)inp.focus()})}function init(){if(inited)return;inited=true;var form=document.getElementById("hgAichatForm");var closeBtn=document.getElementById("hgAichatClose");if(form)form.addEventListener("submit",function(e){e.preventDefault();var inp=document.getElementById("hgAichatInput");send(inp?inp.value:"")});if(closeBtn)closeBtn.addEventListener("click",closePanel);var chips=document.getElementById("hgAichatChips");if(chips)chips.addEventListener("click",function(e){var btn=e.target.closest?e.target.closest(".hg-aichat-chip"):null;if(btn)send(btn.textContent||"")});document.addEventListener("keydown",function(e){if(e.key==="Escape"&&panel.classList.contains("is-open"))closePanel()})}trigger.addEventListener("click",function(){if(panel.classList.contains("is-open"))closePanel();else openPanel()});function restoreState(){var st=loadState();if(!st||!st.transcript.length)return;restoring=true;try{init();if(Array.isArray(st.history))history=st.history.slice(-12);var b=bodyEl();if(b){while(b.firstChild)b.removeChild(b.firstChild)}hideChips();st.transcript.forEach(function(it){if(!it)return;if(it.t==="msg")addMsg(it.role==="user"?"user":"bot",String(it.text||""),true);else if(it.t==="links")addLinks(it.links,true)});transcript=st.transcript.slice();chipsHidden=true;scrollDown();if(st.open){panelOpen=true;openPanel(true)}}catch(e){}restoring=false;saveState()}if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",restoreState);else restoreState()})(); </script> </body> </html>