Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Legacy Chat
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @include *.twitch.*
- // @require https://code.jquery.com/jquery-3.2.1.min.js
- // @grant none
- // ==/UserScript==
- var hosturl = window.location.href;
- var chan = hosturl.split("/");
- setTimeout(function() { javascript:$(".chat__pane").html('<embed src="https://www.twitch.tv/'+chan[chan.length-1]+'/chat" class="full-height block flex-grow-0 flex-shrink-0 relative"></embed>'); },50);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement