FA No Custom Thumbnails

Changes all thumbnails for the default sized submission

2017/04/10のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         FA No Custom Thumbnails
// @namespace    FurAffinity.Net
// @version      3
// @description  Changes all thumbnails for the default sized submission
// @author       JaysonHusky
// @match        *://www.furaffinity.net/*
// @exclude      *://www.furaffinity.net/view/*
// @exclude      *://www.furaffinity.net/msg/*
// @exclude      *://www.furaffinity.net/controls/*
// @exclude      *://www.furaffinity.net/journal/*
// @exclude      *://www.furaffinity.net/staff/*
// @grant        none
// @require      http://code.jquery.com/jquery-latest.js
// ==/UserScript==
(function() {
    'use strict';
    var thumburl;
   	$("img[src*='t.facdn.net']").each(function(index){
        var thumbnail_url=$(this).attr('src');
        if(thumbnail_url.indexOf('@150-') !=-1){
            thumburl=thumbnail_url.replace("@150","@400");
	        $(this).attr("src",thumburl);
        }
        else if(thumbnail_url.indexOf('@200-') !=-1){
            thumburl=thumbnail_url.replace("@200","@400");
	        $(this).attr("src",thumburl);
        }
        else if(thumbnail_url.indexOf('@250-') !=-1){
            thumburl=thumbnail_url.replace("@250","@400");
	        $(this).attr("src",thumburl);
        }
        else if(thumbnail_url.indexOf('@300-') !=-1){
            thumburl=thumbnail_url.replace("@300","@400");
	        $(this).attr("src",thumburl);
        }
        else {
            thumburl=thumbnail_url.replace("@150","@400");
	        $(this).attr("src",thumburl);
        }
	});
})();