text: var OSName = "Unknown OS";
  if (navigator.userAgent.indexOf("Win") != -1) OSName = "Windows";
  if (navigator.userAgent.indexOf("Mac") != -1) OSName = "Macintosh";
  if (navigator.userAgent.indexOf("Linux") != -1) OSName = "Linux";
  if (navigator.userAgent.indexOf("Android") != -1) OSName = "Android";
  if (navigator.userAgent.indexOf("like Mac") != -1) OSName = "iOS";
  console.log('Your operating system is ' + OSName + '. Showing downloads for only for this operating system.');
  
  (function() { // Detect weather that the user is using either a Windows operating system or a Mac operating system
  
      var htmlElement = document.documentElement;
    
      if (navigator.platform.match(/(Mac)/i)) {
        htmlElement.className = 'mac';
      } else if (navigator.platform.match(/(Windows|Win32|Win64|Win32|Win16|WinCE)/i)) {
        htmlElement.className = 'windows';
      } else if (navigator.platform.match(/(Linux)/i)) {
        htmlElement.className = 'linux';
      } else if (navigator.platform.match(/(Android)/i)) {
        htmlElement.className = 'android';
      } else if (navigator.platform.match(/(iPhone|iPod|iPad)/i)) {
        htmlElement.className = 'ios';
      }
    
      document.addEventListener('click', function(event) {
        var target = event.target;
        if (target.getAttribute && target.getAttribute('data-action') === 'switch-os') {
          event.preventDefault();
          htmlElement.className = target.getAttribute('data-os')
        }
      })
  })();
  
  if(navigator.appVersion.indexOf("Windows ")!=-1){
      os = getWindowsOS();
  }else{
      os = navigator.platform;
  }
  
  function getWindowsOS(){
  	if(navigator.appVersion.indexOf("Windows NT 10.")!=-1){ // Windows 10
          document.getElementById('w10').style.display = 'inherit'; // In case there is a Microsoft Store option, for Windows 10 and Windows 11 only
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 6.3")!=-1){ // Windows 8.1
  		
  	}else if(navigator.appVersion.indexOf("Windows NT 6.2")!=-1){ // Windows 8
  		
  	}else if(navigator.appVersion.indexOf("Windows NT 6.1")!=-1){ // Windows 7
          
  	}else if(navigator.appVersion.indexOf("Windows NT 6.0")!=-1){ // Vista
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 5.2")!=-1){ // Windows XP
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 5.1")!=-1){ // Windows XP (Again)
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 5.01")!=-1){ // Windows 2000
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 5.0")!=-1){ // Windows 2000
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows NT 4.0")!=-1){ // Windows NT 
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows 98; Win 9x 4.90")!=-1){ // Windows Millennium Edition
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows 98")!=-1){ // Windows 98
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows 95")!=-1){ // Windows 95
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else if(navigator.appVersion.indexOf("Windows CE")!=-1){ // Windows CE
          document.getElementById('w-notSupported').style.display = 'inherit';
          document.getElementById('w-Supported').style.display = 'none';
  	}else{ // Literally any other operating system that is not Windows
          
  	}
  }