Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hey, here's an upgraded version of the URealms chat 'hack'.
- Now it adds a tab instead of replacing the URealms chat.
- You can either open your browser console (on https://stream.urealms.com/) (F12 on chrome) and copy this in:
- $("#side").append('<div id="panelJChat" class="" style="display: none; height: calc(100% - 40px);"><iframe src="https://www.twitch.tv/hcjustin/chat?popout=" style="width:100%;height:100%" frameborder="0"></iframe></div>');
- $(".pull-left").append(' <button class="btn btn-primary" onclick="tabJChat(this)"><i class="fa fa-comment"></i> JChat</button>');
- tabChat = function(e) { return $("#panelDonate").hide(), $("#panelJChat").hide(), $("#panelChat").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), !1 };
- tabDonate = function(e) { return $("#panelChat").hide(), $("#panelJChat").hide(), $("#panelDonate").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), $(e).removeClass("new"), !1 };
- tabJChat = function(e) { return $("#panelDonate").hide(), $("#panelChat").hide(), $("#panelJChat").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), !1 };
- Or add a bookmark with this as the URL and click the bookmark when you're on the page (include the 'javascipt:' line):
- javascript:
- $("#side").append('<div id="panelJChat" class="" style="display: none; height: calc(100% - 40px);"><iframe src="https://www.twitch.tv/hcjustin/chat?popout=" style="width:100%;height:100%" frameborder="0"></iframe></div>');
- $(".pull-left").append(' <button class="btn btn-primary" onclick="tabJChat(this)"><i class="fa fa-comment"></i> JChat</button>');
- tabChat = function(e) { return $("#panelDonate").hide(), $("#panelJChat").hide(), $("#panelChat").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), !1 };
- tabDonate = function(e) { return $("#panelChat").hide(), $("#panelJChat").hide(), $("#panelDonate").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), $(e).removeClass("new"), !1 };
- tabJChat = function(e) { return $("#panelDonate").hide(), $("#panelChat").hide(), $("#panelJChat").show(), $(e).parent().children().removeClass("active"), $(e).addClass("active"), !1 };
- PS: I don't recommend running it twice :p
Advertisement
Add Comment
Please, Sign In to add comment