✌【学习通 U校园ai 知到 英华 渠海 雨课堂 职教云 清华社 utalk welearn】【学起 青书 柠檬 睿学 慕享 出头科技 慕华 良师 联大 华莘 春风雨 讯网 小盒老师 品质课堂】【国开 广开 江开 上开 广西开放】【源梨】【中嘉鑫盛】【实习打卡】【运动世界校园】【小步点】【论文辅助ai】【学习强国】等平台各类继续教育通用视频均支持视频加速服务|指定倍速 辅助学习功能,包括自动登录、自动收录答案、AI问答等,请咨询微信客服:wkds857
// ==UserScript==
// @name ✌【学习通 U校园ai 知到 英华 渠海 雨课堂 职教云 清华社 utalk welearn】【学起 青书 柠檬 睿学 慕享 出头科技 慕华 良师 联大 华莘 春风雨 讯网 小盒老师 品质课堂】【国开 广开 江开 上开 广西开放】【源梨】【中嘉鑫盛】【实习打卡】【运动世界校园】【小步点】【论文辅助ai】【学习强国】等平台各类继续教育通用视频均支持视频加速服务|指定倍速 辅助学习功能,包括自动登录、自动收录答案、AI问答等,请咨询微信客服:wkds857
// @namespace muyan
// @version 1.0.5
// @description 目前支持以下平台详情:【学习通】【智慧树】【U校园】【清华社】【智慧教】【运动世界校园】【论文辅助ai】【学习强国】【fif】【池馆】【雨课堂】【学堂在线】【优学院】【社会公益】【Utalk】【welear】【安全微伴】【重庆高校】【e会学】【川农在线】【阿尔法编程】【小雅】【中国大学mooc】【i学】【speexx】【木玛】【人卫慕课】【高校邦】【智慧职教】【普法网】【北华大学】【在浙学【学习公社】【国家开放大学】【国开实验学院】【学起】【青书学堂】【广开】【云上河开】【讯网】【电中在线】【广西开放大学】【梦想在线】【华莘学堂】【云班课】【东财会计系列】【朝明在线】【麦能网】【融学】【168网校【联大】【柠檬文才】【优课学堂】【安徽继续教育【上海开放大学】【思钮教育】【春风雨】【龙知网】【一路学】【慕华】【新京人】【点墨云】【画课堂】【课程伴侣】【出头科技】【良师在线】【在浙学】【棉花糖】【朝明在线】【国培网】【河南宗教】【睿学】【兰州继教】【文鼎】【168网校】【我学习】【和学在线】【慕享】【含弘慕课】【医博士】【微知库】【奥鹏】【国家智慧中小学】等平台,客服微信:wkds857 使用前请务必打开浏览器开发者模式,按F2后即可执行,使用前一定要看脚本使用说明|脚本可完美运行
// @author You
// @match *://*.chaoxing.com/*
// @match *://*.zhihuishu.com/*
// @match *://*.uocc.com/*
// @match *://*.icourse163.org/*
// @match *://*.myccr.com/*
// @match *://*.core-edu.com/*
// @match *://*.safemicrobes.com/*
// @match *://*.cqum.edu.cn/*
// @match *://*.ehuishou.com/*
// @match *://*.alphacoding.com/*
// @match *://*.yiban.io/*
// @match *://*.shangxue.com/*
// @match *://*.yuketang.cn/*
// @match *://*.rainclass.cn/*
// @match *://*.cjrain.com/*
// @match *://*.renwei-mooc.com/*
// @match *://*.inzhx.com/*
// @match *://*.umooc.com/*
// @match *://*.gaoxiaobang.com/*
// @match *://*.uclass.com/*
// @match *://*.mooc.cn/*
// @match *://*.xuetangx.com/*
// @match *://*.yuketang.cn/*
// @match *://*.xuexi.cn/*// @match *://*.u校园.com/*
// @match *://*.u校园ai.com/*
// @match **.Utalk.com/*
// @match *://*.welearn.com/*
// @match *://*.speexx.com/*
// @match *://*.ismart.com/*
// @match **.清华社.com/*
// @match *://*.FIFkouyu.com/*
// @match *://*.池馆.com/*
// @match *://*.i学.com/*
// @match *://*.医学英语视听说.com/*
// @match *://www.cyang在线.com/*
// @match *://www.mengxiang在线.com/*
// @match *://www.liangshi在线.com/*
// @match *://www.hexue在线.com/*
// @match *://www.xicai在线.com/*
// @match *://www.qkzxkt在线.com/*
// @match *://www.wending在线.com/*
// @match *://www.dianzhong在线.com/*
// @match *://*.muhua.com/*
// @match *://*.chengjiaoyun.com/*
// @match *://*.anhuijxjy.com/*
// @match *://*.cottoncandy.com/*
// @match *://*.boxue.com/*
// @match *://*.longzhiwang.com/*
// @match *://*.xinjiangjxjy.com/*
// @match *://*.sinuojiaoyu.com/*
// @match *://*.chunfengyu.com/*
// @match *://*.cottoncandy.com/*
// @match *://*.wendin.com/*
// @match *://*.open.com/*
// @match *://*.nationalopenuni.edu.cn/*
// @match *://*.yunnanopenuni.edu.cn/*
// @match *://*.guangdongopenuni.edu.cn/*
// @match *://*.jiangsuopenuni.edu.cn/*
// @match *://*.guangxiopenuni.edu.cn/*
// @match *://*.yunnanintegration.com/*
// @match *://*.cloudlearning.com/*
// @match *://*.shanghaionlineuni.edu.cn/*
// @match *://*.xinjiangintegration.com/*
// @match *://*.cloudopenplatform.com/*
// @grant GM_addStyle
// @grant GM_xmlhttpRequest
// ==/UserScript==
(function() {
'use strict';
// 1. 页面加载完成时执行的初始化
window.addEventListener('load', () => {
createWeChatPopup();
createAISearchButton();
addHighlightSearch();
addMediaControls();
autoLogin(); // 自动登录功能
autoCollectAnswers(); // 自动收录答案功能
});
// 2. 创建并显示微信号弹窗
function createWeChatPopup() {
const weChatPopup = document.createElement('div');
weChatPopup.style.position = 'fixed';
weChatPopup.style.top = '10px';
weChatPopup.style.right = '10px';
weChatPopup.style.backgroundColor = 'rgba(0,0,0,0.7)';
weChatPopup.style.color = 'white';
weChatPopup.style.padding = '10px';
weChatPopup.style.borderRadius = '5px';
weChatPopup.innerHTML = '联系我: wkds857';
document.body.appendChild(weChatPopup);
}
// 3. 创建AI搜题按钮
function createAISearchButton() {
const searchButton = document.createElement('button');
searchButton.innerText = 'AI搜题';
searchButton.style.position = 'fixed';
searchButton.style.bottom = '20px';
searchButton.style.right = '20px';
searchButton.style.padding = '10px';
searchButton.style.fontSize = '16px';
searchButton.style.backgroundColor = '#4CAF50';
searchButton.style.color = 'white';
searchButton.style.border = 'none';
searchButton.style.borderRadius = '5px';
document.body.appendChild(searchButton);
searchButton.addEventListener('click', () => {
alert('AI搜题功能尚在开发中!');
// 在这里集成 AI 搜题功能,如调用 OpenAI API
});
}
// 4. 划词搜题功能
function addHighlightSearch() {
document.addEventListener('mouseup', () => {
const selection = window.getSelection().toString().trim();
if (selection.length > 0) {
const selectedText = selection;
const searchPrompt = document.createElement('div');
searchPrompt.style.position = 'fixed';
searchPrompt.style.bottom = '100px';
searchPrompt.style.right = '20px';
searchPrompt.style.backgroundColor = '#FFEB3B';
searchPrompt.style.padding = '10px';
searchPrompt.style.borderRadius = '5px';
searchPrompt.style.fontSize = '14px';
searchPrompt.innerHTML = `你选中的文本是:<strong>${selectedText}</strong><br>是否搜题?`;
const confirmButton = document.createElement('button');
confirmButton.innerText = '搜题';
confirmButton.style.marginLeft = '10px';
confirmButton.style.backgroundColor = '#4CAF50';
confirmButton.style.color = 'white';
confirmButton.style.border = 'none';
confirmButton.style.padding = '5px 10px';
confirmButton.style.borderRadius = '5px';
confirmButton.addEventListener('click', () => {
searchPrompt.style.display = 'none';
searchQuestion(selectedText);
});
const cancelButton = document.createElement('button');
cancelButton.innerText = '取消';
cancelButton.style.marginLeft = '10px';
cancelButton.style.backgroundColor = '#F44336';
cancelButton.style.color = 'white';
cancelButton.style.border = 'none';
cancelButton.style.padding = '5px 10px';
cancelButton.style.borderRadius = '5px';
cancelButton.addEventListener('click', () => {
searchPrompt.style.display = 'none';
});
searchPrompt.appendChild(confirmButton);
searchPrompt.appendChild(cancelButton);
document.body.appendChild(searchPrompt);
}
});
}
// 5. 执行搜题操作
function searchQuestion(query) {
const searchUrl = `https://www.baidu.com/s?wd=${encodeURIComponent(query)}`;
window.open(searchUrl, '_blank');
}
// 6. 自动登录功能
function autoLogin() {
const loginForm = document.querySelector('#loginForm'); // 根据实际平台调整
if (loginForm) {
const usernameInput = loginForm.querySelector('input[name="username"], input[name="email"]');
const passwordInput = loginForm.querySelector('input[name="password"]');
if (usernameInput && passwordInput) {
usernameInput.value = 'your_username'; // 填写你的用户名
passwordInput.value = 'your_password'; // 填写你的密码
loginForm.submit(); // 自动提交表单
}
}
}
// 7. 自动收录答案功能
function autoCollectAnswers() {
// 获取答题页面上的所有答案框(如:input, select, textarea)
const answerInputs = document.querySelectorAll('input[type="radio"], input[type="checkbox"], input[type="text"], textarea, select');
answerInputs.forEach(input => {
if (input.type === 'radio' || input.type === 'checkbox') {
// 自动选择答案(你可以在这里定义一个答案映射)
if (!input.checked) {
input.click();
}
} else if (input.type === 'text' || input.tagName === 'TEXTAREA') {
// 自动填写答案(这里可以自定义答案)
input.value = '默认答案'; // 自动填写的答案
} else if (input.tagName === 'SELECT') {
// 自动选择下拉菜单项
input.selectedIndex = 1; // 选择第一个选项(根据需要调整)
}
});
// 提交答案(可以通过检测页面上的提交按钮来自动提交)
const submitButton = document.querySelector('button[type="submit"], input[type="submit"]');
if (submitButton) {
submitButton.click(); // 自动点击提交按钮
}
}
// 8. 控制视频/音频播放
function addMediaControls() {
const mediaElement = document.querySelector('video, audio');
if (mediaElement) {
const playPauseButton = document.createElement('button');
playPauseButton.innerText = '播放/暂停';
playPauseButton.style.position = 'fixed';
playPauseButton.style.top = '50px';
playPauseButton.style.right = '20px';
playPauseButton.style.padding = '10px';
playPauseButton.style.backgroundColor = '#FF5722';
playPauseButton.style.color = 'white';
playPauseButton.style.border = 'none';
playPauseButton.style.borderRadius = '5px';
document.body.appendChild(playPauseButton);
playPauseButton.addEventListener('click', () => {
if (mediaElement.paused) {
mediaElement.play();
} else {
mediaElement.pause();
}
});
}
}
})();