FA No Custom Thumbnails

Changes all thumbnails for the default sized submission

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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