Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Choualbox GIF
- // @namespace http://www.choualbox.com/blog/maxoudela
- // @namespace http://choualbox.com/blog/sainsi
- // @description Traduit les urls raccourcies et affiche le lien entier
- // @include http://choualbox.com/*
- // ==/UserScript==
- var length = document.images.length;
- for(var i = 0; i < length; i++) {
- if(document.images[i].src.match(/mini.php/) && document.images[i].src.match('gif')!=-1)
- document.images[i].src = document.images[i].src.replace(/mini.php\?src\=\//,'').replace(/&.+$/,'');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement