// ==UserScript== // @name MoxxiMod // @namespace https://studiomoxxi.com/ // @description one click at a time // @author Ben // @match *.outwar.com/* // @version 4.0 // @grant GM_xmlhttpRequest // @license MIT // @grant GM_getResourceText // @grant GM_addStyle // @require http://code.jquery.com/jquery-3.6.0.min.js // @downloadURL none // ==/UserScript== // world function doc_keyUp(e) { if (e.key === '1') { document.querySelector("#roomDetails > ul > li:nth-child(1) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '2') { document.querySelector("#roomDetails > ul > li:nth-child(2) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '3') { document.querySelector("#roomDetails > ul > li:nth-child(3) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '4') { document.querySelector("#roomDetails > ul > li:nth-child(4) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '5') { document.querySelector("#roomDetails > ul > li:nth-child(5) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '6') { document.querySelector("#roomDetails > ul > li:nth-child(6) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '7') { document.querySelector("#roomDetails > ul > li:nth-child(7) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '8') { document.querySelector("#roomDetails > ul > li:nth-child(8) > div > div.ml-3.d-block.align-self-center > a > img").click();} if (e.key === '9') { document.querySelector("#roomDetails > ul > li:nth-child(9) > div > div.ml-3.d-block.align-self-center > a > img").click();}} document.addEventListener('keyup', doc_keyUp, false); if ( document.URL.indexOf("world") != -1 ) { let observer = new MutationObserver(mutationRecords => { console.log(mutationRecords); // console.log(the changes) attackframe() }); observer.observe(roomid_display, { childList: true, // observe direct children subtree: true, // and lower descendants too characterDataOldValue: true // pass old data to callback }); function attackframe(){ $('a[target="_blank"]').prop("target", "attack"); };} if (document.URL.indexOf("plrattack") != -1 ) { $("#sidebar").hide() $("body > center > div.sub-header-container").hide() $("body > center > div.header-container.fixed-top").hide() $("#ranks-filters > form > div").hide() GM_addStyle ( ` #container{background:#0B0B0B !important;} #content > div.layout-px-spacing{margin-top: -50px !important;background:#0B0B0B !important;} .mr-3, .mx-3 {margin-right: 0rem!important;} #content-header-row > center{zoom: 90% !important;} ` );} if ( document.URL.indexOf("world") != -1 ) { var theImage8; theImage8 = document.querySelector("#content-header-row > div.col-xl-5.col-lg-12.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div > div.widget-content > div.room-top") theImage8.innerHTML = ''} if ( document.URL.indexOf("world") != -1 ) { GM_addStyle ( ` #roomDetails > ul > li > div > div.mr-3 > img {display:none !important;} #ranks > li > div > div.mr-3 > div > div.rank-row-image > a{width: 0px !important;} #ranks > li > div > div.media-body{text-align: left !important;} .mr-3, .mx-3 {margin-right: 0rem!important;} #content-header-row > div.col-xl-5.col-lg-12.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div > div.widget-content > div.room-middle{display:none !important;} .spawnRow{padding-top:0px !important;padding-bottom:0px !important;} #roomDetails > ul > li { display: block !important; list-style-type: disc !important; margin-block-start: 0em !important; margin-block-end: 0em !important; margin-inline-start: 0px !important; margin-inline-end: 0px !important; padding-inline-start: 0px !important; } ` );} // redefined if ( document.URL.indexOf("scratch_ticket") != -1 ) { var theImage2; theImage2 = document.querySelector("#content > div.layout-px-spacing") theImage2.innerHTML = '
' + 'MoxxiMod is a userscript written to improve the gaming user interface and player experience
' + 'The code is a combination of CSS (cascading style sheets) and JS (javascript)
' + 'MoxxiMod is 100% free
' + 'If you want to support, please send points to Moxxi
' + 'For help with setup or to report a bug, join our Discord server
' + 'Click Here for the latest scripts
BIG THANK YOU FOR THE TECHNICAL DEV SUPPORT
Beast666007, Bello, CarminT' + '
AND THANK YOU TO THE BETA TESTERS
Rhino, Andreas, Brillo, Dkgoon
StarFox, Kevin, Kriminal, Shawn
Tyler, Xafloc, Jalek, Rodeo
StarPower, TeddyPain, TheStud'+
'
' +
' ' +
'' +
' ' +
'' +
'ASTRAL RIFT' +
'CHALLENGES' +
'DEATHBAT GRAVEYARD' +
'EOB SANDS' +
'MADNESS VAULT' +
'MOUNTAIN CAVE' +
'PRISTINE DEPTHS' +
'ROOM 11' +
'SCIENTIFIC DISTRICT' +
'UNDERGROUND Q SEC BASE' +
'VALLEY OF DEATH' +
'WARDENS SANCTUARY' +
'WILDERNESS' +
' ' +
' | ' + '' + ' | '+
' '+
' '+
''+ gods+boss+zerx+vork+suppliesPOP+strengthtb+ ' | '+
' '+
' '+
''+ skills+ ' |
CHAR: POWER | ' + 'CHAR: ELE DMG | ' + 'CHAR: CHAOS DMG | '+ 'CHAR: GROWTH |
CREW: POWER | ' + 'CREW: ELE DMG | ' + 'CREW: CHAOS DMG | ' + 'CREW: BOSS DMG |
' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '' + stat + '
' + '