山东党员网络学院在线挂机学习脚本
const idcash ="你的idcash";
const id = window.location.href.split('=')[1].split('&')[0];
console.log("{\"courseId\":{0},\"idCardHash\":{1},}".format(id,idcash));
fetch("https://gbwlxy.dtdjzx.gov.cn/__api/api/study/v2/end", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7",
"content-type": "application/json;",
"sec-ch-ua": "\"Google Chrome\";v=\"87\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"87\"",
"sec-ch-ua-mobile": "?0",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest"
},
"referrer": "https://gbwlxy.dtdjzx.gov.cn/content",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"courseId\":\"{0}\",\"idCardHash\":\"{1}\"}".format(id,idcash),
"method": "POST",
"mode": "cors",
"credentials": "include"
});
String.prototype.format=function()
{
if(arguments.length==0) return this;
for(var s=this, i=0; i
干部网络学院这个,具体怎么用。
我加入到参学档案的视频,没有实现自动学习
谢谢!
大神,在来一个干部网络学院自动学习的好不好?