This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The code below is now redundant as Tinychat now allows all domains to use the login data and is saved in a cookie meaning you no longer need the Autoop or Prohash codes to be mod/pro in a chat room. | |
<script>(function(){ | |
if (window.location.host != "tinychat.com") { | |
alert('Collecting required data from Tinychat, Please be patient.'); | |
window.location = "chatroom-url"; | |
} else { | |
if(document.body.innerHTML.search("autoop") > 0 && document.body.innerHTML.search("avatarhash") > 0 && document.body.innerHTML.search("account:")) { | |
var autoop = document.body.innerHTML.substr(document.body.innerHTML.search("autoop")+9,32); | |
var avatarhash = document.body.innerHTML.substr(document.body.innerHTML.search("avatarhash")+13,32); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import logging | |
import re | |
import threading | |
import pinylib | |
import util.media_manager | |
from page import privacy | |
from apis import youtube, soundcloud, lastfm, other, locals_ | |
__version__ = '6.1.5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elif cmd == prefix + 'room': | |
threading.Thread(target=self.do_room_info, args=(cmd_arg,)).start() | |
def do_room_info(self, room): | |
""" | |
Shows info about a tinychat room. | |
:param room: str tinychat room. | |
""" |