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

reallifecam

By: a guest on Nov 29th, 2012  |  syntax: None  |  size: 4.14 KB  |  views: 1,516  |  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       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 = $(".clips.low");
  11. var i = 1;
  12. var newHTML = '';
  13. while(i <= 15) {
  14.     var room = '';
  15.     var icon = '';
  16.     var stream = '';
  17.    
  18.     stream = 'cam'+i+'.stream';
  19.     if(i == 9) {stream = 'cvsdfs.stream';} //APT. 1 BEDROOM
  20.     if(i == 10) {stream = '3hvngd.stream';}//APT. 1 BEDROOM
  21.    
  22.     if(i == 14) {stream = 'dsfnrn.stream';}//APT. 2 BATHROOM
  23.     if(i == 15) {stream = '5hjdfn.stream';}//APT. 2 BEDROOM
  24.    
  25.     if(i == 9 || i == 10 || i == 14 || i == 15) {
  26.         icon = '<img src="http://reallifecam.com/images/zamok_opn.png" />';
  27.     }
  28.     if(i == 9 || i == 15) {
  29.         icon = icon + ' ' + '<img src="http://reallifecam.com/images/voce-on.png" />';
  30.     }
  31.     if(i == 6 || i == 11) {
  32.         room = "Living Room";
  33.     }
  34.     if(i == 7 || i == 12) {
  35.         room = "Kitchen";
  36.     }
  37.     if(i == 8) {
  38.         room = "Hall";
  39.     }
  40.     if(i == 9 || i == 15) {
  41.         room = "Bedroom";
  42.     }
  43.     if(i == 10) {
  44.         room = "Bathroom";
  45.     }
  46.     if(i == 13) {
  47.         room = "Bathroom (1)";
  48.     }
  49.     if(i == 14) {
  50.         room = "Bathroom (2)";
  51.     }
  52.     if(6 <= i && i <= 10) {
  53.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+stream+'" id="01_'+i+'" class=""> #1 - '+room+' '+icon+'</a></div>';
  54.     }
  55.     if(11 <= i && i <= 15) {
  56.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+stream+'" id="01_'+i+'" class=""> #2 - '+room+' '+icon+'</a></div>';
  57.     }
  58.     i++;
  59. }
  60. i = 0;
  61. while(i <= 27) {
  62.     var room = '';
  63.     var icon = '';
  64.     var stream = '';
  65.    
  66.     stream = 'cam'+i+'.stream';
  67.     if(i == 4) {stream = 'erda3j.stream';}//APT. 3 BEDROOM
  68.     if(i == 5) {stream = 'dhv3j3.stream';}//APT. 3 BATHROOM
  69.    
  70.     if(i == 19) {stream = 'nfgnbf.stream';}//APT. 4 BATHROOM (1)
  71.     if(i == 20) {stream = 'jnsdfn.stream';}//APT. 4 BATHROOM (2)
  72.     if(i == 21) {stream = 'njn43l.stream';}//APT. 4 BEDROOM
  73.    
  74.     if(i == 25) {stream = 'asdfn3.stream';}//APT.5 BATHROOM
  75.     if(i == 26) {stream = 'ren3js.stream';}//APT.5 BEDROOM
  76.     if(i == 27) {stream = 'sadfne.stream';}//APT.5 BEDROOM
  77.    
  78.     if(i == 4 || i == 5 || i == 19 || i == 20 || i == 21 || i == 25 || i == 26 || i == 27) {
  79.         icon = '<img src="http://reallifecam.com/images/zamok_opn.png" />';
  80.     }
  81.     if(i == 4 || i == 21 || i == 22 || i == 24 || i == 26 || i == 27) {
  82.         icon = icon + '<img src="http://reallifecam.com/images/voce-on.png" />';
  83.     }
  84.     if(i == 1 || i == 6 || i == 11 || i == 16 || i == 22) {
  85.         room = "Living Room";
  86.     }
  87.     if(i == 2 || i == 7 || i == 12 || i == 17 || i == 23) {
  88.         room = "Kitchen";
  89.     }
  90.     if(i == 3 || i == 8 || i == 18) {
  91.         room = "Hall";
  92.     }
  93.     if(i == 4 || i == 9 || i == 15 || i == 21 || i == 26 || i == 27) {
  94.         room = "Bedroom";
  95.     }
  96.     if(i == 5 || i == 10 || i == 25) {
  97.         room = "Bathroom";
  98.     }
  99.     if(i == 13 || i == 19) {
  100.         room = "Bathroom (1)";
  101.     }
  102.     if(i == 14 || i == 20) {
  103.         room = "Bathroom (2)";
  104.     }
  105.     if(i == 24) {
  106.         room = "Dance room";
  107.     }
  108.     if(1 <= i && i <= 5) {
  109.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+stream+'" id="01_'+i+'" class=""> #3 - '+room+' '+icon+'</a></div>';
  110.     }
  111.     if(16 <= i && i <= 21) {
  112.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+stream+'" id="01_'+i+'" class=""> #4 - '+room+' '+icon+'</a></div>';
  113.     }
  114.     if(22 <= i && i <= 27) {
  115.         newHTML = newHTML + '<div class="galki-vpravo menu1" onclick="changeclass(\'01_'+i+'\');return false;"><a href="'+stream+'" id="01_'+i+'" class=""> #5 - '+room+' '+icon+'</a></div>';
  116.     }
  117.     i++;
  118. }
  119. clipsDiv.html(newHTML);
clone this paste RAW Paste Data