Meteoblue.com Dark Mode & Settings Changer

Change the default weather forecast theme to dark and select units for temperature, wind speed and precipitation

// ==UserScript==
// @name         Meteoblue.com Dark Mode & Settings Changer
// @namespace    https://violentmonkey.github.io/
// @version      1.0
// @description  Change the default weather forecast theme to dark and select units for temperature, wind speed and precipitation
// @author       Streampunk
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAADECAYAAADApo5rAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQeYFEX2f9Uzu7ORTSzLkgQxYQL0VAwnYRGUM53Z8zgF7+RvQEHZBTz1MJNUFDGdp8dx5gRmZEHwFBUDkg0gQcIubJjNaabr/72eqdnunu7pMN2Tdvr7/NSd6lev3nu/915VvaomEINPxtgpxSk0bRDn9fRyAFdEgfYAjhRRSosASA4AZBKATADIAKCZAKSbNcOgAECsIRWvVHD4KAaVR1lC7CVaD0CaeOCbCMc1Aw9NALSOEFIJPK0kQA56ga/kHc79jnb+55rVc/dGQkwaQ5KwEHXtZ5xT1svF82dzQIYCR4YCpUMASGGsCUo3P0akr5toojakh4CQH4Cn63mg69s47rPmFXP36x6tDbKOCiDyRk89geMdFwIhF1GA3xFCosKHbsELDX3ST8YQY1Iz0ppSSgkH3/A8LCNOblnN8jlbbLD5kCxFxhAvv9yRWzvw907gL+IpvZAQcrgRQdnV1l7jtpe6XTKxi64ZaVBKf+UIt8xD+GXu3F2fwxtveO3ij9G1FxDHzkrNK268hCOO6ynlS+IjEtgt8kSlr+LLLXDxvshByqmHPF9Tmb4Uts5qt0uK9gBixKy0fEfjTYRwpQDQE5k34yG0B20PVe1+u3ALCww8WHqGiB7wUjrH3ex5Dr58rMVqTVgLiDHTMvO9MEkMBKsZTtKzTgL2uhNDRm5mULYAwzJA5I6eMYKj3hcJIf3NjC5o7SvE0l9nW3tVqjkO23WuyUEcNbBHV5TSXTxxTHCXz15thTDCB8SYaZl5XjKHANzUVecI9qg6HPXGHkfhjEbrXZxjUEIX1XIwAz6Z36TVPtTvYQG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z1pySsnMcwH9ACJcSdeVojcqq3/UIxqq+NBQRaVasHJZxWtaNllLa4fXScXWr55fr4UNzDiEmkjuqbIKDgxf0EE62iZYErDOmaI1ArV8zjthL4Tr3yrmL9Y7FECCQaKztYpsRkl7hJNv5JBCvMlbbjQ6lV8OAQGJ5o8qmE0IfjpdLCRLXZ6qrNhpGHI0+lSSAlwYQSu+u/nT+g511rPrcmyogtIwod2TZJQ4HXQJAMvR1Za6VFh+6qVpGSHePsoZRZ8DHT4ywoSrFsPmjzV4v/ZP70/nLzGjKVIRgHWWNnjLIRVNfAgJDzXQesXd0CjlWPFzE5JJoHVFY30bar2ksX7DN7NAMAyLItk6+IaV7Xt4cnvJT4iWFMius5HtWS8AaF0SBeinl5tS6a2fBd891hMOlYUCodZZzTlmJk6eLgZDe4TCUfFcqAWtMJoGlSuk+SrkralbNWWvFKC0DhMDMiJuyChxZkynQsuQBIyvUk6ShJgFKqZtQOr+ab34cVj+l/lFygyK0FhD+zvE8hdORejsFfioQLssgT8nmXUoCBmMg5Rt5wj1OPe3z3asXuK0WlS2AYEwiMAiXOokQehMhpJ/v7zpnuLpGaiUtXR0mG0VJApTSPZRwT1NP2zN2AIENy1ZABGR3+eWO3KoBf3A4yGQAOjpKMo3bbg360LgdpyLjPF3ppXShu/vu9+GNNzq/S2DpKDsda2QAIWIeP+GV6iAlHKGjKIVRhJD+lo6tyxBLTJjwwG8nwH1KKb+q3UtWN62eVxFJlUYcEPLB5Z47pT/pcA7jgAwFjgwFSocAkMJICiHZV7QkQA8BIT8AT9fzQNcDaV9bW/7EnmhxwxL6aPav2Hf+iLI+3lTuKM7r6eUArogC7QEcKaKUFgGQHADIpAAZnPBvmkkSoiw9EeZDtB6ANOFHYSkA/rsJgNYRQiqBp5UEyEEv8JW8w7m/g7Rua16+QOVjn9Ezyf8HUq7oNYGDsXcAAAAASUVORK5CYII=
// @match        https://www.meteoblue.com/*
// @run-at       document-start
// @grant        none
// @license      MIT; https://opensource.org/licenses/MIT
// ==/UserScript==

// Set the weather forecast display options that are most convenient for you

// Dark mode: true, false
   var darkmode = 'true';

// Temperature: FAHRENHEIT, CELSIUS
   var temp = 'CELSIUS';

// Wind speed: BEAUFORT, KILOMETER_PER_HOUR, METER_PER_SECOND, MILE_PER_HOUR, KNOT
   var speed = 'METER_PER_SECOND';

// Precipitation: MILLIMETER, INCH
   var precip = 'MILLIMETER';

// Locale: ar_SA - العربية, bg_BG - Български, cs_CZ - Čeština, de_DE - Deutsch, el_GR - Ελληνικά, en_GB - English, es_ES - Español, fr_FR - Français, hr_HR - Hrvatski, hu_HU - Magyar, it_IT - Italiano, ka_GE - ქართული ენა, nl_NL - Nederlands, pl_PL - Polski, pt_PT - Português, ro_RO - Română, ru_RU - Русский, sk_SK - Slovenský, sr_RS - Srpski, tr_TR - Türkçe, uk_UA - Українська
// Seems we can't set the locale with a cookie, as it's only set automatically based on user's locale in the browser or language in the URL request
//   var locale = 'en_GB';

// Set the value of custom settings as activated, so that the script works properly
   var user_settings = 'activated';

// A Function to Set a Cookie
function setCookie(cName, cValue) {
  const domain = "domain=www.meteoblue.com";
  document.cookie = cName + "=" + cValue + ";" + domain + ";";
}

// A Function to Get a Cookie
function getCookie(cName) {
  let Name = cName + "=";
  let ca = document.cookie.split(';');
  for(let i = 0; i < ca.length; i++) {
    let c = ca[i];
    while (c.charAt(0) == ' ') {
      c = c.substring(1);
    }
    if (c.indexOf(Name) == 0) {
      return c.substring(Name.length, c.length);
    }
  }
  return "";
}

// A Function that Checks if a Cookie is set
function checkCookie() {
  let user = getCookie("user_settings");
  if (user != "") {
 // Remember to open the console (Press F12)
    console.error("Сookies with custom weather forecast settings are set!");
  } else {
 // Apply setCookie
    setCookie('darkmode', darkmode);
    setCookie('temp', temp);
    setCookie('speed', speed);
    setCookie('precip', precip);
 //   setCookie('locale', locale);
    setCookie('user_settings', user_settings);
    location.reload();
  }
}

// Check if Сookies are set and if not, set a Сookie with custom weather forecast settings
checkCookie();