Greasy Fork

来自缓存

Greasy Fork is available in English.

GBF_隐藏掉没有终突的召唤石

隐藏没有突破的召唤石

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         GBF_隐藏掉没有终突的召唤石
// @namespace    http://tampermonkey.net/
// @version      0.3.1
// @description  隐藏没有突破的召唤石
// @author       Moo_asdsasd5
// @license MIT
// @match        http://game.granbluefantasy.jp/
// @icon         https://www.google.com/s2/favicons?domain=game.granbluefantasy.jp
// @require     http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @grant        GM_addStyle
/* globals $ */
// ==/UserScript==

(function() {
    'use strict';
    GM_addStyle(
    `
         .btn-supporter[data-supporter-evolution="3"], .btn-supporter[data-supporter-evolution="4"], .btn-supporter[data-supporter-max="0"] {
              display:none!important
         }
    `
    )

    setInterval(function(){
      //黄龙
      $('.btn-supporter[data-supporter-evolution="3"]').has('[data-image="2040157000"]').attr( "style", "display: block !important;" )
      //麒麟
      $('.btn-supporter[data-supporter-evolution="3"]').has('[data-image="2040158000"]').attr( "style", "display: block !important;" )
      //兔子
      $('.btn-supporter[data-supporter-evolution="4"]').has('[data-image="2040114000"]').attr( "style", "display: block !important;" )

    }, 500)
    // Your code here...
})();