Greasy Fork

Fimfiction - Verbose

enter something useful

目前为 2014-10-10 提交的版本。查看 最新版本

// ==UserScript==
// @name       Fimfiction - Verbose
// @namespace  arcum42
// @version    0.2
// @description  enter something useful
// @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() {
    if ($(this).attr("title") == "Alternate Universe")
    {
        $(this).text("AU");
    }
    else
    {
        $(this).text($(this).attr("title"));
    }
});

$(".story-card h2 span").each(function() {
    $(this).text($(this).attr("title").replace("Rated ", ""));
    $(this).css("line-height", "20px");
}
);

$("a.content-rating-mature").text("Mature");
$("a.content-rating-teen").text("Teen");
$("a.content-rating-everyone").text("Everyone");

$("a.content-rating-mature").css("line-height", "20px");
$("a.content-rating-teen").css("line-height", "20px");
$("a.content-rating-everyone").css("line-height", "20px");


$("div.inner_margin").css("max-width","90%");