FonGIF

Cambiar fondo de perfil: *.gif

Stan na 14-03-2016. Zobacz najnowsza wersja.

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

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

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         FonGIF
// @namespace    FonGIF
// @version      1.0
// @description  Cambiar fondo de perfil: *.gif
// @match        *://www.taringa.net/cuenta
// @icon http://o1.t26.net/images/favicon.ico
// @copyright    @Cazador4ever
// ==/UserScript==

(function () {
    var contenido = $('<div class="field clearfix"><label for="cambiar-fondo">Fondo:</label><input type="text" name="link" id="link" autocomplete="on" placeholder="Link gif de kn3..."><button id="cambiar">Cambiar</button></div>');
    $('fieldset').prepend(contenido);
    $('#cambiar').click(function(){
        $("#cambiar").css("background","#005DAB");
        var fondo = $('#link').val().trim();
        document.location.reload();
        $.ajax({
            type     : 'POST',
            dataType : 'json',
            url      : '/ajax/user/background',
            data     : {
                url : fondo.replace('.gif','%2E%67%69%66?/bg.jpg')
            },
          
        });
      
     });
})();