Wisdom Tree MOOC automatic Brush Lesson Code

Source: Internet
Author: User

Recently learning JavaScript and jquery, there is just one more MOOC not to see. Combining learning knowledge with other people's code: a code that automatically plays the course:

As follows:

var main=$ ("body"), var playtime=1;var testtime=1;var fininshed= "This section video, Cumulative viewing time" 100% "; var msg=$ ("<Li></Li>var json={"background": "#31e16d", "height": "20px", "padding": "5px", "Top": "700px", "Right": "80px", "position": "Fixed", "Color": "Blue"};msg.css (JSON); msg.html ("<span>Auto Play mode Welcome to add Xiao Chen QQ 759117419</span>"); Main.append (msg); SetTimeout (function () {Console.log (" mute + 1.5 times times Play ") $ (". SpeedTab15 "). Click (); $ (". Volumeicon"). Click ();},1000); SetTimeout (function () {$ ("#jack"). HTML ("Auto-play, Welcome to add Xiao Chen qq 759117419");},5000);        Main.on ("domnodeinserted", function (e) {////Bullet box if (e.target.textcontent== "close") {testtime++;        $ (". Popbtn_cancel"). Click ();    Console.log ("help you to skip the test question");        }else if (e.target.textcontent==fininshed) {//video playback complete playtime++;         Console.log ("Play finished, jump to the next section, currently playing" +playtime+ "video");        $ (". Next_lesson_bg"). Find (' a '). Trigger (' click '); SetTimeout (function () {Console.log ("Come on duck!            ");            $ (". SpeedTab15"). Click ();        $ (". Volumeicon"). Click ();    },2000); }});

How to use: 1. Open chrome or QQ Browser login account, enter the play page:

2. Right-click to view the page source code or press F12 to Enter the console page.

3. Copy and paste the above code into console , press ENTER, the page appears, you are done!

Note: 1. Please play from the beginning, the section tests that appear will skip directly, but chapter and final exams need to be done yourself. The amount of 50-60% can be brushed in about one day.

2. If you accidentally refresh the playback page, you need to repeat the above steps. Off the net, power outage is not within the scope of consideration.

3. If you encounter problems, please refresh the page to repeat the above steps.

4. Be careful not to use IE browser, we recommend using Chorome Browser and QQ browser (360 not tested).

Reference Blog: 80038082

Wisdom Tree MOOC automatic Brush Lesson Code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.