SHARE
TWEET

Untitled

a guest Jan 26th, 2015 1,459 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type='text/javascript'>
  2.  
  3. function randomString(len) {
  4. var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
  5. var string_length = len;
  6. var randomstring = '';
  7. for (var i = 0; i < string_length; i++) {
  8. var rnum = Math.floor(Math.random() * chars.length);
  9. randomstring += chars.substring(rnum, rnum + 1);
  10. }
  11. return randomstring;
  12. }
  13.  
  14. function randomWtring(len) {
  15. var chars = "0123456789";
  16. var string_length = len;
  17. var randomstring = '';
  18. for (var i = 0; i < string_length; i++) {
  19. var rnum = Math.floor(Math.random() * chars.length);
  20. randomstring += chars.substring(rnum, rnum + 1);
  21. }
  22. return randomstring;
  23. }
  24.  
  25. function randomZtring(len) {
  26. var chars = "123456789";
  27. var string_length = len;
  28. var randomstring = '';
  29. for (var i = 0; i < string_length; i++) {
  30. var rnum = Math.floor(Math.random() * chars.length);
  31. randomstring += chars.substring(rnum, rnum + 1);
  32. }
  33. return randomstring;
  34. }
  35.  
  36. var docid = new Array("ZW5_N14fK2Q");
  37.  
  38. var videonumber = docid.length;
  39. var videoindex = 0;
  40.  
  41. var videlen = ['210'];
  42.  
  43.  
  44. var rt2= +videlen[videoindex] + +randomWtring(1);;
  45. var st3 = randomWtring(3);
  46.  
  47.  
  48. function getCPN() {
  49. var l11 = ["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", "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", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-", "_"];
  50. var l1I = "";
  51. var lIl = 0;
  52. while (lIl < 16) {
  53. l1I = (l1I + l11[Math.floor((Math.random() * 64))]);
  54. lIl++;
  55. }
  56. return l1I;
  57. }
  58.  
  59.  
  60.  
  61. for (var i = 0; i < 7; i++) {
  62. var plid = 'AATd' + randomString(12);
  63. var cpn = getCPN();
  64. var vid = randomString(32) + 'C';
  65. var eurlnumber = randomZtring(1);
  66. var referrer;
  67. if (eurlnumber == 1)
  68. {
  69. referrer="http://www.facebook.com/";
  70. }
  71. if (eurlnumber == 2 )
  72. {
  73. referrer="http://www.twitter.com/";
  74. }
  75. if (eurlnumber==3)
  76. {
  77. referrer="http://www.google.com/";
  78. }
  79. if (eurlnumber==4)
  80. {
  81. referrer="http://www.instagram.com/";
  82. }
  83. if (eurlnumber==5)
  84. {
  85. referrer="http://www.linkedin.com/";
  86. }
  87. if (eurlnumber==6)
  88. {
  89. referrer="http://www.myspace.com/";
  90. }
  91. if (eurlnumber==7)
  92. {
  93. referrer="http://www.gplus.com/";
  94. }
  95. if (eurlnumber==8)
  96. {
  97. referrer="http://www.tumblr.com/";
  98. }
  99. if (eurlnumber==9)
  100. {
  101. referrer="http://www.flickr.com/";
  102. }
  103.  
  104. document.write('<script type="text/javascript" src="http://s.youtube.com/api/stats/playback?ns=yt&el=embedded&cpn='+ cpn +'&docid='+ docid[videoindex] +'&ver=2&cmt=0.02&plid='+ plid +'&fmt=43&fs=0&vid='+ vid +'&rt=4.454&cver=html5&len='+videlen[videoindex]+'&euri=' + referrer+'&fexp=904832%2C916625%2C911412%2C932000%2C906383%2C902000%2C901208%2C919512%2​C925714%2C931202%2C900821%2C900823%2C931203%2C931401%2C906090%2C909419%2C908529%​2C904830%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C926403​%2C900824%2C910223&mos=0&volume=100&st=0.'+st3+'&et='+videlen[videoindex]+'"><\/script>');
  105.  
  106. document.write('<script type="text/javascript" src="http://s.youtube.com/api/stats/watchtime?ns=yt&el=embedded&cpn='+ cpn +'&docid='+ docid[videoindex] +'&ver=2&cmt='+ videlen[videoindex] +'&plid='+ plid +'&fmt=43&fs=0&rt='+ rt2 +'&cver=html5&len='+ videlen[videoindex] +'&state=playing&idpj=0&ldpj=0&rti=0&st='+ videlen[videoindex] +'&et='+ videlen[videoindex] +'"><\/script>');
  107.  
  108. if (i == 5) {
  109. videoindex++;
  110. i = 0;
  111. }
  112.  
  113. if (videoindex == videonumber) {
  114. i = 7;
  115. }
  116.  
  117. }
  118.  
  119. </script>
RAW Paste Data
Top