Skip to content

Instantly share code, notes, and snippets.

@xates
Last active April 16, 2020 10:13
Show Gist options
  • Select an option

  • Save xates/1a3d7c30851221f332e397c88114f407 to your computer and use it in GitHub Desktop.

Select an option

Save xates/1a3d7c30851221f332e397c88114f407 to your computer and use it in GitHub Desktop.
VSR Tweaks
// ==UserScript==
// @name VSR Tweaks
// @namespace https://gist.github.com/xates
// @version 1.0
// @description Unlocks features on the Italian version of the VOX 2.5
// @description:it Sblocca funzionalità aggiuntive sulla Station Revolution
// @author xates
// @homepage https://gist.github.com/xates/1a3d7c30851221f332e397c88114f407
// @downloadURL https://gist.github.com/xates/1a3d7c30851221f332e397c88114f407/raw/vsr-tweaks.user.js
// @match http://vodafone.station/*
// @match http://192.168.1.1/*
// @grant none
// ==/UserScript==
(function () {
"use strict";
if (typeof window.FC === "undefined") return;
window.createCookie("basic_expert_mode", "Expert");
document.head.appendChild(document.createElement("style")).innerHTML = "html[class*=lang_it] .generalStatus .streamSpeeds{top:0;left:10px}@media (max-width:1110px){html[class*=lang_it] .generalStatus .streamSpeeds{margin-left:80px}}";
window.FC.rate_overview = true;
window.FC.firewall.separated = true;
window.FC.ssid_prefix = false;
window.FC.wifi.power_of_signal = true;
window.FC.subnet_mask_editable = true;
window.FC.ppp_session_uptime = true;
window.FC.trace_wan_all = true;
window.addEventListener("hashchange", function () {
switch (window.location.hash) {
case "#cat=wifi_settings":
case "#cat=settings_lan":
case "#cat=status-and-support_diagnostic-utility":
window.FC.layout = window.wbm_layout.VOX_2_5_UK;
break;
default:
window.FC.layout = window.gw_wbm_get_layout();
}
}, false);
window.dispatchEvent(new Event("hashchange"));
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment