只答题。
// ==UserScript==
// @name 双卫网答题的加V:在另一位网友的基础上改动了一下,还可能随时被和有需要的加V:yaoxuexi2024
// @namespace Violentmonkey Scripts
// @match https://*sww.com.cn/*
// @grant none
// @version 2.999
// @author kubixueyiren
// @description 只答题。
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const debug = 1;
console.log("%c感谢您使用本插件,请自觉使用。", "color: red; font-style: italic");
$("video").remove()
$("iframe").remove()
$("body").append("<h1>视频已屏蔽,正在上课</h1>")
function sendMessage() {
var watchId = document.getElementsByName('watchId')[0].value;
var courseId = document.getElementsByName('courseId')[0].value;
var courseStudentId = document.getElementsByName('courseStudentId')[0].value;
$.ajax({
type: "GET",
url: "/student/video/json/ajaxRecordCourseWatchingTime.do?_x=" + Math.random() + "&watchId=" + watchId + "&courseId=" + courseId + "&courseStudentId=" + courseStudentId,
data: "{}",
contentType: "application/json; charset=utf-8",
success: function(data, textStatus, xhr) {
console.log(data)
},
error: function(msg) {
console.error(msg)
}
});
}
for (var i = 0; i <= 100; i++) {
sendMessage();
setTimeout("window.close()",1500);
}
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址