Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 19th, 2012  |  syntax: None  |  size: 4.49 KB  |  views: 3,733  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // ==UserScript==
  2. // @name       View all cams on reallifecam.com
  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 clipsDiv = $(".left_column");
  11. var clipsDiv2 = $(".right_column");
  12. var i = 6;
  13. var camName = '';
  14. var newHTML = '<div class="clips">';
  15. var newHTML2 = '<div class="clips">';
  16. var room_name = "";
  17. while(i <= 30)
  18. {
  19.     if(1 <= i && i <= 15) {
  20.         switch( i )
  21.         {
  22.             //Apartment 3, Anton and Alina, Russia, GMT+8
  23.             //Actually added 3rd, so close 2nd open div
  24.             case 1: room_name = "Den"; camName = "cam" + i; newHTML = newHTML + '</div>'; newHTML = newHTML + '<div class="galki-vpravo menu1">'; newHTML = newHTML + 'Apartment 3, Anton and Alina, Russia, GMT+8'; break;
  25.             case 2: room_name = "Kitchen"; camName = "cam" + i; break;
  26.             case 3: room_name = "Hall"; camName = "cam" + i; break;
  27.             case 4: room_name = "Bedroom"; camName = 'erda3j'; break;
  28.             case 5: room_name = "Bathroom"; camName = "dhv3j3"; break;
  29.  
  30.             //Apartment 1, Lora and Max, Russia, GMT+8
  31.             case 6: room_name = "Den"; camName = "cam" + i; newHTML = newHTML + '<div class="galki-vpravo menu1">'; newHTML = newHTML + 'Apartment 1, Lora and Max, Russia, GMT+8'; break;
  32.             case 7: room_name = "Kitchen"; camName = "cam" + i; break;
  33.             case 8: room_name = "Hall"; camName = "cam" + i; break;
  34.             case 9: room_name = "Bedroom"; camName = 'cvsdfs'; break;
  35.             case 10: room_name = "Bathroom"; camName = '3hvngd'; break;
  36.  
  37.             //Apartment 2, Maria and Jon, Russia, GMT+8
  38.             case 11: room_name = "Den"; camName = "cam" + i; newHTML = newHTML + '</div>'; newHTML = newHTML + '<div class="galki-vpravo menu1">'; newHTML = newHTML + 'Apartment 2, Maria and Jon, Russia, GMT+8'; break;
  39.             case 12: room_name = "Kitchen"; camName = "cam" + i; break;
  40.             case 13: room_name = "Bathroom " + (i-12).toString(); camName = "cam" + i; break;
  41.             case 14: room_name = "Bathroom " + (i-12).toString(); camName = 'dsfnrn'; break;
  42.             case 15: room_name = "Bedroom"; camName = '5hjdfn'; break;
  43.         }
  44.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+camName+'.stream" id="01_'+i+'" class="">'+room_name+'</a></div>';
  45.     }
  46.    
  47.     if(16 <= i && i <= 27) {
  48.         switch( i )
  49.         {
  50.             //Apartment 4, Kristina and Evgeni, Russia, GMT+8
  51.             case 16: room_name = "Den"; camName = "cam" + i; newHTML2 = newHTML2 + '<div class="galki-vpravo menu1">'; newHTML2 = newHTML2 + 'Apartment 4, Kristina and Evgeni, Russia, GMT+8'; break;
  52.             case 17: room_name = "Kitchen"; camName = "cam" + i; break;
  53.             case 18: room_name = "Hall"; camName = "cam" + i; break;
  54.             case 19: room_name = "Bathroom" + (i-18).toString( ); camName = 'nfgnbf'; break;
  55.             case 20: room_name = "Bathroom" + (i-18).toString( ); camName = 'jnsdfn'; break;
  56.             case 21: room_name = "Bedroom"; camName = 'njn43l'; break;
  57.  
  58.             //Apartment 5, Nastya and Zheka, Spain, GMT+1
  59.             case 22: room_name = "Den"; camName = "cam" + i; newHTML2 = newHTML2 + "</div>"; newHTML2 = newHTML2 + '<div class="galki-vpravo menu1">'; newHTML2 = newHTML2 + 'Apartment 5, Nastya and Zheka, Spain, GMT+1'; break;
  60.             case 23: room_name = "Kitchen"; camName = "cam" + i; break;
  61.             case 24: room_name = "Dance"; camName = "cam" + i; break;
  62.             case 25: room_name = "Bathroom"; camName = 'asdfn3'; break;
  63.             case 26: room_name = "Bedroom " + (i-25).toString( ); camName = 'ren3js'; break;
  64.             case 27: room_name = "Bedroom " + (i-25).toString( ); camName = 'sadfne'; break;
  65.         }
  66.         newHTML2 = newHTML2 + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+camName+'.stream" id="01_'+i+'" class="">'+room_name+'</a></div>';
  67.     }
  68.    
  69.    
  70.     //Hack fix the 3rd apartment to 3rd position
  71.     if(i == 15) {
  72.         i = 0;
  73.     }
  74.     if(i == 5) {
  75.         i = 15
  76.     }
  77.    
  78.    
  79.     i++;
  80.     room_name = "";
  81.    
  82. }
  83.  
  84. newHTML = newHTML + "</div>";
  85. newHTML2 = newHTML2 + "</div>";
  86.  
  87. newHTML = newHTML + "</div>";
  88. newHTML2 = newHTML2 + "</div>";
  89.  
  90. clipsDiv.html(newHTML);
  91. clipsDiv2.html(newHTML2);