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/>");
});