Installationsvejledning

You will need to install a user script manager extension to install this script.
You will need to install an extension such asStylus to install this script.
You will need to install an extension such asStylus to install this script.
You will need to install an extension such asStylus to install this script.
You will need to install a user style manager extension to install this script.
You will need to install a user style manager extension to install this script.
// ==UserScript== // @name 京训钉视频助手 // @namespace https://github.com/ybz640919/jxd_helper // @version 0.2 // @description 京训钉视频自动播放自动续播刷课时自动关弹窗自动下一课 // @author DaBing // @grant none // @include *://*.bjjnts.cn/* // ==/UserScript== (function () { 'use strict'; console.log("START"); $('.change_chapter').each(function (e) { $(this).attr('data-lock', 0) }); $('#studymovie').bind('pause', function () { console.log('视频暂停!' + new Date().toLocaleTimeString()); setTimeout(function () { if ($('.layui-layer-btn0').length) { $('.layui-layer-btn0').click(); } }, 1500) }); $('#studymovie').bind('ended', function () { console.log('播放完毕!' + new Date().toLocaleTimeString()); setTimeout(function () { $('.course_study_sonmenu').each(function (e) { if ($(this).hasClass('on')) { var lessonnum = parseInt($(this).find('a').data('lessonnum')) + 1; $('.lesson-' + lessonnum).click(); return false; } }) }, 1500) }); /** * second convert to hh:mm:ss * @param t * @returns {string} */ function timeConvert(t) { let h = Math.floor(t / 3600); let m = Math.floor((t % 3600) / 60); if (m