Auteur Sujet: JKP - Scripts, Logiciels et autres  (Lu 17646 fois)

Carla Hoke

  • Vortex Chorizo
  • *
  • Messages: 72
Re : JKP - Scripts, Logiciels et autres « Réponse #30 le: août 27, 2015, 18:05:51 pm »
et hop
pour les rares caniches

JKP-Détruire ( www.)lemonde(.fr)

javascript: (function() {
    function getRandomInt(max) {
        return Math.floor(Math.random() * (max + 1));
    }

    function decrrr() {
        text = document.body.innerHTML;
        check = getRandomInt(text.length);
        var temp = text.split('');
        var index;
        var primo = new Array();
        for (index = 0; index < check; ++index) {
            primo.push(temp[index]);
        }
        for (index = check + 1000; index < text.length; ++index) {
            primo.push(temp[index]);
        }
        text = primo.join("");
        document.body.innerHTML = text;
        setTimeout(decrrr, 1);
    }
    var text = document.body.innerHTML;
    document.title = "Détruire (www.)lemonde(.fr)";
    decrrr();
})();
La vidéo
https://archive.org/details/JKP-DetruireLemonde

*************************************************************

JKP-Mettre Tout Dans ( www.)leboncoin(.fr)

javascript: (function () {
    document.title = "Mettre tout dans le (www.)leboncoin(.fr)";
    var i = 0;
    var elements = document.getElementsByTagName("*");
    setTimeout(coin,100);
    function coin() {
                if ( i == elements.length ) exit();
                else
                        {
                        i = i + 1;   
                elements[i].style.position = "fixed";
                elements[i].style.left = "0px";
                elements[i].style.top = "0px";
                        setTimeout(coin,100);
                        }
           }
})();
La vidéo
https://archive.org/details/JKP-MettreToutDansLeBonCoin

*************************************************************

JKP - Semer Le ( fr.wikipedia.org/Wiki)Chaos

javascript: (function () {

    document.title = "Semer le (fr.wikipedia.org/wiki/)Chaos";
    var elements = document.getElementsByTagName("*");
    var w = window.innerWidth;
    var h = window.innerHeight;
    function chaos () {
        for (var i = 0; i < elements.length; i++) {
        elements[i].style.position = "fixed";
        elements[i].style.left = (Math.floor(Math.random() * w) / 2) + "px";
        elements[i].style.top = Math.floor(Math.random() * h) + "px";
        }
               setTimeout(chaos, 10);
    }
    chaos();
})();
La vidéo
https://archive.org/details/JKP-SemerLeFrWikipediaOrgWikiChaos

*************************************************************

JKP - Tribute To Pollock

javascript: (function() {
    var largeur = window.innerWidth;
    var hauteur = window.innerHeight;
    var changementcouleur = 0;
    var x = 0;
    var y = 0;
    var rint = "";
    var choix = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "y", "z", "x", "1", "2", "3", "4", "5", "6", "7", "8", "9", "/", "*", "+", "-", ".", "(", ")", "%", "#", "&", ";", ":", "<", ">", "?", "@");

    function randomlargeur() {
        return Math.random() * largeur;
    }

    function randomhauteur() {
        return Math.random() * hauteur;
    }

    function randomwidth() {
        return (x += (Math.random() * 50) - 25) % largeur;
    }

    function randomfont() {
        return Math.random() * 100;
    }

    function randomheight() {
        changementcouleur += 1;
        if (changementcouleur % 100 === 0) {
            x = randomlargeur();
            y = randomhauteur();
        }
        return (y += (Math.random() * 20)) % hauteur;
    }

    function randomcolor() {
        if (changementcouleur % 100 === 0) {
            rint = Math.round(0xffffff * Math.random());
        }
        return ('#0' + rint.toString(16)).replace(/^#0([0-9a-f]{6})$/i, '#$1');
    }

    function addelement() {
        var elemDiv = document.createElement('div');
        elemDiv.className = "bollock";
        elemDiv.innerHTML = choix[Math.floor(Math.random() * choix.length)];
        elemDiv.style.cssText = 'position:absolute;top:' + randomheight() + 'px;left:' + randomwidth() + 'px;font-size:' + randomfont() + 'px;color:' + randomcolor();
        document.body.appendChild(elemDiv);
     
    }
    function addcolonne() {
    for (i = 0; i < 100; i++) {
         addelement();
    }
    setTimeout(addcolonne, 1000);
    }
    var newStyle = document.createElement('style');
    newStyle.appendChild(document.createTextNode("@font-face {font-family: Averia ;   src: url(http://jkp.antisocial.be/Bookmarklet/Font/fnt.php?f=WC_Rhesus_A_Bta.ttf);} .bollock { font-family: Averia ;}"));
    document.head.appendChild(newStyle);
    setTimeout(addcolonne, 1000);
})();
La vidéo
https://archive.org/details/JKP-TributeToPollock

*************************************************************

JKP - Tribute To Buren

javascript: (function() {
    var buren = function() {
        for (var b = document.images, a = 0; a < b.length; a++) {
            var c = b[a].width,
                d = b[a].height;
            if (c && d) b[a].src = 'http://www.antisocial.be/Buren-Image/' + c + '/' + d
        }
        return false
    };
    buren();
})()
http://www.antisocial.be/Buren-Image/ est un dérivé de dummy-image.com

La vidéo
https://archive.org/details/JKP-TributeToBuren

*************************************************************

JKP - Tribute to Hip Hop

javascript: (function() {
    function addelement(position) {
        var elemDiv = document.createElement('div');
        elemDiv.className = "bollock"+position;
        elemDiv.innerHTML = "";
        elemDiv.style.cssText = "position:absolute;z-index:100;top:" + position + "px;left:40px;font-size:180px;color:red;font-family: Averia;";
    var x = document.getElementById('slideshow');
    x.appendChild(elemDiv);
    }
    function changeelement(key,position) {
        var text = document.getElementsByClassName("bollock"+position)[0].innerHTML;
    text += key;
    document.getElementsByClassName("bollock"+position)[0].innerHTML = text;
    }
   
    var newStyle = document.createElement('style');
    newStyle.appendChild(document.createTextNode("@font-face {font-family: Averia ;   src: url(http://jkp.antisocial.be/Bookmarklet/Font/fnt.php?f=adrip1.ttf);}"));
    document.head.appendChild(newStyle);
    position = 200;
    addelement(position);
    document.onkeydown = function(event) {
    console.log(event.keyCode);
    if (event.keyCode == '49')
    {
        changeelement(" ",position);
    }
    else if (event.keyCode == '50')
    {
        position = 320;       
        addelement(position);
    }         
    else
    {
    key_press = String.fromCharCode(event.keyCode);
    changeelement(key_press,position);
    }   
    }
})();
La vidéo
https://archive.org/details/JKP-TributetoHipHop

*************************************************************

http://radio.antisocial.be/
mon lecteur random avec des jingles recodée en bootstrap, html5, jplayer
le code source est ici
https://github.com/j-k-p/Radio

*************************************************************
et de la data ...
Nouveau
Programmation de Voltage - Février 2015
https://www.data.gouv.fr/fr/datasets/programmation-de-voltage-fevrier-2015/

Programmation de Skyrock - Février 2015
https://www.data.gouv.fr/fr/datasets/programmation-de-skyrock-fevrier-2015/

Programmation de Virgin Radio - Mars 2015
https://www.data.gouv.fr/fr/datasets/programmation-de-virgin-radio-mars-2015/-
Programmation de LeMouv - Juin 2015
https://www.data.gouv.fr/fr/datasets/programmation-de-lemouv-juin-2015/-
Programmation de FIP - Juin 2015
https://www.data.gouv.fr/fr/datasets/programmation-de-fip-juin-2015/

et des Mises à jour

Programmation de France Inter 01-02-2014/28-06-2015
https://www.data.gouv.fr/fr/datasets/programmation-de-france-inter-01-02-2014-28-06-2015/-
Programmation de Europe1 01-05-2014 / 31-10-2014 et 01-01-2015 / 06-07-2015
https://www.data.gouv.fr/fr/datasets/programmation-de-europe1-01-05-2014-31-10-2014-et-01-01-2015-06-07-2015/
-
Programmation de Sud Radio 01-05-2014 / 06-07-2015
https://www.data.gouv.fr/fr/datasets/programmation-de-sud-radio-01-05-2014-06-07-2015/

Programmation RTL 01-01-2014/06-07-2015
https://www.data.gouv.fr/fr/datasets/programmation-rtl-01-01-2014-06-07-2015/