您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Find which pages of a gallery are animated.
当前为
// ==UserScript== // @name E-H GIF Filter // @description Find which pages of a gallery are animated. // @author Hen-Tie // @homepage https://hen-tie.tumblr.com/ // @namespace https://greasyfork.org/en/users/8336 // @include /https?:\/\/(e-|ex)hentai\.org\/g\/.*/ // @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js // @icon https://i.imgur.com/pMMVGRx.png // @version 1.0 // ==/UserScript== /*───────────────┬────────────────┐ │ Action │ Value │ ├────────────────┼────────────────┤ │ Highlight GIFs │ filterMode = 0 │ │ Only show GIFs │ filterMode = 1 │ └────────────────┴───────────────*/ var filterMode = 0; if ($('.gdtl img[title$=".gif"]').length) { var notGif = $('.gdtl img:not([title$=".gif"])'); $('#gdt').prepend('<em id="gif-filter" style="display:block; padding:3px; width:100%; text-align:center;">E-H GIF Filter is active</em>'); if (filterMode) { notGif.closest('.gdtl').hide(); $('#gif-filter').append('—' + notGif.length + ' hidden'); } else { notGif.css('opacity','.33'); } }