Greasy Fork

北京继续教育网chinahrt自动播放插件

北京继续教育网后台自动播放插件

// ==UserScript==
// @name        北京继续教育网chinahrt自动播放插件
// @include      http://web.chinahrt.com
// @include      https://web.chinahrt.com
// @version      1.0
// @description  北京继续教育网后台自动播放插件
// @author       Yang Kang
// @match        http://videoadmin.chinahrt.com.cn/videoPlay/play*
// @match        http://videoadmin.chinahrt.com/videoPlay/play*
// @match        https://videoadmin.chinahrt.com.cn/videoPlay/play*
// @match        https://videoadmin.chinahrt.com/videoPlay/play*
// @grant        none
// @license MIT
// @namespace http://web.chinahrt.com
// ==/UserScript==

(function() {
    'use strict';

    window.onfocus = function(){console.log('on focus')};
    window.onblur = function(){console.log('on blur')};
})();