// ==UserScript==
// @name 🌈大学摆烂神器🌛支持全网课平台,支持答题|刷资源|视频加速|快速背题|AI搜题|AI问答|截屏搜题
// @version 5.4.9
// @description 【🐯全网免费仅做一款脚本🐯】、【🚀已完美兼容、智慧树(智慧课程、共享课)、中国大学mooc、慕课、云班课、雨课堂、新国开、超星、学习通、知到、国家开放大学、蓝墨云、职教云、智慧职教、云班课精品课、山东专技、西财在线剩余网站仅支持部分功能🚀】【半兼容、绎通云、U校园、学堂在线】、【😎完美应付测试,全自动答题,一键完成所有资源学习(视频挨个刷时长不存在滴)、视频倍速😎】、【💪新增AI搜题、AI问答,定制化服务💪】、【💙破除网站不可复制文字💙】、【🐮基于生成式AI(ChatGPT)的答案生成🐮】、【🧡新增背题模式(遮挡答案,更好的进行考试复习)🧡】、【云上官方站:https://metost.com】【特别感谢MeTo题库免费提供题目搜索功能】【💚作者在此保证,脚本无任何诸如(手机号,学校信息,等隐私信息)收集💚】
// @author alv
// @note 请合理规划节约下来的时间,时间宝贵,不要成天rush B,OK?
// @match *://*/*
// @supportURL https://github.com/alv002
// @icon https://i.jpg.dog/8a4f4bd4c5ea7b1eff20a2978885f2b1.jpeg
// @require https://lib.baomitu.com/jquery/3.6.0/jquery.min.js
// @require https://lib.baomitu.com/crypto-js/4.1.1/crypto-js.min.js
// @require https://lib.baomitu.com/html2canvas/1.4.1/html2canvas.min.js
// @require https://lib.baomitu.com/tesseract.js/5.1.1/tesseract.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/tesseract.js/5.1.1/tesseract.min.js
// @require http://m.metodt.com/json/TyprMd5.js
// @resource Table https://www.forestpolice.org/ttf/2.0/table.json
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
// @grant GM_getResourceText
// @grant unsafeWindow
// @grant GM_info
// @grant GM_xmlhttpRequest
// @grant GM_registerMenuCommand
// @connect metost.com
// @connect metodt.com
// @connect chaoxing.com
// @connect unipus.cn
// @connect *
// @license GPLv3
// ==/UserScript==
(function () {
const styleTag = ``;
$(styleTag).appendTo('head');
let $html_text = $(`
`);
$('body').append($html_text);
function dianwo(str){
document.getElementById('layer_msg').innerHTML = str;
document.getElementById('zhezhao').style.display="";
}
if(GM_getValue("window.al_yun_xx") && GM_getValue("window.al_yun_xx").length>100){
window.al_yun_xx = GM_getValue("window.al_yun_xx")
}else{
if(GM_getValue("window.al_yun_xx") != "reset"){
dianwo("脚本正在加载中,请稍等
无法加载请加QQ群
移动头像可改变位置");
}
GM_xmlhttpRequest({
method: "GET",
url: GM_getValue("choice_server")?"http://m.metodt.com/json/all.js":"http://m.metost.com/json/all.js",
onload: res=> {
window.al_yun_xx = res.response;
console.log(res.status )
if(res.status == 200||res.status == "200"){
GM_setValue("window.al_yun_xx",res.response);
document.getElementById('zhezhao').style.display="none";//加载成功便删掉提示
}else{
GM_setValue("choice_server",!GM_getValue("choice_server"));
dianwo("脚本加载失败,请尝试更换网络。需要可以访问 https://v.metost.com 若出现验证信息,请完成验证即可正常使用脚本");
}
},
onerror:err=>{
GM_setValue("choice_server",!GM_getValue("choice_server"));
dianwo("脚本加载失败,请尝试更换网络。需要可以访问 https://v.metost.com 若出现验证信息,请完成验证即可正常使用脚本");
}
})
}
})();
(function () {
function cc(url){;let obj = {};let arr1 = url.split("?");let arr2 = arr1[1].split("&");for(let i=0;i'),$("#yl_1")[0].onclick=GM_xmlhttpRequest,$("#yl_2")[0].onclick=GM_addStyle,$("#yl_3")[0].onclick=GM_getValue,$("#yl_4")[0].onclick=GM_setValue,$("#yl_5")[0].onclick=CryptoJS,$("#yl_6")[0].onclick=GM_registerMenuCommand,$("#yl_7")[0].onclick=GM_info,$("#yl_8")[0].onclick=$,$("#yl_9")[0].onclick=unsafeWindow,$("#yl_10")[0].onclick=Typr,$("#yl_11")[0].onclick=html2canvas,$("#yl_12")[0].onclick=Tesseract,$("#yl").append(`\n`);
//,$("#yl")[0].attachShadow({ mode: "closed" })
window.special=setInterval(()=>{
if(typeof window.al_yun_xx !="undefined"){
try {
window.al_yun=cc("https://www.*.cn/web/index.php?c=xx&m=xx&clazz_course_id=xx-xx-xx-xx&id=xx-xx-xx-xx")
xx(window.al_yun_xx);
} catch(e) {
console.log(e)
GM_setValue("window.al_yun_xx","reset");
}
clearInterval(special)
}
},50)
})();