// ==UserScript== // @name MoxxiMod // @namespace https://studiomoxxi.com/ // @description one click at a time // @author Ben // @match *.outwar.com/* // @version 5.72 // @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== //fetch("pulling querySelector with fetch") // .then(res => res.text()) // .then((responseText) => { // const doc = new DOMParser().parseFromString(responseText, 'text/html'); // const news = doc.querySelector("#content-header-row > div > div:nth-child(1)").innerHTML.toString().replaceAll(/
/g,", ").replace(/
/,"").replace(/
/i,"").replace(/
/i,"").replaceAll(/<\/div>/g,"").replace(/
/i,""); // change log // rebuilt crew vaults (only visable on chars with crew vault access) // removed empty categories from transfer items page // added shortcut links when using god oracles // added buttons on brawl page to hide chars that have been attacked 10 times // added your current skills and pots to brawl page // added list of chars who have cast sunder armor on you to brawl page // added skills column to brawl page that will show the chars you've casted sunder or dart on // fixed bug with moxximod breaking when accepting a trade // fixed bug with moxximod breaking when posting on shoutbox // ORACLE PAGE if (document.URL.indexOf("spawntimeview") != -1 ) { if (document.querySelector("#content-header-row > form > input[type=submit]") != null){ GM_addStyle ( ` #content-header-row > table{width:700px !important;} #content-header-row > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td{padding:20px !important;} #button1,#button2,#button3,#button4,#button5,#button6,#button7,#button8{border:0px !important;box-shadow: 5px 5px 14px #000000,-5px -5px 14px #000000;} `) var content = document.querySelector("#content-header-row") content.innerHTML = `
`+content.innerHTML+`
` document.querySelector("#content-header-row > table > tbody > tr:nth-child(1) > td > form > select").setAttribute("id","godlist") var agnar = document.querySelector("#godlist") agnar.innerHTML = agnar.innerHTML.replace(`