Want more features on Pastebin? Sign Up, it's FREE!
Guest

realifecam

By: a guest on Nov 25th, 2012  |  syntax: None  |  size: 3.84 KB  |  views: 2,045  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // ==UserScript==
  2. // @name all cams rlc
  3. // @namespace None
  4. // @version 1
  5. // @description View all cams without paying
  6. // @match http://reallifecam.com/
  7. // @copyright 2012+, None
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
  9. // ==/UserScript==
  10. var leftColumn = $(".left_column");
  11. var rightColumn = $(".right_column");
  12. var leftHTML = '<div class="clips">';
  13. var rightHTML = '<div class="clips">';
  14.  
  15. var p1 = '<div class="galki-vpravo menu1" onclick="changeclass(\'01_';
  16. //+ i
  17. var p2 = '\');return false;"><a href="';
  18. //+ camName
  19. var p3 = '.stream" id="01_';
  20. //+ i
  21. var p4 = '" class=""><span style="color:';
  22. //+ color
  23. var p5 = '">';
  24. //+ couple
  25. var p6 = '</span> - ';
  26. //+ roomName
  27. var p7 = '</a></div>';
  28.  
  29. var i = 1;
  30.  
  31. var couple = '';
  32. var camName = '';
  33. var roomName = '';
  34. var color = '';
  35.  
  36. while (i <= 30)
  37. {
  38. if (i >= 6 && i <= 10)
  39. {//Apartment 1
  40. couple = "1 LoraMax";
  41. color = "red";
  42. switch (i-6)
  43. {
  44. case 0:
  45. roomName = "Den";
  46. camName = "cam" + i;
  47. break;
  48. case 1:
  49. roomName = "Kitchen";
  50. camName = "cam" + i;
  51. break;
  52. case 2:
  53. roomName = "Hall";
  54. camName = "cam" + i;
  55. break;
  56. case 3:
  57. roomName = "Bedroom";
  58. camName = "cvsdfs";
  59. break;
  60. case 4:
  61. roomName = "Bathroom";
  62. camName = "3hvngd";
  63. break;
  64. }
  65.  
  66. leftHTML = leftHTML + p1 + i + p2 + camName + p3 + i + p4 + color + p5 + couple + p6 + roomName + p7;
  67.  
  68. }
  69. else if (i >= 11 && i <= 15)
  70. {//Apartment 2
  71. couple = "2 MariaJohn";
  72. color = "blue";
  73. switch (i-11)
  74. {
  75. case 0:
  76. roomName = "Den";
  77. camName = "cam" + i;
  78. break;
  79. case 1:
  80. roomName = "Kitchen";
  81. camName = "cam" + i;
  82. break;
  83. case 2:
  84. roomName = "Bathroom1";
  85. camName = "cam" + i;
  86. break;
  87. case 3:
  88. roomName = "Bathroom2";
  89. camName = "dsfnrn";
  90. break;
  91. case 4:
  92. roomName = "Bedroom";
  93. camName = "5hjdfn";
  94. break;
  95. }
  96.  
  97. leftHTML = leftHTML + p1 + i + p2 + camName + p3 + i + p4 + color + p5 + couple + p6 + roomName + p7;
  98.  
  99. }
  100. else if (i >= 1 && i <= 5)
  101. {//Apartment 3
  102. couple = "3 AlinaAnton";
  103. color = "black";
  104. switch (i-1)
  105. {
  106. case 0:
  107. roomName = "Den";
  108. camName = "cam" + i;
  109. break;
  110. case 1:
  111. roomName = "Kitchen";
  112. camName = "cam" + i;
  113. break;
  114. case 2:
  115. roomName = "Hall";
  116. camName = "cam" + i;
  117. break;
  118. case 3:
  119. roomName = "Bedroom";
  120. camName = "erda3j";
  121. break;
  122. case 4:
  123. roomName = "Bathroom";
  124. camName = "dhv3j3";
  125. break;
  126. }
  127.  
  128. leftHTML = leftHTML + p1 + i + p2 + camName + p3 + i + p4 + color + p5 + couple + p6 + roomName + p7;
  129.  
  130. }
  131. else if (i >= 16 && i <= 21)
  132. {//Apartment 4
  133. couple = "4 KristEvgen";
  134. color = "green";
  135. switch (i-16)
  136. {
  137. case 0:
  138. roomName = "Den";
  139. camName = "cam" + i;
  140. break;
  141. case 1:
  142. roomName = "Kitchen";
  143. camName = "cam" + i;
  144. break;
  145. case 2:
  146. roomName = "Hall";
  147. camName = "cam" + i;
  148. break;
  149. case 3:
  150. roomName = "Bathroom1";
  151. camName = "nfgnbf";
  152. break;
  153. case 4:
  154. roomName = "Bathroom2";
  155. camName = "jnsdfn";
  156. break;
  157. case 5:
  158. roomName = "Bedroom";
  159. camName = "njn43l";
  160. break;
  161. }
  162.  
  163. rightHTML = rightHTML + p1 + i + p2 + camName + p3 + i + p4 + color + p5 + couple + p6 + roomName + p7;
  164.  
  165. }
  166. else if (i >= 22 && i <= 27)
  167. {//Apartment 5
  168. couple = "5 NastyZhek";
  169. color = "purple";
  170. switch (i-22)
  171. {
  172. case 0:
  173. roomName = "Den";
  174. camName = "cam" + i;
  175. break;
  176. case 1:
  177. roomName = "Kitchen";
  178. camName = "cam" + i;
  179. break;
  180. case 2:
  181. roomName = "Dance";
  182. camName = "cam" + i;
  183. break;
  184. case 3:
  185. roomName = "Bathroom";
  186. camName = "asdfn3";
  187. break;
  188. case 4:
  189. roomName = "Bedroom1";
  190. camName = "ren3js";
  191. break;
  192. case 5:
  193. roomName = "Bedroom2";
  194. camName = "sadfne";
  195. break;
  196. }
  197.  
  198. rightHTML = rightHTML + p1 + i + p2 + camName + p3 + i + p4 + color + p5 + couple + p6 + roomName + p7;
  199.  
  200. }
  201.  
  202. i++;
  203.  
  204. }
  205.  
  206. leftHTML = leftHTML + "</div>";
  207. rightHTML = rightHTML + "</div>";
  208.  
  209. leftColumn.html(leftHTML);
  210. rightColumn.html(rightHTML);
clone this paste RAW Paste Data