Skip to content

Instantly share code, notes, and snippets.

View Ruddernation-Designs's full-sized avatar
💭
Please give me time to reply to issues, thank you.

Rudder Ruddernation-Designs

💭
Please give me time to reply to issues, thank you.
View GitHub Profile
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);
# -*- 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'
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.
"""