Last active
April 16, 2020 10:13
-
-
Save xates/1a3d7c30851221f332e397c88114f407 to your computer and use it in GitHub Desktop.
VSR Tweaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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