您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically selects your name on the World Language Games homepage. You will have to set the number index of your name manually, but only once.
// ==UserScript== // @name World Language Games - Name Auto Select // @license MIT // @namespace https://github.com/engelthehyp/Automation-for-World-Language-Games // @version 1.1 // @description Automatically selects your name on the World Language Games homepage. You will have to set the number index of your name manually, but only once. // @author https://github.com/engelthehyp/ // @match *://wlangames.net/* // @exclude *://wlangames.net/PlayGame.php* // @icon https://www.google.com/s2/favicons?domain=wlangames.net // @grant none // @run-at document-end // ==/UserScript== /** * TO FIND THE INDEX: * Start counting at 0. * For every name in the dropdown, add 1. (Including the "Enter your name" and "Special guest" options) * Stop when you get to your name. That number is the index. */ (function () { 'use strict'; const nameIndex = 0; // Enter the index of your name here document.getElementById('Student').selectedIndex = nameIndex; })();