alesko / DHMZ default location (Pre-Alpha)

// ==UserScript==
// @name         DHMZ default location (Pre-Alpha)
// @namespace    http://tampermonkey.net/
// @version      0.0.3
// @description  Use a scecific city as default
// @author       A.S.
// @match        https://meteo.hr/prognoze.php?section=prognoze_model&param=3d
// @icon         https://www.google.com/s2/favicons?sz=64&domain=meteo.hr
// @grant        none
// @run-at       document-start
// @license      MIT
// @updateURL    https://openuserjs.org/meta/alesko/DHMZ_default_location_(Pre-Alpha).meta.js
// @downloadURL  https://openuserjs.org/install/alesko/DHMZ_default_location_(Pre-Alpha).user.js
// @copyright    2022, A.S.
// ==/UserScript==

(function () {
  'use strict';

  var cityCode = "Osijek";
  var newURL = "https://meteo.hr/prognoze.php?Code=" + cityCode + "&id=prognoza&section=prognoze_model&param=3d"
  location.replace(newURL);

  // Your code here...
})();