您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Unlocks the annoying things of the kahoot
// ==UserScript== // @name Kahoot Unlocker // @namespace https://kahoot.it/ // @version 1.0.1 // @description Unlocks the annoying things of the kahoot // @author Shuno // @match *://kahoot.it/* // @match *://kahoot.it // @icon https://assets-cdn.kahoot.it/controller/v2/favicon.ico // @grant none // @license MIT // ==/UserScript== !function(){"use strict";let t=!1,e=JSON.parse;JSON.parse=function(n,r){try{let a=e(n,r);return"object"==typeof a&&null!==a&&!0===a.namerator&&(a.namerator=!1,t=!0),a}catch(o){throw o}};let n=WebSocket;window.WebSocket=function(e,r){let a=new n(e,r),o=a.send;return a.send=function(e){if("string"==typeof e)try{let n=JSON.parse(e);if(Array.isArray(n)&&n.length>0){let r=n[0];if(r.data&&r.data.content){let i=JSON.parse(r.data.content);i.hasOwnProperty("usingNamerator")&&(console.log("Original content:",i),i.usingNamerator=t,r.data.content=JSON.stringify(i),console.log("Modified content:",i))}e=JSON.stringify(n)}}catch(c){}return o.call(a,e)},a}}();