Advertisement
Farbjodr

Plug UI revert

Mar 6th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         UI revert
  3. // @version      0.1
  4. // @description  Settings button will be above xp bar. Todo: none
  5. // @author       Ravana
  6. // @match        https://plug.dj/*
  7. // @require http://code.jquery.com/jquery-latest.js
  8. // ==/UserScript==
  9.  
  10.  
  11. var UIrevert = setInterval(function() {
  12.     var plug3color = JSON.parse(localStorage.plugCubed);
  13.     plug3color = "#"+plug3color.colors["you"];
  14.     $(".info").css("display","block");
  15.     $(".info").css("top","0px");
  16.     $(".store.button").css("z-index","-1");
  17.     $(".badge.button").css("z-index","-1");
  18.     $(".inventory.button").css("z-index","-1");
  19.     $(".profile.button").css("z-index","-1");
  20.     $(".buttons > .settings.button").css("z-index","1");
  21.     $(".buttons > .settings.button").css("left","-180px");
  22.     $(".buttons > .settings.button").css("height","58%");
  23.     $(".buttons > > .icon-settings-white").css("height","58%");
  24.     $(".buttons > > .icon-settings-white").css("width","150px");
  25.     $("#footer-user > .back").css("z-index","1");
  26.     $(".buttons > .settings.button").css("opacity","0");
  27.     $(".info > .name > span").css("color",plug3color);
  28.     $("#twitter-menu").remove();
  29.     $("#facebook-menu").remove();
  30. },1000);
  31.  
  32. setTimeout(function() {
  33.     window.clearInterval(UIrevert);
  34. },10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement