您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows the filenames for Lizard Wizard's lpix images next to the images
// ==UserScript== // @name LizardWizardLPCaptions // @namespace LizardWizardLPCaptions // @description Shows the filenames for Lizard Wizard's lpix images next to the images // @version 0.1 // @include https://forums.somethingawful.com/showthread.php?*threadid=3543889* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js // ==/UserScript== $(window).load(function(){ $("td.postbody").find("img").each(function(){ var src = $(this).attr("src"); if(src.indexOf("lpix.org") != -1 && src.indexOf("-") != -1) { //Only LP images, excluding thumbnails $(this).after(" <i>" + src.substr(src.lastIndexOf("/") + 1) + "</i>"); } }); });