您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Unchecks checkboxes with names containing "_subscriptions" on the GOG subscriptions page
// ==UserScript== // @name Uncheck GOG Subscriptions Boxes // @namespace http://tampermonkey.net/ // @version 0.4 // @description Unchecks checkboxes with names containing "_subscriptions" on the GOG subscriptions page // @author yallouch // @match https://www.gog.com/fr/account/settings/subscriptions // @licence MIT // @grant none // ==/UserScript== (function() { 'use strict'; // Wait for the page to be fully loaded window.addEventListener('load', function() { // Find the checkboxes by their names containing "_subscriptions" and uncheck them var checkboxes = document.querySelectorAll('[name*="subscription"]'); checkboxes.forEach(function(checkbox, index) { // Skip the first checkbox (index 0) if (index <= 0 && checkbox.checked) { // Simulate a user click on each checkbox (excluding the first checkbox) checkbox.click(); } else if (index <= 0 && checkbox.unchecked){ console.log() } else if (index > 0 && checkbox.checked){ checkbox.click(); } }); })})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址