您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name Brainly // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author You // @match https://learnx-svc.k12.com/learnx-svc/* // @grant none // ==/UserScript== (function() { 'use strict'; setInterval(() => { const question = ($('.k12_adveditor_wrapper') || $('.k12_advancedEditor_text') || $('.lrn_stimulus_content.lrn_clearfix'))[0].innerHTML.replace(/<[^>]*>?/gm, ''); ($('.k12_adveditor_wrapper') || $('.k12_advancedEditor_text') || $('.lrn_stimulus_content.lrn_clearfix'))[0].onclick = () => window.open(`https://brainly.com/app/ask?q=${question}`) }, 100) // Your code here... })();