您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
某医科视频自动刷新,打开看视频的页面后,挂着,每49分钟自动页面刷新,打开脚本后每次进入刷新一下页面
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/442624/1036710/%E5%8C%BB%E7%A7%91%E7%BB%A7%E7%BB%AD%E6%95%99%E8%82%B2%E8%87%AA%E5%8A%A8%E5%88%B7%E6%96%B0%E8%84%9A%E6%9C%AC.js
// ==UserScript== // @name 医科继续教育自动刷新脚本 // @namespace http://tampermonkey.net/ // @version 0.5 // @description 某医科视频自动刷新,打开看视频的页面后,挂着,每49分钟自动页面刷新,打开脚本后每次进入刷新一下页面 // @author Coolstuz // @match https://www.dianmoyun.com/Course/* // @icon https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; console.log('载入成功'); var json=window.localStorage.getItem('timeData'); var userinfo=JSON.parse(json) console.log(userinfo); console.log(userinfo.appValue1); console.log(userinfo.appValue2); var flag if(document.getElementsByClassName("menu-list")[0].getElementsByTagName("a").length==4){ flag=1; }else{ flag=0; } setTimeout(function(){ //location.reload(true); window.location.href = document.referrer; }, 2940000); })();