Topic de ticki84 :

[Script] JVCStickers++

Le 24 septembre 2016 à 01:02:46 Arthis a écrit :
T'as que ça ? :(

ouais ¯\_(ツ)_/¯

L'auteur, tu peut filer une version dev de ton script ? je voudrais le modifier stp [[sticker:p/1kkl]]
dans le version de prod il y a plein de ternaires dégueulasses
j'imagine que c'est pas de toi

Le 24 septembre 2016 à 11:10:54 Yonji_vinsmoke a écrit :
L'auteur, tu peut filer une version dev de ton script ? je voudrais le modifier stp [[sticker:p/1kkl]]

Une version dev, c'est à dire? L'ancienne version est disponible ici: https://ticki84.github.io/JVCSticker++.user.js utilise un beautifier et ça devrait faire l'affaire.

Le 24 septembre 2016 à 11:11:58 Yonji_vinsmoke a écrit :
dans le version de prod il y a plein de ternaires dégueulasses
j'imagine que c'est pas de toi

Je me souviens pas en avoir utilisé, ça doit être le minifier qui fait ça

Ben justement le "beautifier" il a complètement modifier le code c'est impossible à lire [[sticker:p/1kkp]]


    function h(g) {
        for (var d = document.getElementsByClassName("f-stkrs f-cfx")[0]; d.firstChild;) d.removeChild(d.firstChild);
        for (var d = document.querySelector('div[data-flg-tt="' + g + '"]'), b = d.parentElement.children.length, f = 0; f < b; f++)
            if (-1 != d.parentElement.children[f].className.indexOf("f-active")) {
                d.parentElement.children[f].className =
                    d.parentElement.children[f].className.slice(0, -9);
                break
            }
        d.className += " f-active";
        "Populaires" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1kki?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Hap" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1kkh?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Noel" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild &&
            "http://jv.stkr.fr/p/1kkr?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Bridgely" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1jnd?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Cr\u00e9ations de DomDeVill" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1ljl?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ?
            "Cr\u00e9ations de SaumonArcEnCiel" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1lmi?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Risitas" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/26/1467335935-jesus1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Faces" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild &&
            "http://image.noelshack.com/fichiers/2016/23/1465684343-1465588408-1465585187628.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Youtube" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/26/1467110205-ibra1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "T\u00e9l\u00e9vision" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild &&
            "http://image.noelshack.com/fichiers/2016/25/1466702435-pawn1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Politique" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/23/1465725375-img9.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Jeux Vid\u00e9o" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/25/1466769615-sonex-1.png" ==
            document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Eco+" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/26/1467316403-img5.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Smiley" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/30/1469402383-smiley1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ?
            "Autres" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/25/1466769615-sonex-1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Rex Ryder" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/23/1465696906-img34.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Bud" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild &&
            "http://jv.stkr.fr/p/zuc?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Grukk" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1lgg?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Lamasticot" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1kgu?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ?
            "Volt le Chien" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1kgu?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Fluffy" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1kl6?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Store" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1n2c?f-ed=1" ==
            document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Anime" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://image.noelshack.com/fichiers/2016/24/1465772083-img1.png" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Football Fans" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1n1p?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ?
            "Duracell" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1li4?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "Xbox One" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1myf?f-ed=1" == document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src ? "X-Men Apocalypse" != g || document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild && "http://jv.stkr.fr/p/1miq?f-ed=1" ==
            document.getElementsByClassName("f-stkrs f-cfx")[0].firstChild.firstChild.secondChild.src || (a("http://jv.stkr.fr/p/1miq?f-ed=1"), a("http://jv.stkr.fr/p/1min?f-ed=1"), a("http://jv.stkr.fr/p/1mim?f-ed=1"), a("http://jv.stkr.fr/p/1mig-fr?f-ed=1"), a("http://jv.stkr.fr/p/1mij-fr?f-ed=1"), a("http://jv.stkr.fr/p/1mio?f-ed=1"), a("http://jv.stkr.fr/p/1mik?f-ed=1"), a("http://jv.stkr.fr/p/1mip?f-ed=1"), a("http://jv.stkr.fr/p/1mif?f-ed=1"), a("http://jv.stkr.fr/p/1mii-fr?f-ed=1"), a("http://jv.stkr.fr/p/1mih-fr?f-ed=1"),
                a("http://jv.stkr.fr/p/1mil?f-ed=1"), a("http://jv.stkr.fr/p/1mie-fr?f-ed=1"), a("http://jv.stkr.fr/p/1mid-fr?f-ed=1")) : (a("http://jv.stkr.fr/p/1myf?f-ed=1"), a("http://jv.stkr.fr/p/1my7?f-ed=1"), a("http://jv.stkr.fr/p/1myc?f-ed=1"), a("http://jv.stkr.fr/p/1my9?f-ed=1"), a("http://jv.stkr.fr/p/1myb?f-ed=1"), a("http://jv.stkr.fr/p/1my6?f-ed=1"), a("http://jv.stkr.fr/p/1mye?f-ed=1"), a("http://jv.stkr.fr/p/1myx?f-ed=1"), a("http://jv.stkr.fr/p/1myd?f-ed=1"), a("http://jv.stkr.fr/p/1my4?f-ed=1"), a("http://jv.stkr.fr/p/1my8?f-ed=1"),
                a("http://jv.stkr.fr/p/1mya?f-ed=1"), a("http://jv.stkr.fr/p/1my5?f-ed=1"), a("http://jv.stkr.fr/p/1n28?f-ed=1")) : (a("http://jv.stkr.fr/p/1li4?f-ed=1"), a("http://jv.stkr.fr/p/1li3?f-ed=1"), a("http://jv.stkr.fr/p/1li5?f-ed=1"), a("http://jv.stkr.fr/p/1lej-fr?f-ed=1"), a("http://jv.stkr.fr/p/1leb?f-ed=1"), a("http://jv.stkr.fr/p/1jch?f-ed=1"), a("http://jv.stkr.fr/p/1jc3-fr?f-ed=1"), a("http://jv.stkr.fr/p/1leq-fr?f-ed=1"), a("http://jv.stkr.fr/p/1jc5?f-ed=1"), a("http://jv.stkr.fr/p/1jcg?f-ed=1"), a("http://jv.stkr.fr/p/1jcl?f-ed=1"),
                a("http://image.noelshack.com/fichiers/2016/23/1465750037-img11.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750040-img12.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750040-img13.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750040-img14.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750042-img16.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750041-img17.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750041-img18.png"), a("http://image.noelshack.com/fichiers/2016/23/1465750042-img19.png")) :
            (a("http://jv.stkr.fr/p/1n1p?f-ed=1"), a("http://jv.stkr.fr/p/1n1m?f-ed=1"), a("http://jv.stkr.fr/p/1n1n?f-ed=1"), a("http://jv.stkr.fr/p/1n1o?f-ed=1"), a("http://jv.stkr.fr/p/1n1r?f-ed=1"), a("http://jv.stkr.fr/p/1n1s?f-ed=1"), a("http://jv.stkr.fr/p/1n1t?f-ed=1"), a("http://jv.stkr.fr/p/1n1q?f-ed=1"), a("http://image.noelshack.com/fichiers/2016/23/1465758563-img2.png"), a("http://jv.stkr.fr/p/1n1p-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1m-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1n-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1o-de?f-ed=1"),
                a("http://jv.stkr.fr/p/1n1r-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1t-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1q-de?f-ed=1"), a("http://jv.stkr.fr/p/1n1p-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1m-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1n-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1o-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1r-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1t-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1q-it?f-ed=1"), a("http://jv.stkr.fr/p/1n1p-es?f-ed=1"), a("http://jv.stkr.fr/p/1n1m-es?f-ed=1"), a("http://jv.stkr.fr/p/1n1n-es?f-ed=1"),
                a("http://jv.stkr.fr/p/1n1o-es?f-ed=1"), a("http://jv.stkr.fr/p/1n1r-es?f-ed=1"), a("http://jv.stkr.fr/p/1n1t-es?f-ed=1"), a("http://jv.stkr.fr/p/1n1q-es?f-ed=1")) : (a("http://image.noelshack.com/fichiers/2016/24/1465772083-img1.png"), a("http://image.noelshack.com/fichiers/2016/24/1465772085-img2.png"), a("http://image.noelshack.com/fichiers/2016/24/1465772084-img3.png"), a("http://image.noelshack.com/fichiers/2016/24/1465772084-img4.png"), a("http://image.noelshack.com/fichiers/2016/24/1465772084-img5.png"),
                a("http://image.noelshack.com/fichi

Le beautifuler en plus de viré tous les espace ca vire le nom des variable et les remplace par des lettre et ca fou des ternaire [[sticker:p/1kks]]
du coup si t'a un code normal je veut bien l'avoir en mp [[sticker:p/1kkl]] mais bon je veux pas forcer

quelqu'un peut rajouter les sticker mr robot ?

Le 24 septembre 2016 à 11:52:09 1825Info a écrit :
quelqu'un peut rajouter les sticker mr robot ?

Si tu les as je te fais ça

Bon j'ai réglé le problème sur Chrome, il met environ 10 secondes à charger les stickers la première fois désormais, je rajoute les stickers et je fais la MàJ https://image.noelshack.com/fichiers/2016/34/1472406709-masterrace-i-against-i.gif

Cimer bordel https://image.noelshack.com/fichiers/2016/34/1472406703-hap-i-against-i.gif

sinon pour les Mr Robot https://image.noelshack.com/fichiers/2016/34/1471865484-stickermrrobot.png https://image.noelshack.com/fichiers/2016/37/1474120567-1471866075-stickermrrobot2.png https://image.noelshack.com/fichiers/2016/37/1474128225-mrrobot11.jpg https://image.noelshack.com/fichiers/2016/37/1474128280-elliot-ep2-640x356.jpg https://image.noelshack.com/fichiers/2016/37/1474127785-1473525126-elliot.png https://image.noelshack.com/fichiers/2016/37/1474127811-stickermrrobot3.png https://image.noelshack.com/fichiers/2016/37/1474128500-stickermrrobot4.png https://image.noelshack.com/fichiers/2016/37/1474129109-stickermrrobot5.png https://image.noelshack.com/fichiers/2016/37/1474129298-monsieurrobot.png https://image.noelshack.com/fichiers/2016/37/1474121578-stickertyrell.png https://image.noelshack.com/fichiers/2016/37/1474128360-wellick.jpg https://image.noelshack.com/fichiers/2016/37/1474127816-stickertyrell2.png https://image.noelshack.com/fichiers/2016/37/1474122163-stickertaxi.png https://image.noelshack.com/fichiers/2016/37/1474122627-stickerwhiterose.png https://image.noelshack.com/fichiers/2016/37/1474123370-stickerpute.png https://image.noelshack.com/fichiers/2016/37/1474123379-stickerangela.png https://image.noelshack.com/fichiers/2016/37/1474123739-sasz.png https://image.noelshack.com/fichiers/2016/37/1474124241-mobley.png https://image.noelshack.com/fichiers/2016/37/1474125759-trenton.png https://image.noelshack.com/fichiers/2016/37/1474126256-fsoc.png https://image.noelshack.com/fichiers/2016/37/1474125917-stickercisco.png https://image.noelshack.com/fichiers/2016/37/1474126780-stickerdarlene.png https://image.noelshack.com/fichiers/2016/37/1474127458-goddard.png https://image.noelshack.com/fichiers/2016/37/1474127717-robot.png https://image.noelshack.com/fichiers/2016/38/1474299456-joanna.png https://image.noelshack.com/fichiers/2016/37/1474128019-stickerkehatyrell.png https://image.noelshack.com/fichiers/2016/37/1474136281-stickerjoeybadass.png

Par contre dans la catégorie "Populaire" y a des stickers que j'ai jamais vu :rire: Il aurait fallu que ça soit dans une autre catégorie :( Genre "Top" m'voyez :hap: Du coup c'est chiant de cliquer dans les autres catégories alors qu'on avait l'habitude de trouver ce sticker [[sticker:p/1kki]] dans la catégorie "Populaire". Maintenant y a pleins de Risitas à la place :(

Au faites j'ai pas précisé, mais je peux ajouter des stickers sans faire de mise à jour depuis l'avant dernière MàJ (par contre je suis obligé de faire une mise à jour si je veux attribuer des sons aux stickers).

L'ajout de stickers n'est donc plus montrer sur le changelog des MàJs à présent.

J'ai fait la maj, plus de stickers [[sticker:p/1kks]]

Le 24 septembre 2016 à 15:17:21 TintinQRCode a écrit :
J'ai fait la maj, plus de stickers [[sticker:p/1kks]]

Actualise au bout d'un moment ça marche

Le 24 septembre 2016 à 15:16:21 HapHeroDebideur a écrit :
Par contre dans la catégorie "Populaire" y a des stickers que j'ai jamais vu :rire: Il aurait fallu que ça soit dans une autre catégorie :( Genre "Top" m'voyez :hap: Du coup c'est chiant de cliquer dans les autres catégories alors qu'on avait l'habitude de trouver ce sticker [[sticker:p/1kki]] dans la catégorie "Populaire". Maintenant y a pleins de Risitas à la place :(

Déjà proposé, c'est en cours + un système de favoris à venir :oui:

Ce qui serait cool, (si c'est possible ) , ce serait de pouvoir personnaliser la catégorie Populaire, avec les stickers qu'on veut https://image.noelshack.com/fichiers/2016/30/1469970936-img5.png

Mais le script est déjà énorme comme ça hein :oui:

edit: ah ok j'avais pas lu le post du dessus , :cimer:

Le 24 septembre 2016 à 15:18:13 Ticki84 a écrit :

Le 24 septembre 2016 à 15:16:21 HapHeroDebideur a écrit :
Par contre dans la catégorie "Populaire" y a des stickers que j'ai jamais vu :rire: Il aurait fallu que ça soit dans une autre catégorie :( Genre "Top" m'voyez :hap: Du coup c'est chiant de cliquer dans les autres catégories alors qu'on avait l'habitude de trouver ce sticker [[sticker:p/1kki]] dans la catégorie "Populaire". Maintenant y a pleins de Risitas à la place :(

Déjà proposé, c'est en cours + un système de favoris à venir :oui:

Cimer chef https://image.noelshack.com/fichiers/2016/34/1471902201-vallsquisue-i-against-i.gif

Données du topic

Auteur
ticki84
Date de création
11 juin 2016 à 23:53:46
Nb. messages archivés
4805
Nb. messages JVC
4805
En ligne sur JvArchive 221