FonGIF

Cambiar fondo de perfil: *.gif

Verze ze dne 14. 03. 2016. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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