您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-enable settings on Fast.com
- // ==UserScript==
- // @name Fast.com Auto Config
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Auto-enable settings on Fast.com
- // @author Luis123456xp
- // @match https://fast.com/*
- // @license MIT
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Esperar a que el DOM esté completamente cargado
- window.addEventListener('load', function() {
- // Activar la opción "Always show all metrics"
- const alwaysShowMetricsCheckbox = document.querySelector('#always-show-metrics-input');
- if (alwaysShowMetricsCheckbox && !alwaysShowMetricsCheckbox.checked) {
- alwaysShowMetricsCheckbox.click();
- }
- // Activar la opción "Save config for this device"
- const persistConfigCheckbox = document.querySelector('#persist-config-input');
- if (persistConfigCheckbox && !persistConfigCheckbox.checked) {
- persistConfigCheckbox.click();
- }
- // Guardar la configuración automáticamente
- const applyConfigButton = document.querySelector('#apply-config');
- if (applyConfigButton) {
- applyConfigButton.click();
- }
- });
- })();