GithubHelp home page GithubHelp logo

zhihuishu_script's Introduction

zhihuishu_script

简介

本脚本用于在智慧树网站刷视频

功能:

  • 自动播放下一集
  • 自动处理偶尔弹出的测试对话框
  • 播放视频时:1.5倍,流畅,无声(播放视频开始的一瞬间依然有声音,故建议直接将整个标签页静音)

测试相关

目前该脚本只在《创业基础》(已学过)一课中得到测试,由于已经看过,所以脚本不能完全适用于未看过的视频(但应该只需稍做修改即可)。 我当然想充分测试,但现在没有这个机会,等下次再遇到类似的网课作业的时候再说吧。

具体测试环境:

原理

使用JavaScipt获取网页中的各种信息,并根据获得的信息做相应的动作(如发现有弹出题目就自动答题,发现视频结束就点击“下一个”等等)

文件说明

  • a.js:用于各种测试的文件
  • cyjc.js:主文件

使用方法

首先使用谷歌浏览器进入看视频的网页,然后打开开发者工具,再打开控制台Console),复制cyjc.js文件中的内容到控制台Console)中,输入main()以运行主函数,等待7秒后脚本开始运行

zhihuishu_script's People

Contributors

wsxq2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.