SHARE
TWEET

Untitled

a guest Mar 9th, 2015 11,437 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name       View all cams on reallifecam.com
  3. // @namespace  None
  4. // @version    1.6.2
  5. // @description  View all cams without paying
  6. // @match      http://reallifecam.com/
  7. // @copyright  2012+, None
  8. // @downloadURL    https://userscripts.org/scripts/source/152651.user.js
  9. // @updateURL      https://userscripts.org/scripts/source/152651.meta.js
  10. // @require    https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
  11. // ==/UserScript==
  12.  
  13. var clipsDiv    = $(".clips.low");
  14. var offset      = 0;
  15. var newHTML     = '';
  16.  
  17. // Overriding auto-refresh
  18. var scriptCode = new Array();
  19. scriptCode.push('function reload_page(){' );
  20. scriptCode.push('  return false;'         );
  21. scriptCode.push('}'                       );
  22. var script = document.createElement('script');
  23. script.innerHTML = scriptCode.join('\n');
  24. scriptCode.length = 0;
  25. document.getElementsByTagName('head')[0].appendChild(script);
  26.  
  27. // function generateCamera ( offset, name )
  28. function generateCamera ( offset, rooms, room_no, category ) {
  29.  
  30.     for ( var i = offset; i < offset + rooms; i++ ){
  31.         var room = "[" + room_no + "] ";
  32.         var cam = 'cam' + i;
  33.         if      ( i == offset )
  34.             room += "Living Room";
  35.         else if ( i == offset + 1 )
  36.             room += "Kitchen";
  37.         else if (
  38.             ( i == offset + 2 && ( room_no == 1 || room_no == 3 || room_no == 4      ) )
  39.         )
  40.             room += "Hallway";
  41.         else if (
  42.             ( i == offset + 3 && ( room_no == 1 || room_no == 3                     ) ) ||
  43.             ( i == offset + 4 && ( room_no == 2 || room_no == 5                     ) ) ||
  44.             ( i == offset + 5 && ( room_no == 4 || room_no == 5                     ) )
  45.         )
  46.             room += "Bedroom";
  47.         else if (
  48.             ( i == offset + 4 && ( room_no == 1 || room_no == 3 || room_no == 4     ) ) ||
  49.             ( i == offset + 3 && ( room_no == 2 || room_no == 4 || room_no == 5     ) ) ||
  50.             ( i == offset + 2 && ( room_no == 2                                     ) )
  51.         )
  52.             room += "Bathroom";
  53.         else if (
  54.             ( i == offset + 2 && ( room_no == 5 ) )
  55.         )
  56.             room += "Sex Dungeon";
  57.         // Overrides, as private rooms are 'encrypted'
  58.         if      ( i == offset + 3 && room_no == 1 )
  59.             cam = "cvsdfs" ;
  60.         else if ( i == offset + 4 && room_no == 1 )
  61.             cam = "3hvngd";
  62.         else if ( i == offset + 3 && room_no == 2 )
  63.             cam = "dsfnrn";
  64.         else if ( i == offset + 4 && room_no == 2 )
  65.             cam = "5hjdfn";
  66.         else if ( i == offset + 3 && room_no == 3 )
  67.             cam = "erda3j";
  68.         else if ( i == offset + 4 && room_no == 3 )
  69.             cam = "dhv3j3";
  70.         else if ( i == offset + 3 && room_no == 4 )
  71.             cam = "nfgnbf";
  72.         else if ( i == offset + 4 && room_no == 4 )
  73.             cam = "jnsdfn";
  74.         else if ( i == offset + 5 && room_no == 4 )
  75.             cam = "njn43l";
  76.         else if ( i == offset + 3 && room_no == 5 )
  77.             cam = "asdfn3";
  78.         else if ( i == offset + 4 && room_no == 5 )
  79.             cam = "ren3js";
  80.         else if ( i == offset + 5 && room_no == 5 )
  81.             cam = "sadfne";
  82.  
  83.         newHTML = newHTML + '<div class="galki-vpravo menu' + category +  '" onclick="changeclass(\'0' + category + '_' + i + '\');return false;" style="display: block; "> <a href="' + cam + '.stream" id="0' + category + '_' + i + '" class=""> ' + room +' </a> </div>'
  84.     }
  85. }
  86.  
  87. // Cam 1 "Lora & Max"
  88. generateCamera( 6 , 5, 1, 2, "Lora & Max" );
  89. // Cam 2 "Maria & John"
  90. generateCamera( 11, 5, 2, 3, "Maria & John" );
  91. // Cam 3 "Anila & Anton"
  92. generateCamera( 1 , 5, 3, 1, "Anila & Anton" );
  93. // Cam 4 "Kristina & Evgeni"
  94. generateCamera( 16, 6, 4, 4, "Kristina & Evgeni" );
  95. // Cam 5 "Nastya & Zheka"
  96. generateCamera( 22, 6, 5, 5, "Nastya & Zheka" );
  97.  
  98. clipsDiv.html(newHTML);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top