Code Monkey home page Code Monkey logo

auto-video-tronclass-zju's Introduction

Auto-video-tronclass-zju

自动刷课-学在浙大油猴脚本

仅限个人自用,请勿传播!!!

使用说明:

  1. 请使用Edge浏览器,如果您有一定的前端知识并且可以在chrome中调试运行
  2. 在Edge浏览器->设置中,搜索 “媒体自动播放”,并修改为允许

ATUOPLAY

  1. 在Edge浏览器->扩展程序中,获取tampermonkey插件并启用
    ATUOPLAY

  2. 油猴->添加新脚本,将js文件内容复制进新脚本中并保存

Alt text

  1. 打开视频播放页面例如https://courses.zju.edu.cn/course/*/learning-activity/full-screen#/*的网址格式

  2. 开启用户脚本并刷新页面即可自动播放

  3. 为了避免后台自动检测造成的暂停,可以在刷新页面后,立即将浏览器切到后台,并不再切回该页面。(可以通过声音的播放来确认视频是否正常播放)

Alt text

注意:

  1. 进入视频播放界面时,请保持脚本关闭

  2. 选定开始的视频后开启脚本,并刷新页面即可

  3. 如果出现视频没有自动播放,有可能是网速过慢,在脚本中将opentime&switchtime变量的值增加,单位为ms

  4. 为了方便起见,脚本等待的时间为视频的全程,如果不是从开头播放,则会多等一些时间再切换

  5. Only Tested on 公选课“四史”专题

auto-video-tronclass-zju's People

Contributors

vvirgooo2 avatar

Stargazers

 avatar Chencan Fu avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.