Advertisement
jimgreeno

Untitled

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