Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Tagpro Background
- // @author Catalyst
- // @version 0.1
- // @include http://tagpro-*.koalabeast.com:*
- // ==/UserScript==
- //Set this to false to allow background changes when you are a player
- var spec_only=true;
- tagpro.ready(function waitForId() {
- if (!tagpro.playerId) {
- return setTimeout(waitForId, 100);
- }
- if(tagpro.spectator || !spec_only)
- {
- $('html').css({'background-image':'url(https://i.imgur.com/RP4nVwp.png)'});//use a direct link to an image
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement