您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
This script changes the tags and ratings to have full text, as well as narrowing the margins on story chapters.
当前为
// ==UserScript== // @name Fimfiction - Verbose // @namespace arcum42 // @author arcum42 // @version 0.4 // @description This script changes the tags and ratings to have full text, as well as narrowing the margins on story chapters. // @match http://www.fimfiction.net/* // @copyright 2014+, You // ==/UserScript== //$("span.by").each(function() //{ // $(this).find("b").replaceWith("by"); // $(this).css("color", "#507e2c"); //} //); $("a.story_category").each(function() { var txt = $(this).attr("title"); if (txt == "Alternate Universe") { txt = "AU"; } $(this).text(txt); } ); $(".story-card h2 span, .story_content_box a:first").each(function() { var txt = $(this).attr("title").replace("Rated ", "").replace("for", ""); if (txt == " adults ( 18+ )") { txt = "Mature"; } $(this).text(txt); $(this).css("line-height", "20px"); } ); $("div.inner_margin").css("max-width","90%"); $("span.short_description").each(function() { $(this).find("a.story_category").last().after("<br/>"); });