Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name DeepJVCode
- // @author KoalaPuant
- // @description Spread the DeepJVC
- // @include http://www.jeuxvideo.com/*
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
- // @version 0.0.1
- // @icon http://image.noelshack.com/fichiers/2017/19/1494276891-creepynude.png
- // @copyright blub
- // ==/UserScript==
- /*jshint multistr: true */
- var alphaLettre = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', "'", '@', ':', '#', '$', '=', '&', '€', '«', '»', '£', '+', '.', '!', '?', '%', '/', '-', ',', '{', '}', '<', '>', '[', ']', '"', '*', '(', ')', ';', '\\', '~'];
- var blub = ['1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','f'];
- var issou = [
- 'http://image.noelshack.com/fichiers/2017/13/1490996032-risitas-zone-b.png',
- 'http://image.noelshack.com/fichiers/2016/47/1479943597-1474719468-risitas623.png',
- 'http://image.noelshack.com/fichiers/2017/13/1490804273-risi-mib.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495050242-secret4.jpg',
- 'http://image.noelshack.com/fichiers/2017/16/1492812516-darkpepe.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495032802-1485484836-larry-camoufle.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495044304-1485484836-larry.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495031278-1485484836-larry-copie.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495050312-luckylarryhidding3.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495038304-1495029884-1485484836-larry.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495132133-larryrobot.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495050242-secret4.jpg',
- 'http://image.noelshack.com/fichiers/2017/20/1495050909-larry-batman.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495040016-borsalino.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495048108-larrybunker.jpg',
- 'http://image.noelshack.com/fichiers/2017/20/1495041364-l-riviere.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495039131-charlie.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495043430-larry-camoufle.png',
- 'http://image.noelshack.com/fichiers/2016/48/1480540191-risitasprie.png',
- 'http://image.noelshack.com/fichiers/2016/48/1480546095-risitas-moine2.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494275179-jesus-horreur-gif-ingenieurjvc.gif',
- 'http://image.noelshack.com/fichiers/2017/19/1494279332-risicreepy2.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494275991-creepypapier.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494385044-1474719452-jesus56.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494275532-jesustascreepy.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494275532-jesustascreepy.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494277380-creepysueur.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494274203-risitas-horreur-clown-ingenieurjvc.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494562276-1473263957-risitas33-6-copie-copie-copie-copie.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494621198-creepymonkey.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494292142-boit.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494301899-larrycreep2.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494276891-creepynude.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494291248-creepydent.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494624588-creepypretre.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494447535-creepyjesustas.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494295479-creepymickeyzoom.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494376786-1480464805-1474567129-1471909771-risitasvictime.png',
- 'http://image.noelshack.com/fichiers/2017/20/1495305850-1491587513-1467335935-jesus1-copie-11-copie-copie-copie-copie-12.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494321478-risitas-horreur-contraste-ingenieurjvc.png',
- 'http://image.noelshack.com/fichiers/2017/19/1494459960-illuminati-logo.png',
- ];
- (function() {
- 'use strict';
- var node = document.createElement("button");
- node.className = "btn btn-jv-editor-toolbar";
- node.type ="button";
- node.name ="AlphaLettre";
- node.id = "AlphaLettre";
- node.style.background = "#FFF";
- document.getElementsByClassName("btn-group")[2].appendChild(node);
- $('#AlphaLettre').append('<span style="color:#0800FF; Font-Weight: bold;">DeepJVCode</span>');
- document.getElementById('AlphaLettre').addEventListener('click', function() {char_lettre();});
- function char_lettre ()
- {
- var elem = document.getElementById('message_topic');
- var start = elem.selectionStart;
- var end = elem.selectionEnd;
- var len = elem.value.length;
- var sel_txt = elem.value.substring(start,end);
- elem.value += balance();
- }
- function getRand(mult) {
- return Math.round(Math.random() * mult);
- }
- function balance()
- {
- var text = "\n\n\n\nCASE : ";
- var num = getRand(10000000000);
- text+= num.toString();
- text+= "\nTYPE : Code 0x";
- num = getRand(100) % 16;
- text += blub[num];
- num = getRand(100) % 16;
- text += blub[num];
- text+= "\nDATA : ";
- var longu = getRand(250);
- if (longu<40){ longu = longu * 5;}
- var i=0;
- while (i<longu)
- {
- num = getRand(100) % 66;
- text += alphaLettre[num];
- i=i+1;
- }
- text += "\n\n";
- num = getRand(100) % 40;
- text += issou[num];
- return text;
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement