EngageMe.TV Flash Memory Protector

Since Flash seems to eat up all the memory, this will proactively close the tab and open a new one - giving it a clean slate.

目前為 2016-12-20 提交的版本,檢視 最新版本

// ==UserScript==
// @name         EngageMe.TV Flash Memory Protector
// @namespace    https://gf.qytechs.cn/users/57063
// @version      0.1
// @description  Since Flash seems to eat up all the memory, this will proactively close the tab and open a new one - giving it a clean slate.
// @author       free21
// @match        http://engageme.tv/watchrv.php*
// @grant        window.close
// ==/UserScript==

(function() {
    var enCount = 0;
    jwplayer().on('adComplete', function(event){
        enCount++;
        console.log(enCount);
        if (enCount > 60) {
            window.open(window.location.href); window.close();
        }
    });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址