您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
which is gif?
当前为
// ==UserScript== // @name exh which is gif? // @namespace coombrain // @version 0.1 // @description which is gif? // @author coombrain // @match https://exhentai.org/g/* // @match https://e-hentai.org/g/* // @license MIT // @icon none // @grant none // @require http://code.jquery.com/jquery-latest.min.js // ==/UserScript== var $ = window.jQuery; var WG_GLOW_SIZE = "8"; var WG_GLOW_COLOR = "aqua"; (function() { 'use strict'; $(document).ready(function () { $(".gdtm div a img").each(function() { let tmtl = $(this).attr("title"); let tmei = tmtl.lastIndexOf(".") + 1; let tmex = tmtl.substr(tmei); if (tmex == "gif" || tmex == "apng" || tmex == "webm") { //as of writing only gif is supported on exh galleries so lol $(this).css("box-shadow", `0 0 ${WG_GLOW_SIZE}px ${WG_GLOW_COLOR}`); } }); }); })();