The source code of https://pott.app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
3.3 KiB

  1. <!DOCTYPE html><html style="width:100vw;height:100vh;padding:0;margin:0;overflow:hidden"><head><title>KaffeePott</title><meta charset="UTF-8"> <script type="text/javascript">const getNavigatorLanguage=()=>(navigator.languages&&navigator.languages.length)?navigator.languages[0]:navigator.userLanguage||navigator.language||navigator.browserLanguage||'en';console.log(getNavigatorLanguage().split('-')[0]);const lang=getNavigatorLanguage().split('-')[0];const localisedUrl=lang+'/index.html';var request;if(window.XMLHttpRequest)request=new XMLHttpRequest();else request=new ActiveXObject('Microsoft.XMLHTTP');try{request.open('GET',localisedUrl,false);request.send();if(request.status===404){console.log('Invalid language -> EN');window.location='en';}else{console.log('Valid language'+lang.toUpperCase());window.location=lang;}}catch{if(lang==='de'||lang==='en'){console.log('Error + valid language -> '+lang.toUpperCase());window.location=lang;}else{console.log('Error + invalid language -> EN');window.location='en';}}</script> <noscript><link rel="icon" type="image/svg" href="kp-t.svg"><meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=0.8, user-scalable=0"/> </noscript></head><body style="background:#222;width:100vw;height:100vh;padding:0;margin:0;overflow:hidden"> <noscript><div class="section one-pane focus-on-second vibrant"><div class="pane has-content colour foreground" style="line-height: 1.4"><div class="central title"> <span>JavaScript<hr><span></div> <span class="content two-rows" lang="en"> <span><p class="text-block"> For a better experience, you should enable Java&shy;Script. Enable it and reload to be redirected to a web page matching your browser language or choose one of the available languages below:</p><ul class="text-block"><li><a class="plain" href="en/index.html"><nobr><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="external-link-alt" class="svg-inline--fa fa-external-link-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"></path></svg></nobr>English</a></li><li><a class="plain" href="de/index.html"><nobr><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="external-link-alt" class="svg-inline--fa fa-external-link-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"></path></svg></nobr>German</a></li></ul> </span> <span><p class="text-block"> In order to not use external scripts, we even provide the fonts you see on our website. However, Discord might use scripts to track you. Their terms and conditions apply for the data they collect. </span> </span></div> </noscript></body></html>