Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Slashers Helper
- // @namespace Slashers Helper
- // @include http*://ladderslasher.d2jsp.org/*
- // @grant none
- // @version 3.1
- // ==/UserScript==
- function addGlobalStyle(css) {
- var head;var style;
- head = document.getElementsByTagName('head') [0];
- if (!head) {return;}
- style = document.createElement('style');
- style.type = 'text/css';
- style.innerHTML = css;
- head.appendChild(style);}
- addGlobalStyle('.itemBoxRight { display:none; border:1px solid red}');
- addGlobalStyle('.cataArrowControls svg {width:0px; height:0px; position:absolute; opacity:.2; cursor:pointer }');
- var drawCTD = window.drawCTD;
- var showLake = window.showLake;
- var setInvTab = window.setInvTab;
- window.setInvTab = function() {openInv(); var t = pops.o[pops.INV]; t.tbc.select(t.tbc.tabs[0])}
- window.showLake = function() { new CSkill(Skill.FISHING); setInvTab();}
- window.drawCTD = function() {addLog(0, "The trapdoor was hidden by your plugin. press Z key to use it");}
Add Comment
Please, Sign In to add comment