您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add role="application" to PyGame div on TechSmart site
// ==UserScript== // @name Add Application ARIA to pygame container // @namespace https://platform.techsmart.codes/ // @version 0.1 // @description Add role="application" to PyGame div on TechSmart site // @author Eli Sheldon // @match https://platform.techsmart.codes/code/* // @icon https://www.google.com/s2/favicons?domain=techsmart.codes // @grant none // ==/UserScript== function setApplicationRole() { document.getElementById("ts-pygame-canvas-container").setAttribute("role", "application") } document.addEventListener("DOMNodeInserted", setApplicationRole)