Greasy Fork

Greasy Fork is available in English.

赛尔号页面免刷新提示

去除赛尔号页面的刷新确认提示。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name 赛尔号页面免刷新提示
// @match *://seer.61.com/
// @match *://seer.61.com/play.shtml
// @version 1.0.0
// @author  橙汁
// @copyright   橙汁
// @namespace http://tampermonkey.net/
// @homepageURL https://space.bilibili.com/293848435
// @supportURL  http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&[email protected]
// @license     GNU General Public License version 2; https://opensource.org/licenses/GPL-2.0
// @description 去除赛尔号页面的刷新确认提示。
// @grant none
// ==/UserScript==

var t=setInterval("clearConfirmInitLocal()",3000);

clearConfirmInitLocal=function(){
  if (window.onbeforeunload==null)
    return;
  else
    {
      window.onbeforeunload=null;
      clearInterval(t);
    }
}