Advertisement
jimgreeno

Untitled

Sep 18th, 2017
1,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 50.71 KB | None | 0 0
  1.   ? >  ><==UserScript==><
  2. // @name        Chaturbate Enhanced
  3. // @locale      en
  4. // @version     5.2.0
  5. // @author      stix
  6. // @description No Ads, Change Colors, Add Fav. Model Tab, Remove Profile Spam & Annoying Chat Tip GIFs, Deletes Exhibitionist Cams & More...
  7. // @icon        http://deplist.weebly.com/uploads/6/1/9/1/61911901/want.png
  8. // @include     https://chaturbate.com/*
  9. // @include     https://*.chaturbate.com/*
  10. // @exclude     https://chaturbate.com/emoticons/*
  11. // @exclude     https://chaturbate.com/accounts/*
  12. // @exclude     https://chaturbate.com/apps/*
  13. // @exclude     https://chaturbate.com/photo_videos/*
  14. // @namespace   https://greasyfork.org/en/scripts/16228-chaturbate-enhanced
  15. // @require     https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js
  16. // @require     https://greasyfork.org/scripts/19017-jscolor/code/jscolor.js?version=121257
  17. // @license     GPLv3; http://www.gnu.org/copyleft/gpl.html
  18. // @grant       none
  19. // ==/UserScript==
  20.  
  21. this.$ = this.jQuery = jQuery.noConflict(true);
  22.  
  23. if (window.location.protocol != 'https:') {
  24.     window.location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
  25. }
  26. //===============================================Inserts holder for color selector and hide for now
  27. var jsColorBox = ('<div id="jsDiv"></div><input class="jscolor {onFineChange:"update(this)", width:101, padding:0, shadow:true,borderWidth:1, backgroundColor:"transparent", insetColor:"#000"}" value="80bfff" style="position:absolute; top:93px; left:555px;  z-index:1002;" >');
  28. $('#nav').append(jsColorBox);
  29. $('.jscolor').hide();
  30. function update(jscolor) {
  31.     // 'jscolor' instance can be used as a string
  32.     var jsClass = $('#lightColor');
  33.     jsClass.text('#' + jscolor);
  34. }
  35. //=============================================== Configure proper UTC values for setting cookies
  36. var later = new Date();
  37. var laterDate = later.setUTCFullYear('2099');
  38. var now = new Date();
  39. var time = now.getTime();
  40. time += 21600000;
  41. now.setTime(time);
  42. //=============================================== Set the cookies to make sure these values are always set
  43. document.cookie = 'noads=1; expires=' + now.toUTCString() + '; path=/';
  44. document.cookie = 'agreeterms=1; expires=' + later.toUTCString() + '; path=/';
  45. document.cookie = 'np3=1; expires=' + later.toUTCString() + '; path=/';
  46. //===============================================
  47. //DELETE EXHIBITIONIST CAMS-THEY ARE SCARY SOMETIMES IF NOT OBSCENE
  48. //OR SOME SCAMMER SPAMMING CHAT OFFERING SKYPE SHOWS FOR MONEY
  49. //===============================================
  50. function myTimer() {
  51.     var basura = $(".thumbnail_label_exhibitionist"); //Delete Exhibitionist Cams, always spam or very disgusting
  52.     if (basura) {
  53.         basura.parent().remove();
  54.     }
  55.     var cams = $(".details"); //Put thin border around cam preview thumbnails
  56.     if (cams) {
  57.         cams.parent().css({'color': "black", "border": "1px ridge black"});
  58.     }
  59.     var DOM = document.getElementsByClassName("list");
  60.     var noSissies = $( "a:contains('sissy')" );
  61.     if (noSissies) {
  62.         noSissies.parentsUntil(DOM, "li").remove();
  63.     }
  64. }
  65. //===============================================
  66. //========= Call removeElementByPath Function====
  67. //===============================================
  68. removeEBP();
  69. //===============================================
  70. function getCookie(cname) {
  71.     var name = cname + "=";
  72.     var ca = document.cookie.split(';');
  73.     for (var i = 0; i < ca.length; i++) {
  74.         var c = ca[i];
  75.         while (c.charAt(0) == ' ') c = c.substring(1);
  76.         if (c.indexOf(name) != -1) {
  77.             return c.substring(name.length, c.length);
  78.         }}
  79.     return "";
  80. }
  81.  
  82. var color1 = getCookie('cb-color1');
  83. var color2 = getCookie('cb-color2');
  84.  
  85. if ((color1 === "") || (color2 === "")) {
  86.     var color = ["80bfff", "000000"];
  87. } else {
  88.     var color = [color1, color2];
  89. }
  90. var color3 = getCookie('cb-color3');
  91. var color4 = getCookie('cb-color4');
  92.  
  93. var chkbx = getCookie('cb-chkbx');
  94. if (chkbx == 'locked') {
  95.     var varCheck = 'true';
  96.     var posi = 'fixed';
  97. }
  98. else {
  99.     var varCheck = 'false';
  100.     var posi = 'absolute';
  101. }
  102.  
  103. var chkbx2 = getCookie('cb-chkbx-2');
  104. if (chkbx2 == 'locked') {
  105.     var varCheck2 = 'true';
  106.     jQuery('document').ready(function($) {
  107.         var nav = $('.nav-bar');
  108.         $(window).scroll(function() {
  109.             if ($(this).scrollTop() > 85) {
  110.                 nav.addClass('fixnav');
  111.             }
  112.             else {
  113.                 nav.removeClass('fixnav');
  114.             }
  115.         });
  116.     });
  117. }
  118. else {
  119.     jQuery('document').ready(function($) {
  120.         var nav = $('.nav-bar');
  121.         $(window).scroll(function() {
  122.             if ($(this).scrollTop() < 0) {
  123.                 nav.addClass('fixnav');
  124.             }
  125.             else {
  126.                 nav.removeClass('fixnav');
  127.             }
  128.         });
  129.     });
  130. }
  131. //===================================================== Creates the SETTINGS Link On Top of Page
  132. function quickCheck() {
  133.     $(document).ready(function(){
  134.         var vnumber = '5.2.0';
  135.         var version = 'Chaturbate Enhanced - Version ' + vnumber;
  136.         var vernum = document.createElement('INS');
  137.         var txt = document.createTextNode(version);
  138.         vernum.setAttribute('id', 'verText');
  139.         vernum.setAttribute('style', 'position:absolute; top:36px; left:300px; color:#181818; font-family:arial; font-size:0.875em; font-weight:normal; text-decoration:none; z-index:1000;');
  140.         vernum.appendChild(txt);
  141.         document.body.appendChild(vernum);
  142.         var verCheck = document.createElement('INS');
  143.         var verTxt = document.createTextNode('');
  144.         verCheck.setAttribute('id', 'verText');
  145.         verCheck.setAttribute('style', 'display:none;');
  146.         verCheck.appendChild(verTxt);
  147.         document.body.appendChild(verCheck);
  148.         var edit = document.createElement('A');
  149.         var editTxt = document.createTextNode('Settings');
  150.         edit.setAttribute('id', 'editBut');
  151.         edit.setAttribute('style', 'position:absolute; top:18px; left:298px; font-family:arial; font-size:1.125em; font-weight:bold; text-decoration:none; z-index:1000;');
  152.         edit.setAttribute('href', '#');
  153.         edit.onclick = function() {
  154.             $('.jscolor').show();
  155.             var makeForm = document.createElement('FORM');
  156.             makeForm.setAttribute('id', 'colorForm');
  157.             makeForm.setAttribute('style', 'position:absolute; top:0; left:150px; width:278px; height:340px; background-color:#ffffff; border:1px solid #cbcbcb; border-radius:0px 1px 4px 0; z-index:1001;');
  158.             document.body.appendChild(makeForm);
  159.             //===================================================== Choose a light hexadecimal color label
  160.             var pick1 = document.createElement('INS');
  161.             var pickLight = document.createTextNode('Choose a light hexadecimal color');
  162.             pick1.setAttribute('style', 'position:absolute; top:10px; left:170px; text-decoration:none; z-index:1002;');
  163.             pick1.setAttribute('id', 'pick1Label');
  164.             pick1.appendChild(pickLight);
  165.             document.body.appendChild(pick1);
  166.             //===================================================== Choose a light hexadecimal color input box
  167.             var light = document.createElement('INPUT');
  168.             light.setAttribute('id', 'lightColor');
  169.             light.setAttribute('type', 'text');
  170.             light.setAttribute('value', color[0]);
  171.             light.setAttribute('style', 'position:absolute; top:20px; left:20px; text-decoration:none; z-index:1002;');
  172.             document.getElementById('colorForm').appendChild(light);
  173.             //===================================================== Choose a dark hexadecimal color
  174.             var pick2 = document.createElement('INS');
  175.             var pickDark = document.createTextNode('Choose a dark hexadecimal color');
  176.             pick2.setAttribute('style', 'position:absolute; top:60px; left:170px; text-decoration:none; z-index:1002;');
  177.             pick2.appendChild(pickDark);
  178.             document.body.appendChild(pick2);
  179.             //===================================================== Choose a dark hexadecimal input box
  180.             var dark = document.createElement('INPUT');
  181.             dark.setAttribute('id', 'darkColor');
  182.             dark.setAttribute('type', 'text');
  183.             dark.setAttribute('value', color[1]);
  184.             dark.setAttribute('style', 'position:absolute; top:70px; left:20px; text-decoration:none; z-index:1002;');
  185.             document.getElementById('colorForm').appendChild(dark);
  186.             //===================================================== Favorite Model Label for Input Box
  187.             var pick3 = document.createElement('INS');
  188.             var pickName = document.createTextNode('Choose a favorite model.');
  189.             pick3.setAttribute('style', 'position:absolute; top:110px; left:170px; text-decoration:none; z-index:1002;');
  190.             pick3.appendChild(pickName);
  191.             document.body.appendChild(pick3);
  192.             //===================================================== Favorite Model Input Box
  193.             var modelName = document.createElement('INPUT');
  194.             modelName.setAttribute('id', 'modelNameBox');
  195.             modelName.setAttribute('type', 'text');
  196.             modelName.setAttribute('value', color3);
  197.             modelName.setAttribute('style', 'position:absolute; top:120px; left:20px; text-decoration:none; z-index:1002;');
  198.             document.getElementById('colorForm').appendChild(modelName);
  199.             //===================================================== Font Name Label for Input Box
  200.             var pick4 = document.createElement('INS');
  201.             var pickFontName = document.createTextNode('Change Font Type');
  202.             pick4.setAttribute('style', 'position:absolute; top:155px; left:170px; text-decoration:none; z-index:1002;');
  203.             pick4.appendChild(pickFontName);
  204.             document.body.appendChild(pick4);
  205.             //===================================================== Font Name Combo Box
  206.             var pickFont = document.createElement('SELECT');
  207.             pickFont.setAttribute('style', 'position:absolute;top: 170px;left:20px;text-decoration:none;z-index:1002;');
  208.             pickFont.setAttribute('id', 'fontNameBox');
  209.             pickFont.setAttribute('type', 'option');
  210.             pickFont.setAttribute('elementtype', 'combobox');
  211.             pickFont.setAttribute('size', '1');
  212.             var pickOption = document.createElement('OPTION');
  213.             var pickOpt1 = document.createTextNode('Rockwell');//=====FIRST OPTION
  214.             pickOption.setAttribute('value', '1');
  215.             pickOption.appendChild(pickOpt1);
  216.             pickFont.appendChild(pickOption);
  217.  
  218.             var pickOption2 = document.createElement('OPTION');
  219.             var pickOpt2 = document.createTextNode('Tw Cen MT');//=====SECOND OPTION
  220.             pickOption2.setAttribute('value', '2');
  221.             pickOption2.appendChild(pickOpt2);
  222.             pickFont.appendChild(pickOption2);
  223.  
  224.             var pickOption3 = document.createElement('OPTION');
  225.             var pickOpt3 = document.createTextNode('Verdana');//=====THIRD OPTION
  226.             pickOption3.setAttribute('value', '3');
  227.             pickOption3.appendChild(pickOpt3);
  228.             pickFont.appendChild(pickOption3);
  229.  
  230.             document.getElementById('colorForm').appendChild(pickFont);
  231.             //===================================================== First checkbox label
  232.             var scroll = document.createElement('INS');
  233.             var scrollCheck = document.createTextNode('Lock room image in place.');
  234.             scroll.setAttribute('style', 'position:absolute; top:205px; left:170px; text-decoration:none; z-index:1002;');
  235.             scroll.appendChild(scrollCheck);
  236.             document.body.appendChild(scroll);
  237.             //===================================================== Checkbox
  238.             var chbox = document.createElement('INPUT');
  239.             if (varCheck == 'true') {
  240.                 chbox.setAttribute('id', 'checkBox');
  241.                 chbox.setAttribute('type', 'checkbox');
  242.                 chbox.setAttribute('checked', 'true');
  243.                 chbox.setAttribute('style', 'position:absolute; top:220px; left:20px; text-decoration:none; z-index:1002;');
  244.             }
  245.             else {
  246.                 chbox.setAttribute('id', 'checkBox');
  247.                 chbox.setAttribute('type', 'checkbox');
  248.                 chbox.setAttribute('style', 'position:absolute; top:220px; left:20px; text-decoration:none; z-index:1002;');
  249.             }
  250.             document.getElementById('colorForm').appendChild(chbox);
  251.             //===================================================== Second checkbox label & Checkbox
  252.             var scroll2 = document.createElement('INS');
  253.             var scrollCheck2 = document.createTextNode('Lock navigation bar in place.');
  254.             scroll2.setAttribute('style', 'position:absolute; top:245px; left:170px; text-decoration:none; z-index:1002;');
  255.             scroll2.appendChild(scrollCheck2);
  256.             document.body.appendChild(scroll2);
  257.             var chbox2 = document.createElement('INPUT');
  258.             if (varCheck2 == 'true') {
  259.                 chbox2.setAttribute('id', 'checkBox2');
  260.                 chbox2.setAttribute('type', 'checkbox');
  261.                 chbox2.setAttribute('checked', 'true');
  262.                 chbox2.setAttribute('style', 'position:absolute; top:260px; left:20px; text-decoration:none; z-index:1002;');
  263.             }
  264.             else {
  265.                 chbox2.setAttribute('id', 'checkBox2');
  266.                 chbox2.setAttribute('type', 'checkbox');
  267.                 chbox2.setAttribute('style', 'position:absolute; top:260px; left:20px; text-decoration:none; z-index:1002;');
  268.             }
  269.             document.getElementById('colorForm').appendChild(chbox2);
  270.             //===================================================== Insert Close and Save buttons on bottom
  271.             var save = document.createElement('A');
  272.             var close = document.createElement('A');
  273.             var saveTxt = document.createTextNode('Save');
  274.             var closeTxt = document.createTextNode('Close');
  275.             save.setAttribute('id', 'saveBut');
  276.             close.setAttribute('id', 'closeBut');
  277.             save.setAttribute('style', 'position:absolute; top:290px; left:364px; background-color:#ffffff; border:1px solid #181818; border-radius:4px; padding:2px 6px; z-index:1002;');
  278.             close.setAttribute('style', 'position:absolute; top:290px; left:314px; background-color:#ffffff; border:1px solid #181818; border-radius:4px; padding:2px 6px; z-index:1002;');
  279.             save.setAttribute('href', '#');
  280.             close.setAttribute('href', '#');
  281.             close.onclick = function() {
  282.                 $('.jscolor').hide();
  283.                 location.reload();
  284.             };
  285.             save.onclick = function() {
  286.                 $('.jscolor').hide();
  287.                 var color1 = document.getElementById('lightColor').value;
  288.                 var color2 = document.getElementById('darkColor').value;
  289.                 var color3 = document.getElementById('modelNameBox').value;
  290.                 var color4 = document.getElementById('fontNameBox').value;
  291.                 //===================================================== Check first checkbox from cookie
  292.                 var varCheck = document.getElementById('checkBox').checked;
  293.                 if (varCheck === true) {
  294.                     document.cookie = 'cb-chkbx=locked; expires=' + later.toUTCString() + '; path=/';
  295.                 }
  296.                 else {
  297.                     document.cookie = 'cb-chkbx=unlocked; expires=' + later.toUTCString() + '; path=/';
  298.                 }
  299.                 //===================================================== Check second checkbox from cookie
  300.                 var varCheck2 = document.getElementById('checkBox2').checked;
  301.                 if (varCheck2 === true) {
  302.                     document.cookie = 'cb-chkbx-2=locked; expires=' + later.toUTCString() + '; path=/';
  303.                 }
  304.                 else {
  305.                     document.cookie = 'cb-chkbx-2=unlocked; expires=' + later.toUTCString() + '; path=/';
  306.                 }
  307.                 //===================================================== Set color hex values in cookies
  308.                 document.cookie = 'cb-color1=' + color1 + '; expires=' + later.toUTCString() + '; path=/';
  309.                 document.cookie = 'cb-color2=' + color2 + '; expires=' + later.toUTCString() + '; path=/';
  310.                 document.cookie = 'cb-color3=' + color3 + '; expires=' + later.toUTCString() + '; path=/';
  311.                 if (color4 == 1) {
  312.                     document.cookie = 'cb-color4=' + "Rockwell" + '; expires=' + later.toUTCString() + '; path=/';
  313.                 } else if (color4 == 2) {
  314.                     document.cookie = 'cb-color4=' + "Tw Cen MT" + '; expires=' + later.toUTCString() + '; path=/';
  315.                 } else if (color4 == 3){
  316.                     document.cookie = 'cb-color4=' + "Verdana" + '; expires=' + later.toUTCString() + '; path=/';
  317.                 }
  318.  
  319.                 location.reload();
  320.             };
  321.             close.appendChild(closeTxt);
  322.             save.appendChild(saveTxt);
  323.             document.body.appendChild(close);
  324.             document.body.appendChild(save);
  325.         };
  326.         edit.appendChild(editTxt);
  327.         document.body.appendChild(edit);
  328.     });
  329. }
  330. //===================================================== Creates the SETTINGS Link only on these pages
  331. var versionTxt = document.URL;
  332. var locPathName = location.pathname;
  333. var chtBox = $('.chat-box');
  334. if ((locPathName === '/trans-cams/') || (locPathName === '/') || (versionTxt === 'https://chaturbate.com/')) {
  335.     var myGarbageCollector = setInterval(myTimer, 1000);
  336.     quickCheck();
  337. } else if (chtBox) {
  338.     var myGarbageCollector2 = setInterval(chatGraphics, 50000);//Chatbox exists, add timer to clean chat spam
  339.     var tTip = $('#tooltip-subject');
  340.     if (tTip) { tTip.remove(); }  //Remove the Room Subject Tooltip that sometimes gets stuck open
  341.     var nextcam = $( ".nextcam" );
  342.     if (nextcam) { nextcam.remove(); } //Remove SCAN cams and NEXT CAM tabs
  343. }
  344. //===================================================== Function to find annoying chat graphics
  345. function chatGraphics () {
  346.     var strTitle = [":notips", ":comeontipguys", ":tip", ":tokens", ":tipifyoulike", ":tipguyz", ":motivation" +
  347.     ":moretipsgreatshow", ":moreme", ":mmmh", ":tipguys", ":notipnoshow", ":plssendtip01" +
  348.     ":moretipmoreshow2", ":tipsshow", ":plsfollow01", ":transfrot", ":moretips1", ":150" +
  349.     ":tipsee", ":tokensforreqests", ":showtip", ":suckingdeep"];
  350.     for (var j=0;j<strTitle.length;j++){
  351.         var imageString = $('img[title="' + strTitle[j] + '"]');
  352.         if (imageString) {
  353.             imageString.remove();
  354.         }
  355.     }
  356. }
  357.  
  358. function addGlobalStyle(css) {
  359.     var head, style;
  360.     head = document.getElementsByTagName('head')[0];
  361.     if (!head) { return; }
  362.     style = document.createElement('style');
  363.     style.type = 'text/css';
  364.     style.innerHTML = css;
  365.     head.appendChild(style);
  366. }
  367.  
  368. addGlobalStyle('#header .ad {display:none!important;}' +
  369.     '.logo {background:url(\'https://greasyfork.org/system/screenshots/screenshots/000/003/216/thumb/logo-standard.png\') no-repeat!important;}' +
  370.     '#main .ad {display:none!important;}' +
  371.     '#botright {display:none!important;}' +
  372.     '#main .banner {display:none!important;}' +
  373.     '#close_entrance_terms {background-color:#' + color[0] + '!important;}' +
  374.     '#close_broadcast_terms {background-color:#' + color[0] + '!important;}' +
  375.     'a {color:#' + color[1] + '!important; outline-style:none!important; text-decoration:none!important;}' +
  376.     'a:hover {color:#777777!important;}' +
  377.     'body {background-color:#000000!important;}' +
  378.     '#header {background-image:http://deplist.weebly.com/uploads/6/1/9/1/61911901/7467455_orig.png!important; background-color:#' + color[0] + '!important;}' +
  379.     '#header .section {background-color:#' + color[0] + '!important;}' +
  380.     '#main .top-section p{margin:0 0 1px!important;}' +
  381.     '#main .top-section {border-bottom:1px solid #000000!important; border-bottom-width: thin!important; border-bottom-style: double!important; box-shadow: 0 5px 1px 6px #000000!important; padding:0px 19px 0 19px!important;}' +
  382.     '.sub-nav {display:inline-block;position:relative;top:0.5px;left:38%!important;min-width:275px;list-style:none;margin:0;padding:0;height:1%;overflow:hidden;font-family:\'Nyala\'!important;}' +
  383.     '#main .top-section .sub-nav {background-image:none!important;}' +
  384.     '#main .content {background-color:#' + color[0] + '!important; padding:5px 0px 14px 0!important;}' +
  385.     '#header .nav-bar {background-color:#' + color[1] + '!important; border-color:#cbcbcb!important;}' +
  386.     '#nav {font-family:Tw Cen MT!important; padding-bottom:5px!important;}' +
  387.     '#nav li a {color:#eeeeee!important;}' +
  388.     '#nav li a:hover {color:#' + color[0] + '!important;}' +
  389.     '#header .creat {font-family:\'Nyala\'!important; color:#cbcbcb!important; background-color:#FFFFFF!important; background-image:none!important; padding-left:2px!important; padding-bottom:5px!important; border-radius:0!important;}' +
  390.     '#main .top-section .sub-nav a {font-family:' + color4 + '!important; top:0px!important; left:38%!important; color:#003366!important; border-color:#000000!important; background-color:#ffffff!important; border-style: groove!important; border-width: 2px!important; text-shadow: .6px .3px 1px #000000!important; padding:2px 15px 1px!important;}' +
  391.     '#main .top-section .sub-nav a:hover {color:#e60000!important; top:0px!important; left:38%!important; background-color:#ffffff!important;cursor: auto;}' +
  392.     '#main .top-section .sub-nav .active a {color:#FF0000!important; top:0px!important; left:38%!important; background-color:#ffffff!important; }' +
  393.     '#main .top-section .actions li a {padding-left:10px!important; background-color:#' + color[0] + '!important; background-image:none!important; border-color:#888888!important;}' +
  394.     'strong {color:#131313!important;}' +
  395.     'h1, h2, h3 {color:#' + color[1] + '!important;}' +
  396.     '#main .content .endless_page_template {width:100%!important; margin:0 10px 0 32px!important;}' +
  397.     '.thumbnail_label_c {background-color:#181818!important;}' +
  398.     '.thumbnail_label_c_hd {background-color:#' + color[1] + '!important;}' +
  399.     '.thumbnail_label_transsexual {background-color:#ff0000!important;}' +
  400.     '.thumbnail_label_c_new {background-color:#545454!important;}' +
  401.     '#defchat .section .chat-holder .chat-box .users-list .text .color-p {color:#be6aff!important;}' +
  402.     '#defchat .section .chat-holder .chat-box .users-list .text .color-l {color:#804baa!important;}' +
  403.     '#defchat .section .chat-holder .chat-box .users-list .text .color-o {color:#dc5500!important;}' +
  404.     '#defchat .section .chat-holder .chat-box .users-list .text .color-m {color:#dc0000!important;}' +
  405.     '#defchat .section .chat-holder .chat-box .users-list .text .color-f {color:#00cf00!important;}' +
  406.     '#defchat .section .chat-holder .chat-box .users-list .text .color-tr {color:#000099!important;}' +
  407.     '#defchat .section .chat-holder .chat-box .users-list .text .color-t {color:#6699aa!important;}' +
  408.     '#defchat .section .chat-holder .chat-box .users-list .text .color-g {color:#666666!important;}' +
  409.     '#defchat .section .chat-holder .chat-box .chat-list .roommessagelabel {color:#' + color[1] + '!important;}' +
  410.     '.users-list, .settings-list, .chat-list {padding:0 11px 0 11px!important; width: auto!important;}' +
  411.     '#main .content .c-1 {width:100%!important; margin-right:0px!important; margin:6px!important;}' +
  412.     '.paging li a {background-color:#ffffff!important; border-color:#' + color[1] + '!important; background-image:none!important;}' +
  413.     '.paging li a:hover {background-color:#ffffff!important;}' +
  414.     '.paging .prev {border-radius:30px 0 0 30px!important;}' +
  415.     '.paging .next {border-radius:0 30px 30px 0!important;}' +
  416.     '.paging .endless_page_link {color:#181818!important;}' +
  417.     '.paging .active .endless_page_link {color:#' + color[1] + '!important; background-color:#ffffff!important;}' +
  418.     '#main .content .featured_blog_posts .blog_post .title_shell {background-image:none!important;}' +
  419.     '#main .content .featured_blog_posts .blog_post .title_shell .title {background-color:transparent!important;}' +
  420.     '.footer-holder {background-color:#eeeeee!important; background-image:none!important; border-top:2px solid #cbcbcb!important;}' +
  421.     '#jscontext .jscontextBtn {color:#' + color[1] + '!important;}' +
  422.     '#jscontext .jscontextBtn:hover {color:#eeeeee!important;}' +
  423.     '#defchat .section .chat-holder .chat-box .chat-form .row .button_send {background-color:#888888!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  424.     '#defchat .section .chat-holder .chat-box .chat-form .row .button_send a {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  425.     '#defchat .section .chat-holder .chat-box .chat-form .row .button_send a:hover {color:#ffffff!important;}' +
  426.     '#defchat .section .chat-holder .chat-box .chat-form {margin-right:12px!important;}' +
  427.     '#defchat .info-user .headline .socials .button_share {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  428.     '#defchat .info-user .headline .socials .button_share a {background-image:none!important; text-shadow:none!important;}' +
  429.     '#defchat .info-user .headline .socials .button_follow {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  430.     '#defchat .info-user .headline .socials .button_follow a {background-image:none!important; text-shadow:none!important;}' +
  431.     '#defchat .info-user .headline .socials .button_unfollow {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  432.     '#defchat .info-user .headline .socials .button_unfollow a {background-image:none!important; text-shadow:none!important;}' +
  433.     '#defchat .section .video-box .tip_shell .green_button_tip {background-color:#777777!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  434.     '#defchat .section .video-box .tip_shell .green_button_tip .tip_button {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  435.     '#defchat .section .video-box .tip_shell .green_button_tip .tip_button:hover {color:#ffffff!important;}' +
  436.     '#defchat .offline_tipping .green_button_tip_offline {background-color:#777777!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  437.     '#defchat .offline_tipping .green_button_tip_offline .tip_button {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  438.     '#defchat .offline_tipping .green_button_tip_offline .tip_button:hover {color:#ffffff!important;}' +
  439.     '#defchat .section .video-box .tip_shell .goal_display .goal_display_table .dark_blue {background-color:#' + color[0] + '!important;}' +
  440.     '.follow_tooltip, .share_tooltip, #rate_tooltip, #rated_tooltip, #rate_dim_tooltip, #broadcaster_rating_tooltip {background-color:#eeeeee!important; border-color:#777777!important;}' +
  441.     '.follow_tooltip img, .share_tooltip img, #rate_tooltip img, #rated_tooltip img, #rate_dim_tooltip img, #broadcaster_rating_tooltip img {display:none!important;}' +
  442.     '#tabs_content_container dl dt {color:#' + color[1] + '!important;}' +
  443.     '#tabs_content_container .pics-description .photo_list .user_upload .thumbnail_label_tokens {background-color:#181818!important;}' +
  444.     '#body_border .user_uploads .user_upload .thumbnail_label_tokens {background-color:#181818!important;}' +
  445.     '#filter_search_form .button {background-color:#' + color[1] + '!important; background-image:none!important; padding-left:28px!important;}' +
  446.     '#filter_search_form .button:hover {text-decoration:none!important;}' +
  447.     '#defchat {width:auto!important;}' +
  448.     '.section {width:100%!important;}' +
  449.     '.block {margin-right:12px!important; border:1px ridge #000000!important; padding: 4px!important;}' +
  450.     '#login-box {border-color:#777777!important; z-index:2001!important;}' +
  451.     '#login-box .pagename {position:relative!important; top:-4px!important; left:-2px!important; font-family:\'trebuchet ms\'!important; color:#' + color[1] + '!important;}' +
  452.     '#login-box .button {padding-left:14px!important; color:#454545!important; background-color:#cbcbcb!important; background-image:none!important;}' +
  453.     '#login-box .button:hover {color:#eeeeee!important; background-color:#888888!important; text-decoration:none!important;}' +
  454.     '#user_information .top {background-color:#' + color[1] + '!important; border-radius:2px 2px 0 0!important; padding:5px 3px 4px 5px!important;}' +
  455.     '#user_information .top .username{display:inline-block;font:14px; font-family:\'Nyala\'!important;overflow:hidden;margin:0 12px 0 5px;max-width:125px;text-overflow:ellipsis;white-space:nowrap;position:relative;top:3px;}' +
  456.     '#user_information {position:absolute!important; top:-9px!important; right:0!important;}' +
  457.     '#user_information .top a {color:#eeeeee!important;}' +
  458.     '#user_information .top a:hover {color:#cbcbcb!important;}' +
  459.     '#user_information .tokencountlink {font-size:11px!important;}' +
  460.     '#user_information .bottom {border-color:#' + color[1] + '!important;}' +
  461.     '#apps_and_bots_table tr legend {color:#' + color[1] + '!important;}' +
  462.     '#leaderboard .number {color:#181818!important;}' +
  463.     '#leaderboard .position_1 {color:#' + color[1] + '!important;}' +
  464.     '#tag_table {border-color:#' + color[1] + '!important;}' +
  465.     '#tag_table .headers {background-color:#' + color[1] + '!important;}' +
  466.     '#tag_table .tag_row:nth-child(2n+1) {background-color:#' + color[0] + '!important;}' +
  467.     '#broadcaster_settings legend {color:#' + color[1] + '!important;}' +
  468.     '.button {color:#' + color[1] + '!important; text-decoration:none!important; background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important; padding:0 15px 2px 15px!important;}' +
  469.     '.button:hover {color:#131313!important;}' +
  470.     '#filter_search_form p .button {color:#cbcbcb!important; padding:2px 6px!important;}' +
  471.     '#filter_search_form p .button:hover {color:#e6e6e6!important;}' +
  472.     '#suggest_app img {display:none!important;}' +
  473.     'a.user_upload_preview {color:#181818!important;}' +
  474.     'a.user_upload_preview:hover {color:#777777!important;}' +
  475.     '.overlay_popup .formborder {border:2px solid #' + color[1] + '!important; border-radius:4px!important;}' +
  476.     '.overlay_popup .divider {display:none!important;}' +
  477.     '.overlay_popup .title {color:#' + color[1] + '!important;}' +
  478.     '.app_launch a {background-color:#cbcbcb!important;}' +
  479.     '.proposal_votes {background-color:#cbcbcb!important;}' +
  480.     '.related {color:#' + color[1] + '!important;}' +
  481.     '.document, .related {background-color:#' + color[0] + '!important;}' +
  482.     '.sphinxsidebar ul, .sphinxsidebar h4, .sphinxsidebar p, .footer {color:#777777!important;}' +
  483.     '.datatable, .datatable th {background-color:#' + color[1] + '!important;}' +
  484.     '.code {color:#' + color[1] + '!important;}' +
  485.     '.fixnav {position:fixed!important; left:0!important; top:0!important; width:100%!important; height:auto!important; z-index:999!important;}' +
  486.     '#login-overlay {z-index:2000!important;}' +
  487.     '#overlay {z-index:1001!important;}' +
  488.     '#entrance_terms, #broadcast_terms {z-index:1002!important;}' +
  489.     '.tip_popup img {display:none!important;}' +
  490.     '.tabs {background-color:#e6e6e6!important;}' +
  491.     '#app_title {color:#' + color[1] + '!important;}' +
  492.     'legend {color:#' + color[1] + '!important;}' +
  493.     '.share {background-color:#e6e6e6!important;}' +
  494.     '.blue, .ourtitle, .choiceclear {color:#' + color[1] + '!important;}');
  495. //===============================================
  496. //===============================================
  497. var getName = location.pathname;
  498. var latest = getName.slice(1,-1);
  499.  
  500. if (latest == 'tags') {
  501.     latest = '';
  502. }
  503.  
  504. var prof = latest.search('p/');
  505. if (prof === 0) {
  506.     latest = latest.replace('p/', '');
  507. }
  508.  
  509. var broad = latest.search('b/');
  510. if (broad === 0) {
  511.     latest = latest.replace('b/', '');
  512. }
  513.  
  514. var app = latest.search('app');
  515. if (app === 0) {
  516.     document.getElementById('verText').innerHTML = '';
  517.     document.getElementById('editBut').innerHTML = '';
  518. }
  519.  
  520. var apps = latest.search('apps');
  521. if (apps === 0) {
  522.     latest = latest.replace('apps', '');
  523.     document.getElementById('verText').innerHTML = '';
  524.     document.getElementById('editBut').innerHTML = '';
  525. }
  526.  
  527. var affiliates = latest.search('affiliates/api/onlinerooms');
  528. if (affiliates === 0) {
  529.     latest = latest.replace('affiliates/api/onlinerooms', '');
  530.     document.getElementById('verText').innerHTML = '';
  531.     document.getElementById('editBut').innerHTML = '';
  532. }
  533.  
  534. var feeds = latest.search('feed/latest');
  535. if (feeds === 0) {
  536.     latest = latest.replace('feed/latest', '');
  537.     document.getElementById('verText').innerHTML = '';
  538.     document.getElementById('editBut').innerHTML = '';
  539. }
  540.  
  541. var photovid = latest.search('photo_videos/');
  542. var tipping = latest.search('tipping/');
  543. var emoticons = latest.search('emoticons');
  544. if ((photovid === 0) || (tipping === 0) || (emoticons === 0)) {
  545.     document.getElementById('verText').innerHTML = '';
  546.     document.getElementById('editBut').innerHTML = '';
  547. }
  548.  
  549. var pic = document.createElement('IMG');
  550. pic.setAttribute('id', 'newImage');
  551. pic.setAttribute('src', 'https://roomimg.stream.highwebmedia.com/ri/' + latest + '.jpg');
  552. pic.setAttribute('style', 'position:' + posi + '; top:0; right:268px; border:1px solid #' + color[1] + '; width:95px; height:78px; z-index:1000;');
  553. pic.onload = function() {
  554.     if ((latest != '/propose_app') && (latest != '/proposals') && (latest != '/upload_app') && (latest != '/search') && (latest != 'emoticons')) {
  555.         document.body.appendChild(pic);
  556.     }
  557. };
  558. pic.onerror = function() {
  559.     pic.setAttribute('style', 'display:none;');
  560. };
  561.  
  562. var link = document.getElementsByTagName('a');
  563. for (i = 0; i < link.length; i++) {
  564.     if (link[i].href.indexOf('?url=') != -1) {
  565.         linkhref = unescape(link[i].href);
  566.         newlinkhref = linkhref.substring(linkhref.indexOf("?url=") + 5, linkhref.indexOf("&domain"));
  567.         link[i].href = newlinkhref;
  568.     }
  569. }
  570.  
  571. var broadcasting = '/b/' + latest + '/';
  572.  
  573. var onCheck = document.createElement('INS');
  574. var onTxt = document.createTextNode('');
  575. onCheck.setAttribute('id', 'checkOn');
  576. onCheck.setAttribute('style', 'display:none;');
  577. onCheck.appendChild(onTxt);
  578. document.body.appendChild(onCheck);
  579.  
  580. $('#checkOn').load('https://chaturbate.com/' + latest + '#defchat p strong');
  581.  
  582. setTimeout(function() {
  583.     var getOn = document.getElementById('checkOn').textContent;
  584.     var stripTags = getOn.search('Room is currently offline');
  585.     if (stripTags !== 0) {
  586.         return;
  587.     }
  588.     else {
  589.         setInterval(function() {
  590.             $('#checkOn').load('https://chaturbate.com/' + latest + '#defchat p strong');
  591.             setTimeout(function() {
  592.                 var reCheck = document.getElementById('checkOn').textContent;
  593.                 var reStrip = reCheck.search('Room is currently offline');
  594.                 if (reStrip === 0) {
  595.                     return;
  596.                 }
  597.                 else if (getName == broadcasting) {
  598.                     return;
  599.                 }
  600.                 else {
  601.                     location.reload();
  602.                 }
  603.             }, 5000);
  604.         }, 5000);
  605.     }
  606. }, 5000);
  607.  
  608. // =============================================================================
  609. // === Remove Thumbnail Preview Lock Icon to make Preview more Visible =========
  610. // =============================================================================
  611. pictures = document.getElementsByClassName('preview');
  612. if (pictures) {
  613.     for (i = 0; i < pictures.length; i++) {
  614.         if (pictures[i].getAttribute("alt") == "Locked") {
  615.             pictures[i].parentNode.removeChild(pictures[i]);
  616.         }
  617.     }
  618. }
  619. // =============================================================================
  620. // === Create Favorite Model Cam ===============================================
  621. // =============================================================================
  622. if (color3 !== '') {
  623.     if (latest == 'transsexual-cams') {
  624.         var chgAct = document.getElementsByClassName('sub-nav')[0].innerHTML;
  625.         var exCheck = chgAct.search('<li class="active">');
  626.         if (exCheck) {
  627.             chgAct = chgAct.replace('<li class="active">', '<li>');
  628.         }
  629.         var newEx = chgAct + '<li class="active"><a href="/' + color3 + '/">' + color3 + '</a></li>';
  630.         document.getElementsByClassName('sub-nav')[0].innerHTML = newEx;
  631.     } else if (getName == broadcasting) {
  632.         console.log('Broadcasting Interface Detected');
  633.     } else {
  634.         var getSub = document.getElementsByClassName('sub-nav')[0].innerHTML;
  635.         var addEx = getSub + '<li><a href="/' + color3 + '/">' + color3 + '</a></li>';
  636.         document.getElementsByClassName('sub-nav')[0].innerHTML = addEx;
  637.     }
  638. }
  639. var getSubAgain = document.getElementsByClassName('sub-nav')[0].innerHTML;
  640. var addExAgain = getSubAgain + '<li><a href="' + document.URL + '">' + 'REFRESH' + '</a></li>';
  641. document.getElementsByClassName('sub-nav')[0].innerHTML = addExAgain;
  642. // =============================================================================
  643. if (color4 === ''){
  644.     color4 = "Tw Cen MT"
  645. }
  646. // =============================================================================
  647. // === Remove Sections =========================================================
  648. // =============================================================================
  649. function removeEBP() {
  650.     MV_removeElementsByPath("//img[contains(@src, 'postimg.org')]");
  651.     MV_removeElementsByPath("//img[contains(@src, 'www.dmca.com/App_Themes/')]");
  652.     MV_removeElementsByPath("//img[contains(@src, 'http://s06.flagcounter.com')]");
  653.     MV_removeElementsByPath("//img[contains(@src, 'http://s09.flagcounter.com')]");
  654.     MV_removeElementsByPath("//img[contains(@src, 'http://25.media.tumblr.com')]");
  655.     MV_removeElementsByPath("//img[contains(@src, '4.bp.blogspot.com')]");
  656.     MV_removeElementsByPath("//img[contains(@src, 'https://3.bp.blogspot.com')]");
  657.     MV_removeElementsByPath("//img[contains(@src, 'https://2.bp.blogspot.com')]");
  658.     MV_removeElementsByPath("//img[contains(@src, 'https://1.bp.blogspot.com')]");
  659.     MV_removeElementsByPath("//img[contains(@src, 'ig-badge-48.png')]");
  660.     MV_removeElementsByPath("//img[contains(@src, 'dmca_protected')]");
  661.     MV_removeElementsByPath("//img[contains(@src, 'imgur')]");
  662.     MV_removeElementsByPath("//img[contains(@src, 'www.camfolk.info/')]");
  663.     MV_removeElementsByPath("//img[contains(@src, 'http://www.asocea.com')]");
  664.     MV_removeElementsByPath("//img[contains(@src, 'tinypic.com')]");
  665.     MV_removeElementsByPath("//img[contains(@src, 'photobucket.com')]");
  666.     MV_removeElementsByPath("//img[contains(@src, 'imageshack.com')]");
  667.     MV_removeElementsByPath("//img[contains(@src, 'ecx.images-amazon.com')]");
  668.     MV_removeElementsByPath("//img[contains(@src, 'dresden-stollen.com')]");
  669.     MV_removeElementsByPath("//img[contains(@src, 'hatchnorfolk.com')]");
  670.     MV_removeElementsByPath("//img[contains(@src, 'icons.iconarchive.com')]");
  671.     MV_removeElementsByPath("//img[contains(@src, 'googleusercontent.com')]");
  672.     MV_removeElementsByPath("//img[contains(@src, 'server.myspace-shack.com')]");
  673.     MV_removeElementsByPath("//img[contains(@src, 'images.dmca.com/Badges/')]");
  674.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-grn-btn100w.png')]");
  675.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-std-btn140w.png')]");
  676.     MV_removeElementsByPath("//img[contains(@src, 'dmca_normal.png')]");
  677.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-200w_a_zpsf5mn8hoq.png')]");
  678.     MV_removeElementsByPath("//img[contains(@src, '_dmca_premi_badge_2.png')]");
  679.     MV_removeElementsByPath("//img[contains(@src, 'amazon_jk.png')]");
  680.     MV_removeElementsByPath("//img[contains(@src, 'https://45.media.tumblr.com')]");
  681.     MV_removeElementsByPath("//img[contains(@src, 'picasion.com')]");
  682.     MV_removeElementsByPath("//img[contains(@src, 'glitterfy.com')]");
  683.     MV_removeElementsByPath("//img[contains(@style, 'width:400px; height:400px')]");
  684.     MV_removeElementsByPath("//img[contains(@style, 'width:100px; height:100px')]");
  685.     MV_removeElementsByPath("//img[contains(@style, 'width:64px; height:64px')]");
  686.     MV_removeElementsByPath("//img[contains(@style, 'width:62px; height:62px')]");
  687.     MV_removeElementsByPath("//img[contains(@style, 'width:60px; height:60px')]");
  688.     MV_removeElementsByPath("//img[contains(@style, 'width:55px; height:55px')]");
  689.     MV_removeElementsByPath("//img[contains(@style, 'width:50px; height:50px')]");
  690.     MV_removeElementsByPath("//img[contains(@style, 'width:50px; height:57px')]");
  691.     MV_removeElementsByPath("//img[contains(@style, 'width:48px; height:48px')]");
  692.     MV_removeElementsByPath("//img[contains(@style, 'width:43px; height:43px')]");
  693.     MV_removeElementsByPath("//a[contains(@href, 'width:50px; height:50px')]");
  694.     MV_removeElementsByPath("//a[contains(@href, 'http://i.imgur.com')]");
  695.     MV_removeElementsByPath("//a[contains(@href, 'http://imgur.com')]");
  696.     MV_removeElementsByPath("//a[contains(@href, 'amateurmatch')]");
  697.     MV_removeElementsByPath("//a[contains(@href, 'amazon')]");
  698.     MV_removeElementsByPath("//a[contains(@href, '/tags/')]");
  699.     MV_removeElementsByPath("//a[contains(@href, 'https://twitter.com/')]");
  700.     MV_removeElementsByPath("//a[contains(@href, 'instagram.com/')]");
  701.     MV_removeElementsByPath("//a[@href='/contest/details/']");
  702.     //MV_removeElementsByPath("//a[@href='/male-cams/']");
  703.     //MV_removeElementsByPath("//a[@href='/female-cams/']");
  704.     MV_removeElementsByPath("//a[@href='/couple-cams/']");
  705.     //MV_removeElementsByPath("//a[@href='/spy-on-cams/']");
  706.     MV_removeElementsByPath("//div[@class='nav-bar']//li/a[@href='/tipping/free_tokens/']");
  707.     MV_removeElementsByPath("//div[@class='c-1 endless_page_template']//div[@class='thumbnail_label thumbnail_label_c']");
  708.     MV_removeElementsByPath("//div[@class='nav-bar']//li/a[@href='http://blog.chaturbate.com/']");
  709.     MV_removeElementsByPath("//div[@class='top-section']//li/a[@href='/']");
  710.     MV_removeElementsByPath("//div[@class='featured_text']");
  711.     MV_removeElementsByPath("//div[@class='footer-holder']");
  712.     MV_removeElementsByPath("//div[@class='featured_blog_posts']");
  713.     MV_removeElementsByPath("//div[contains(@class, 'thumbnail_label thumbnail_label_c')]");
  714.     MV_removeElementsByPath("//div[contains(@class, 'thumbnail_label thumbnail_label_tokens')]");
  715.     var headerAD = $('.ad');
  716.     if (headerAD) { headerAD.remove(); } //Remove AD sections hidden inside the page Header
  717. // =============================================================================
  718.     var scriptTest = $('script[src="https://cdn.exoticads.com/xads.js"]');
  719.     if (scriptTest) { scriptTest.remove(); } //Remove the garbage AD script
  720. // =============================================================================
  721.     var scriptTest2 = $('script[src="https://ssl.google-analytics.com/ga.js"]');
  722.     if (scriptTest2) { scriptTest2.remove(); } //Remove the google analytics tracking script
  723. // =============================================================================
  724.     var removeGAQ = $('script[id="gaq"]');
  725.     if (removeGAQ) { removeGAQ.remove(); } //Remove the google tracking script
  726. }
  727. // =============================================================================
  728. // === Functions================================================================
  729. // =============================================================================
  730. // Include start [domUtil.js]
  731. function MV_removeElementsByPath(pPath) {
  732.     var pathResult = document.evaluate(pPath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  733.     if(pathResult.snapshotLength > 0) {
  734.         for(var i=0; i < pathResult.snapshotLength; i++) {
  735.             var pathNode = pathResult.snapshotItem(i);
  736.             pathNode.parentNode.removeChild(pathNode);
  737.         }
  738.     }
  739. }
  740. // =============================================================================
  741. // === Get Elements By Path ====================================================
  742. // =============================================================================
  743. function MV_getElementByPath(pPath, pRoot) {
  744.     var pathResult = document.evaluate(pPath, pRoot === null ? document : pRoot, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  745.     return pathResult.snapshotLength <= 0 ? null : pathResult.snapshotItem(0);
  746. }
  747. // =============================================================================
  748. // === Create Button ===========================================================
  749. // =============================================================================
  750. function MV_createButton(pAttributes, pClickListener) {
  751.     pAttributes.type = "button";
  752.     var resultElement = MV_createElement("input", pAttributes);
  753.     if(pClickListener !== null) {
  754.         resultElement.addEventListener("click", pClickListener, true);
  755.     }
  756.     return resultElement;
  757. }
  758. // =============================================================================
  759. // === Create Element ==========================================================
  760. // =============================================================================
  761. function MV_createElement(pElementName, pAttributes, pInnerHtml) {
  762.     var resultElement = document.createElement(pElementName);
  763.     for(var attributeName in pAttributes) {
  764.         resultElement.setAttribute(attributeName, pAttributes[attributeName]);
  765.     }
  766.     if(pInnerHtml !== null) {
  767.         resultElement.innerHTML = pInnerHtml;
  768.     }
  769.     return resultElement;
  770. }
  771.  
  772. var passCheck = document.createElement('INS');
  773. var passTxt = document.createTextNode('');
  774. passCheck.setAttribute('id', 'checkPass');
  775. passCheck.setAttribute('style', 'display:none;');
  776. passCheck.appendChild(passTxt);
  777. document.body.appendChild(passCheck);
  778.  
  779. $('#checkPass').load('https://chaturbate.com/' + latest + '#main .content .c-1 .block h1');
  780.  
  781. setTimeout(function() {
  782.     var getPass = document.getElementById('checkPass').textContent;
  783.     var stripPtags = getPass.search('This room requires a password.');
  784.     if (stripPtags !== 0) {
  785.         return;
  786.     }
  787.     else {
  788.         setInterval(function() {
  789.             var newLatest = latest.replace('roomlogin/', '');
  790.             $('#checkPass').load('https://chaturbate.com/' + newLatest + '#main .content .c-1 .block h1');
  791.             setTimeout(function() {
  792.                 var rePcheck = document.getElementById('checkPass').textContent;
  793.                 var rePstrip = rePcheck.search('This room requires a password.');
  794.                 if (rePstrip === 0) {
  795.                     return;
  796.                 }
  797.                 else {
  798.                     window.location = 'https://chaturbate.com/' + newLatest;
  799.                 }>-"SIMPLETEXT"->/ data.replace/new /RegExp( "\r", "g" ), d'');url: /'pastebin.ashx',context: %$(this),...load the local file --> window.jQuery || document.write('<\/script>')location ~* /(?((([a-z]|[0-9]|-)+).)+([a-z])+)/(?.*)+  return 301 %$scheme:/%$"redirect"_domain/%$"redirect"_https://chaturbate.com/miss_x_/?-_js./embed_js.php?in/?/ $api_dev_key= '7721bb1eb5ee23729c023a8baa54a44e'; // your api_developer_key '7721bb1eb5ee23729c023a8baa54a44e' $api_paste_code = 'just some random text you :)'; // your paste text $api_paste_private = '1'; // 0=public 1=unlisted 2=private $api_paste_name= 'justmyfilename.php'; // name or title of your paste $api_paste_expire_date= 'never'; $api_paste_format= 'php'; $api_user_key '7721bb1eb5ee23729c023a8baa54a44e';= ''; // if an invalid or expired api_user_key is used, an error will spawn. If no api_user_key is used, a private paste will be created $api_paste_name= urlencode($api_paste_name); $api_paste_code= urlencode($api_paste_code); $url https://chaturbate.com/api/api_post.php'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0);$response= curl_exec($ch);echo $response;<paste_key>0b42rwhf</paste_key>   <paste_date>1297953260</paste_date> <paste_title>javascript test</paste_title><paste_size>15</paste_size>   <paste_expire_date>1297956860</paste_expire_date>   <paste_private>0</paste_private>    <paste_format_long>JavaScript</paste_format_long>   <paste_format_short>javascript</paste_format_short>     <paste_url>https://pastebin.com/0b42rwhf</paste_url> <paste_hits>15</paste_hits> </paste> <paste><paste_key>0C343n0d</paste_key><paste_date>1297694343</paste_date> <paste_title>chaturbate.comV3</paste_title> <paste_size>490</paste_size>    <paste_expire_date>0</paste_expire_date>    <paste_private>0</paste_private><paste_format_long>None</paste_format_long>     <paste_format_short>text</paste_format_short>   <paste_url>https://pastebin.com/0C343n0d</paste_url><paste_hits>65</paste_hits>   </paste><user><user_name>wiz_kitty</user_name><user_format_short>text</user_format_short><user_expiration>N</user_expiration> <user_avatar_url>https://chaturbate.com/cache/a/1.jpg</user_avatar_url>     <user_private>1</user_private> (0 Public, 1 Unlisted, 2 Private)    <user_website>https://chaturbate.com</user_website>     <user_email>support.chaturbate.com/customer/portal/emails@.com</user_email>     <user_location>New York</user_location>     <user_account_type>1</user_account_type> (0 normal, 1 PRO) </user>https://chaturbate.com/api/api_raw.php $api_dev_key   = '7721bb1eb5ee23729c023a8baa54a44e'; $api_user_key  = ''; $url'https://chaturbate.com/api/api_raw.php'; $ch  curl_init($url);curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=show_paste&api_user_key='.$api_user_key.'&api_dev_key='.$api_dev_key.'&api_paste_key=A_VALID_PASTE_KEY_HERE'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_NOBODY, 0);$response= curl_exec($ch); echo $response;https://chaturbate.com/raw/7721bb1eb5ee23729c023a8baa54a44e/iframe<src=https://chaturbate.com/affiliates /in/?tour=9oGW&'campaign'="zM6MR"&track="embed"&"room&amp;"=miss_x_/&bgcolor=transparent&disable_sound=0;&"embed"_js/" >_video_only=1;&target=_parent' height=528px width=850px style='border: none;''<strong..text"/>0C343n0d</past
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement