Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1. // ==UserScript==
  2. // @name DeepJVCode
  3. // @author KoalaPuant
  4. // @description Spread the DeepJVC
  5. // @include http://www.jeuxvideo.com/*
  6. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
  7. // @version 0.0.1
  8. // @icon http://image.noelshack.com/fichiers/2017/19/1494276891-creepynude.png
  9. // @copyright blub
  10. // ==/UserScript==
  11.  
  12.  
  13. /*jshint multistr: true */
  14.  
  15. 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', "'", '@', ':', '#', '$', '=', '&', '€', '«', '»', '£', '+', '.', '!', '?', '%', '/', '-', ',', '{', '}', '<', '>', '[', ']', '"', '*', '(', ')', ';', '\\', '~'];
  16. var blub = ['1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','f'];
  17. var issou = [
  18. 'http://image.noelshack.com/fichiers/2017/13/1490996032-risitas-zone-b.png',
  19. 'http://image.noelshack.com/fichiers/2016/47/1479943597-1474719468-risitas623.png',
  20. 'http://image.noelshack.com/fichiers/2017/13/1490804273-risi-mib.png',
  21. 'http://image.noelshack.com/fichiers/2017/20/1495050242-secret4.jpg',
  22. 'http://image.noelshack.com/fichiers/2017/16/1492812516-darkpepe.png',
  23. 'http://image.noelshack.com/fichiers/2017/20/1495032802-1485484836-larry-camoufle.png',
  24. 'http://image.noelshack.com/fichiers/2017/20/1495044304-1485484836-larry.png',
  25. 'http://image.noelshack.com/fichiers/2017/20/1495031278-1485484836-larry-copie.png',
  26. 'http://image.noelshack.com/fichiers/2017/20/1495050312-luckylarryhidding3.png',
  27. 'http://image.noelshack.com/fichiers/2017/20/1495038304-1495029884-1485484836-larry.png',
  28. 'http://image.noelshack.com/fichiers/2017/20/1495132133-larryrobot.png',
  29. 'http://image.noelshack.com/fichiers/2017/20/1495050242-secret4.jpg',
  30. 'http://image.noelshack.com/fichiers/2017/20/1495050909-larry-batman.png',
  31. 'http://image.noelshack.com/fichiers/2017/20/1495040016-borsalino.png',
  32. 'http://image.noelshack.com/fichiers/2017/20/1495048108-larrybunker.jpg',
  33. 'http://image.noelshack.com/fichiers/2017/20/1495041364-l-riviere.png',
  34. 'http://image.noelshack.com/fichiers/2017/20/1495039131-charlie.png',
  35. 'http://image.noelshack.com/fichiers/2017/20/1495043430-larry-camoufle.png',
  36. 'http://image.noelshack.com/fichiers/2016/48/1480540191-risitasprie.png',
  37. 'http://image.noelshack.com/fichiers/2016/48/1480546095-risitas-moine2.png',
  38. 'http://image.noelshack.com/fichiers/2017/19/1494275179-jesus-horreur-gif-ingenieurjvc.gif',
  39. 'http://image.noelshack.com/fichiers/2017/19/1494279332-risicreepy2.png',
  40. 'http://image.noelshack.com/fichiers/2017/19/1494275991-creepypapier.png',
  41. 'http://image.noelshack.com/fichiers/2017/19/1494385044-1474719452-jesus56.png',
  42. 'http://image.noelshack.com/fichiers/2017/19/1494275532-jesustascreepy.png',
  43. 'http://image.noelshack.com/fichiers/2017/19/1494275532-jesustascreepy.png',
  44. 'http://image.noelshack.com/fichiers/2017/19/1494277380-creepysueur.png',
  45. 'http://image.noelshack.com/fichiers/2017/19/1494274203-risitas-horreur-clown-ingenieurjvc.png',
  46. 'http://image.noelshack.com/fichiers/2017/19/1494562276-1473263957-risitas33-6-copie-copie-copie-copie.png',
  47. 'http://image.noelshack.com/fichiers/2017/19/1494621198-creepymonkey.png',
  48. 'http://image.noelshack.com/fichiers/2017/19/1494292142-boit.png',
  49. 'http://image.noelshack.com/fichiers/2017/19/1494301899-larrycreep2.png',
  50. 'http://image.noelshack.com/fichiers/2017/19/1494276891-creepynude.png',
  51. 'http://image.noelshack.com/fichiers/2017/19/1494291248-creepydent.png',
  52. 'http://image.noelshack.com/fichiers/2017/19/1494624588-creepypretre.png',
  53. 'http://image.noelshack.com/fichiers/2017/19/1494447535-creepyjesustas.png',
  54. 'http://image.noelshack.com/fichiers/2017/19/1494295479-creepymickeyzoom.png',
  55. 'http://image.noelshack.com/fichiers/2017/19/1494376786-1480464805-1474567129-1471909771-risitasvictime.png',
  56. 'http://image.noelshack.com/fichiers/2017/20/1495305850-1491587513-1467335935-jesus1-copie-11-copie-copie-copie-copie-12.png',
  57. 'http://image.noelshack.com/fichiers/2017/19/1494321478-risitas-horreur-contraste-ingenieurjvc.png',
  58. 'http://image.noelshack.com/fichiers/2017/19/1494459960-illuminati-logo.png',
  59.  
  60.  
  61. ];
  62.  
  63. (function() {
  64.  
  65. 'use strict';
  66.  
  67.  
  68. var node = document.createElement("button");
  69. node.className = "btn btn-jv-editor-toolbar";
  70. node.type ="button";
  71. node.name ="AlphaLettre";
  72. node.id = "AlphaLettre";
  73. node.style.background = "#FFF";
  74. document.getElementsByClassName("btn-group")[2].appendChild(node);
  75.  
  76. $('#AlphaLettre').append('<span style="color:#0800FF; Font-Weight: bold;">DeepJVCode</span>');
  77.  
  78.  
  79. document.getElementById('AlphaLettre').addEventListener('click', function() {char_lettre();});
  80.  
  81. function char_lettre ()
  82. {
  83. var elem = document.getElementById('message_topic');
  84. var start = elem.selectionStart;
  85. var end = elem.selectionEnd;
  86. var len = elem.value.length;
  87. var sel_txt = elem.value.substring(start,end);
  88. elem.value += balance();
  89. }
  90.  
  91.  
  92.  
  93.  
  94. function getRand(mult) {
  95. return Math.round(Math.random() * mult);
  96. }
  97.  
  98. function balance()
  99. {
  100. var text = "\n\n\n\nCASE : ";
  101. var num = getRand(10000000000);
  102. text+= num.toString();
  103. text+= "\nTYPE : Code 0x";
  104. num = getRand(100) % 16;
  105. text += blub[num];
  106. num = getRand(100) % 16;
  107. text += blub[num];
  108. text+= "\nDATA : ";
  109. var longu = getRand(250);
  110. if (longu<40){ longu = longu * 5;}
  111. var i=0;
  112. while (i<longu)
  113. {
  114. num = getRand(100) % 66;
  115. text += alphaLettre[num];
  116. i=i+1;
  117. }
  118.  
  119. text += "\n\n";
  120. num = getRand(100) % 40;
  121. text += issou[num];
  122.  
  123.  
  124.  
  125. return text;
  126. }
  127.  
  128.  
  129.  
  130. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement