// ==UserScript== // @name MoxxiMod // @namespace https://studiomoxxi.com/ // @description one click at a time // @author Ben // @match *.outwar.com/* // @version 5.4 // @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== // PVP BRAWL SKILL CHECKER if (document.URL.indexOf("closedpvp") != -1 ) { GM_addStyle ( ` #content-header-row > div:nth-child(4){display:none !important;} .col-lg-6 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;} #content-header-row > div > div > h4{margin-bottom:20px !important;} #content-header-row > h2{display:none !important;} #content-header-row > div:nth-child(3) > div:nth-child(2) > div > table > thead > tr{background:#020202 !important;} #content-header-row > div > div > div > table > tbody > tr,#content-header-row > div > div > table > tbody > tr{background:#0F0F0F !important;border-bottom: #020202 solid 1px !important;} #content-header-row > div:nth-child(3) > div:nth-child(2) > div > table > thead > tr > th:nth-child(6) > a {color: #d4d4d4 !important;} `) var brawlchars = document.querySelector("#content-header-row > div:nth-child(4) > div").innerHTML var brawlcharsnew = `
`+brawlchars+`
` function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let brawltable = document.querySelector("#content-header-row > div:nth-child(3)"); let brawlsection = document.createElement('div'); brawlsection.innerHTML = brawlcharsnew; insertAfter(brawlsection, brawltable.children[0]); let brawlcharheader = document.querySelector("#content-header-row > div:nth-child(3) > div:nth-child(2) > div > table > thead > tr") let headerTD = document.createElement('th'); headerTD.innerHTML = `POWER`; insertAfter(headerTD, brawlcharheader.lastElementChild); let headerTD2 = document.createElement('th'); headerTD2.innerHTML = "STATUS"; insertAfter(headerTD2, brawlcharheader.lastElementChild); var totalMembers = document.querySelector("#content-header-row > div:nth-child(3) > div:nth-child(2) > div > table").rows.length; fetch("profile") .then (response => response.text()) .then((response) => { var mypower = response.match(/TOTAL POWER.*[\n\r].*(.*)<\/font><\/b><\/td>/i) var mytotalpower = parseInt(mypower[1].replace(",","")) for (let rownum = 1; rownum < parseInt(totalMembers); rownum++) { var charList = document.querySelector("#content-header-row > div:nth-child(3) > div:nth-child(2) > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replace(/.*<\/a>/,"") fetch(charList) .then (response => response.text()) .then((response) => { var circleofprotection = ''; if (response.match(/circleofprotection/i) != null) circleofprotection = `` var items = response.match(/
[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im) var itemsX = response.match(/
[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im) var items2 = (items.toString().match(/img/g) || []).length var items3 = ''; if (items2 < 10) items3 = `` if (items2 == 10) items3 = `` var power = response.match(/TOTAL POWER.*[\n\r].*(.*)<\/font><\/b><\/td>/i) var totalpower = parseInt(power[1].replace(",","")) var powercheck = ''; if (totalpower > mytotalpower) powercheck = ""+totalpower.toLocaleString("en-US")+"" if (totalpower < mytotalpower) powercheck = ""+totalpower.toLocaleString("en-US")+"" if (totalpower == mytotalpower) powercheck = "-" console.log(mytotalpower) let menu = document.querySelector("#content-header-row > div:nth-child(3) > div:nth-child(2) > div > table > tbody > tr:nth-child("+rownum+")") let powerTD = document.createElement('td'); powerTD.innerHTML = powercheck; insertAfter(powerTD, menu.lastElementChild); let brawlTD = document.createElement('td'); brawlTD.innerHTML = items3+" "+circleofprotection; insertAfter(brawlTD, menu.lastElementChild); })}})} // AUTO SKILLER LINK ON SKILLS PAGE if (document.URL.indexOf("cast_skills") != -1 ) { GM_addStyle ( ` #basic > div.statbox.widget.box.box-shadow.mb-1.pt-2.pb-1{height:55px !important;} #infocell > h5{background: #202020 !important;} `) var autoskilllink = `Auto Skiller` function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let skillstabs = document.querySelector("#simpletab"); let autoskill = document.createElement('li'); autoskill.innerHTML = autoskilllink; insertAfter(autoskill, skillstabs.lastElementChild); } // CREW PROFILE PAGE LAYOUT if (document.URL.indexOf("crew_profile") != -1 ) { GM_addStyle ( ` .col-lg-6{flex: 0 0 100% !important;max-width: 100% !important;} #content-header-row > div.col-lg-6.col-12.layout-spacing > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pr-1{display:none !important;} #content-header-row > div.col-lg-6.col-12.layout-spacing > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pl-1 > ul{display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div.mt-3.pt-3{display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(3){display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(4){display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(6){display:none !important;} #content-header-row > div > div.text-left{display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(7){display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(8){display:none !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6{margin-bottom:20px !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6{background-image:url('https://studiomoxxi.com/ow_themes/custom_jobs/minimal_01/mm_patern.png') !important;} .layout-spacing{padding-bottom:0px !important;} #content-header-row > div > div.widget-content.widget-content-area.br-6{border: 2px solid #0F0F0F;border-radius: 7px;outline: none;border-color: #0F0F0F;box-shadow: 0 0 10px #0F0F0F;} `) document.querySelector(".table-responsive > table").setAttribute("id", "crewmembers") document.querySelector(".table-responsive").setAttribute("id", "memberdiv") fetch("profile") .then(response => response.text()) .then((response) => { var myCrewID = response.match(/.*of .*<\/a><\/font>/i) var url = window.location.search var myCrew = ''; if (url == "") myCrew = "6" if (url != "") myCrew = "4" if (url == "?id="+myCrewID[1]) myCrew = "6" var crewID = ''; if (url == "") crewID = myCrewID[1] if (url != "") crewID = url.replace("?id=","") fetch("crew_raidresults.php?all_results=Display+all+raid+results&crewid="+crewID) .then(response => response.text()) .then((response) => { var lastRaid = response.match(/[0-9]+-[0-9]+-[0-9]+ [0-9]+:[0-9]+[a-zA-Z]+<\/td>.*[\n\r].*(.*)<\/td>[\n\r](.*)[\n\r].*View<\/a><\/td>/i) var lastRaid2 = ''; if (lastRaid != null) lastRaid2 = lastRaid[2].replace(//i,"").replace(/<\/td>/i,"")+` vs. `+lastRaid[1]+`` if (lastRaid == null) lastRaid2 = "none" var treasury = document.querySelector("#content-header-row").innerHTML.match(/ div > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pr-1 > ul > li:nth-child(1)").innerHTML.replace(/Created On:<\/b> /i,"") var leaderChar = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pr-1 > ul > li:nth-child(2) > a").outerHTML var totalMembers = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pl-1 > ul > li:nth-child(1)").innerHTML.replace(/Total Members:<\/b> /i,"") var avgLevel = document.querySelector("#content-header-row > div.col-lg-6.col-12.layout-spacing > div.widget-content.widget-content-area.br-6 > div:nth-child(2) > div.col-6.pl-1 > ul > li:nth-child(2)").innerHTML.replace(/Average Level:<\/b> /i,"") var crewPic = document.querySelector("#content > div.layout-px-spacing").innerHTML.match(/` var crewUpgrades = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(6)").innerHTML.replace(/
CREW UPGRADES<\/h5>/i,"") var allies = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(7) > div > div").innerHTML.replaceAll(/
/g,"").replaceAll(/<\/a>[\n\r]<\/div>/g,"
").replaceAll(/<\/div>/g,"") var enemies = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > div:nth-child(8) > div > div").innerHTML.replaceAll(/
/g,"").replaceAll(/<\/a>[\n\r]<\/div>/g,"
").replaceAll(/<\/div>/g,"") function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let memHeader = document.querySelector("#crewmembers > thead > tr"); let TD1 = document.createElement('th'); TD1.innerHTML = `POWER`; insertAfter(TD1, memHeader.lastElementChild); let TD2 = document.createElement('th'); TD2.innerHTML = `ELE`; insertAfter(TD2, memHeader.lastElementChild); let TD3 = document.createElement('th'); TD3.innerHTML = `ATK`; insertAfter(TD3, memHeader.lastElementChild); let TD4 = document.createElement('th'); TD4.innerHTML = `HP`; insertAfter(TD4, memHeader.lastElementChild); let TD5 = document.createElement('th'); TD5.innerHTML = `CHAOS`; insertAfter(TD5, memHeader.lastElementChild); let TD6 = document.createElement('th'); TD6.innerHTML = `WILDR`; insertAfter(TD6, memHeader.lastElementChild); let TD7 = document.createElement('th'); TD7.innerHTML = `GROWTH`; insertAfter(TD7, memHeader.lastElementChild); let TD8 = document.createElement('th'); TD8.innerHTML = `ITEMS`; insertAfter(TD8, memHeader.lastElementChild); let TD9 = document.createElement('th'); TD9.innerHTML = `BOOST`; insertAfter(TD9, memHeader.lastElementChild); let TD10 = document.createElement('th'); TD10.innerHTML = `SKILLS`; insertAfter(TD10, memHeader.lastElementChild); for (let rownum = 1; rownum < parseInt(totalMembers)+1; rownum++) { var charList = document.querySelector("#crewmembers > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replace(/
.*<\/a>/,"") fetch(charList) .then (response => response.text()) .then((response) => { var charpower = response.match(/TOTAL POWER.*[\n\r].*(.*)<\/font>/i) var charpower2 = parseInt(charpower[1].replaceAll(",","")) var attack = response.match(/ATTACK.*[\n\r].*(.*)<\/font>/i) var attack2 = parseInt(attack[1].replaceAll(",","")) var hitpoints = response.match(/HIT POINTS.*[\n\r].*(.*)<\/font>/i) var hitpoints2 = parseInt(hitpoints[1].replaceAll(",","")) var charele = response.match(/ELEMENTAL ATTACK.*[\n\r].*(.*)<\/font>/i) var charchaos = response.match(/CHAOS DAMAGE.*[\n\r].*(.*)<\/font>/i) var wilderness = response.match(/WILDERNESS LEVEL.*[\n\r].*(.*)<\/font>/i) var growthyesterday = response.match(/GROWTH YESTERDAY.*[\n\r].*(.*)<\/font>/i) var growthyesterday2 = parseInt(growthyesterday[1].replaceAll(",","")) var growthyesterday3 = ''; if (growthyesterday2 < 0) growthyesterday3 = growthyesterday2.toLocaleString("en-US") if (growthyesterday2 > -1) growthyesterday3 = growthyesterday2.toLocaleString("en-US") var booster = response.match(/" var booster3 = response.match(/onmouseover="itempopup\(event,'.*'\)" onmouseout="kill\(\)" alt=".*Booster.*">/i) var booster4 = ''; if (booster3 == null) booster4 = ">" if (booster3 != null) booster4 = booster3 var items = response.match(/
[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im) var items2 = (items.toString().match(/img/g) || []).length var items3 = ''; if (items2 < 10) items3 = ""+items2 if (items2 == 10) items3 = ""+items2 var circCast = response.match(/ tbody > tr:nth-child("+rownum+")") let powerTD = document.createElement('td'); powerTD.innerHTML = charpower2.toLocaleString("en-US"); powerTD.setAttribute("id", "charpower") insertAfter(powerTD, menu.lastElementChild); let eleTD = document.createElement('td'); eleTD.innerHTML = parseInt(charele[1].replace(",","")).toLocaleString("en-US"); eleTD.setAttribute("id", "charele") insertAfter(eleTD, menu.lastElementChild); let atkTD = document.createElement('td'); atkTD.innerHTML = attack2.toLocaleString("en-US"); atkTD.setAttribute("id", "charatk") insertAfter(atkTD, menu.lastElementChild); let hpTD = document.createElement('td'); hpTD.innerHTML = hitpoints2.toLocaleString("en-US"); hpTD.setAttribute("id", "charhp") insertAfter(hpTD, menu.lastElementChild); let chaosTD = document.createElement('td'); chaosTD.innerHTML = parseInt(charchaos[1].replace(",","")).toLocaleString("en-US"); chaosTD.setAttribute("id", "charchaos") insertAfter(chaosTD, menu.lastElementChild); let wildTD = document.createElement('td'); wildTD.innerHTML = parseInt(wilderness[1].replace(",","")).toLocaleString("en-US"); wildTD.setAttribute("id", "charwild") insertAfter(wildTD, menu.lastElementChild); let yesterdayTD = document.createElement('td'); yesterdayTD.innerHTML = parseInt(growthyesterday3.replaceAll(",","")).toLocaleString("en-US"); yesterdayTD.setAttribute("id", "chargrowth") insertAfter(yesterdayTD, menu.lastElementChild); let boosterTD = document.createElement('td'); boosterTD.innerHTML = items3+"/10"; insertAfter(boosterTD, menu.lastElementChild); let gemTD = document.createElement('td'); gemTD.innerHTML = ""; insertAfter(gemTD, menu.lastElementChild); let skillsTD = document.createElement('td'); skillsTD.innerHTML = skills; insertAfter(skillsTD, menu.lastElementChild); })} var time = totalMembers*100 setTimeout(function() { const reducer = (accumulator, curr) => accumulator + curr var powerArray = []; var powerMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const powerMatchLoop of powerMatch) { let powerObj = [parseInt(powerMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const power of powerObj) { powerArray.push(power);}} var powerNumbers = powerArray.map(Number) const powerTotal = powerNumbers.reduce(reducer) document.querySelector("#powerInsert").textContent = powerTotal.toLocaleString("en-US") document.querySelector("#powerAvg").textContent = Math.round(powerTotal/totalMembers).toLocaleString("en-US") var eleArray = []; var eleMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const eleMatchLoop of eleMatch) { let eleObj = [parseInt(eleMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const ele of eleObj) { eleArray.push(ele);}} var eleNumbers = eleArray.map(Number) const eleTotal = eleNumbers.reduce(reducer) document.querySelector("#eleInsert").textContent = eleTotal.toLocaleString("en-US") document.querySelector("#eleAvg").textContent = Math.round(eleTotal/totalMembers).toLocaleString("en-US") var atkArray = []; var atkMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const atkMatchLoop of atkMatch) { let atkObj = [parseInt(atkMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const atk of atkObj) { atkArray.push(atk);}} var atkNumbers = atkArray.map(Number) const atkTotal = atkNumbers.reduce(reducer) document.querySelector("#atkInsert").textContent = atkTotal.toLocaleString("en-US") document.querySelector("#atkAvg").textContent = Math.round(atkTotal/totalMembers).toLocaleString("en-US") var hpArray = []; var hpMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const hpMatchLoop of hpMatch) { let hpObj = [parseInt(hpMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const hp of hpObj) { hpArray.push(hp);}} var hpNumbers = hpArray.map(Number) const hpTotal = hpNumbers.reduce(reducer) document.querySelector("#hpInsert").textContent = hpTotal.toLocaleString("en-US") document.querySelector("#hpAvg").textContent = Math.round(hpTotal/totalMembers).toLocaleString("en-US") var chaosArray = []; var chaosMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const chaosMatchLoop of chaosMatch) { let chaosObj = [parseInt(chaosMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const chaos of chaosObj) { chaosArray.push(chaos);}} var chaosNumbers = chaosArray.map(Number) const chaosTotal = chaosNumbers.reduce(reducer) document.querySelector("#chaosInsert").textContent = chaosTotal.toLocaleString("en-US") document.querySelector("#chaosAvg").textContent = Math.round(chaosTotal/totalMembers).toLocaleString("en-US") var wildArray = []; var wildMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const wildMatchLoop of wildMatch) { let wildObj = [parseInt(wildMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const wild of wildObj) { wildArray.push(wild);}} var wildNumbers = wildArray.map(Number) const wildTotal = wildNumbers.reduce(reducer) document.querySelector("#wildInsert").textContent = wildTotal.toLocaleString("en-US") document.querySelector("#wildAvg").textContent = Math.round(wildTotal/totalMembers).toLocaleString("en-US") var growthArray = []; var growthMatch = document.querySelector("#crewmembers").innerHTML.matchAll(/(.*)<\/td>/g); for (const growthMatchLoop of growthMatch) { let growthObj = [parseInt(growthMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const growth of growthObj) { growthArray.push(growth);}} var growthNumbers = growthArray.map(Number) const growthTotal = growthNumbers.reduce(reducer) document.querySelector("#growthInsert").textContent = growthTotal.toLocaleString("en-US") document.querySelector("#growthAvg").textContent = Math.round(growthTotal/totalMembers).toLocaleString("en-US") }, time); var loadingimg = "" var crewdesc = document.querySelector("#content-header-row > div:nth-child("+myCrew+") > div > div.text-left").innerHTML.replaceAll("
","

") var content = `


`+crewPic+`
CREATED
`+createdDate+`
MEMBERS
`+totalMembers+`/200
LEADER
`+leaderChar+`
AVG LVL
`+avgLevel+`
TOT POWER
`+loadingimg+`
AVG POWER
`+loadingimg+`
TOT ELE DMG
`+loadingimg+`
AVG ELE DMG
`+loadingimg+`
TOT ATK
`+loadingimg+`
AVG ATK
`+loadingimg+`
TOT HP
`+loadingimg+`
AVG HP
`+loadingimg+`
TOT CHAOS
`+loadingimg+`
AVG CHAOS
`+loadingimg+`
TOT WILDER
`+loadingimg+`
AVG WILDER
`+loadingimg+`
TOT GROWTH
`+loadingimg+`
AVG GROWTH
`+loadingimg+`
LAST RAID: `+lastRaid2+`

`+crewdesc+`

ALLIES
`+allies+`
ENEMIES
`+enemies+`
`+crewUpgrades+`

` var header = document.querySelector("#content-header-row > div > div.widget-content.widget-content-area.br-6 > h2") header.innerHTML = header.innerHTML+content var columns = document.querySelector("#content-header-row") columns.innerHTML = columns.innerHTML.replace(/<\/div>[\n\r]
[\n\r].*/i,"") var upgrades = document.querySelector("#content-header-row").innerHTML var gps = upgrades.match(//i) var gpslevel = (parseInt(gps[1])+parseInt(gps[3]))/parseInt(gps[2])*100 if (gpslevel != 100){GM_addStyle ( `body img[src*="crewup/gps.gif"]{filter: grayscale(100%) !important;}`)} if (gpslevel == 100){GM_addStyle ( `body img[src*="crewup/gps.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup1.gif") !important;}`)} var depository = upgrades.match(//i) var depositorylevel = (parseInt(depository[1])+parseInt(depository[3]))/parseInt(depository[2])*100 if (depositorylevel != 100){GM_addStyle ( `body img[src*="crewup/depository.gif"]{filter: grayscale(100%) !important;}`)} if (depositorylevel == 100){GM_addStyle ( `body img[src*="crewup/depository.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup2.gif") !important;}`)} var morale = upgrades.match(//i) var moralelevel = (parseInt(morale[1])+parseInt(morale[3]))/parseInt(morale[2])*100 if (moralelevel != 100){GM_addStyle ( `body img[src*="crewup/morale.gif"]{filter: grayscale(100%) !important;}`)} if (moralelevel == 100){GM_addStyle ( `body img[src*="crewup/morale.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup3.gif") !important;}`)} var drums = upgrades.match(//i) var drumslevel = (parseInt(drums[1])+parseInt(drums[3]))/parseInt(drums[2])*100 if (drumslevel != 100){GM_addStyle ( `body img[src*="crewup/wardrums.gif"]{filter: grayscale(100%) !important;}`)} if (drumslevel == 100){GM_addStyle ( `body img[src*="crewup/wardrums.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup4.gif") !important;}`)} var fury = upgrades.match(//i) var furylevel = (parseInt(fury[1])+parseInt(fury[3]))/parseInt(fury[2])*100 if (furylevel != 100){GM_addStyle ( `body img[src*="crewup/fury.gif"]{filter: grayscale(100%) !important;}`)} if (furylevel == 100){GM_addStyle ( `body img[src*="crewup/fury.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup5.gif") !important;}`)} var fire = upgrades.match(//i) var firelevel = (parseInt(fire[1])+parseInt(fire[3]))/parseInt(fire[2])*100 if (firelevel != 100){GM_addStyle ( `body img[src*="crewup/underfire.gif"]{filter: grayscale(100%) !important;}`)} if (firelevel == 100){GM_addStyle ( `body img[src*="crewup/underfire.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup6.gif") !important;}`)} var res = upgrades.match(//i) var reslevel = (parseInt(res[1])+parseInt(res[3]))/parseInt(res[2])*100 if (reslevel != 100){GM_addStyle ( `body img[src*="crewup/resistance.gif"]{filter: grayscale(100%) !important;}`)} if (reslevel == 100){GM_addStyle ( `body img[src*="crewup/resistance.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup7.gif") !important;}`)} var power = upgrades.match(//i) var powerlevel = (parseInt(power[1])+parseInt(power[3]))/parseInt(power[2])*100 if (powerlevel != 100){GM_addStyle ( `body img[src*="crewup/power.gif"]{filter: grayscale(100%) !important;}`)} if (powerlevel == 100){GM_addStyle ( `body img[src*="crewup/power.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup8.gif") !important;}`)} var temper = upgrades.match(//i) var temperlevel = (parseInt(temper[1])+parseInt(temper[3]))/parseInt(temper[2])*100 if (temperlevel != 100){GM_addStyle ( `body img[src*="crewup/maxcap.gif"]{filter: grayscale(100%) !important;}`)} if (temperlevel == 100){GM_addStyle ( `body img[src*="crewup/maxcap.gif"]{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/crewup9.gif") !important;}`)} })})} // god status page if (document.URL.indexOf("godstatus") != -1 ) { GM_addStyle ( ` #content-header-row > h2{background:none !important;} hr.hr {border-top: 1px solid #ffffff;margin: 3px;} #content-header-row > div{display: none !important;} `); var Agnar = ''; if (document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Agnar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Agnar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Agnar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Valzek.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Valzek = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Valzek.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Arcon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Arcon = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Arcon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Firan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Firan = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Firan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Kinark.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Kinark = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Kinark.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Shayar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Shayar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Shayar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Holgor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Holgor = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Holgor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Envar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Envar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Envar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Banok.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Banok = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Banok.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Rezun.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Rezun = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Rezun.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Rillax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Rillax = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Rillax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Villax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Villax = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Villax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Dexor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Dexor = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Dexor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Gregov.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Gregov = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Gregov.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Murfax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Murfax = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Murfax.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Thanox.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Thanox = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Thanox.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Skarthul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Skarthul = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Skarthul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Straya.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Straya = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Straya.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Dlanod.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Dlanod = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Dlanod.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Viserion.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Viserion = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Viserion.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Balerion.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Balerion = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Balerion.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Xynak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Xynak = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Xynak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Crolvak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Crolvak = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Crolvak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Esquin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Esquin = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Esquin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Raiyar, the Shadow Master.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Raiyar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Raiyar, the Shadow Master.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Bolkor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Bolkor = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Bolkor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Nafir.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Nafir = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Nafir.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Yirkon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Yirkon = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Yirkon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Keeper of Nature.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Keeper = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Keeper of Nature.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Akkel.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Akkel = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Akkel.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Nayark.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Nayark = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Nayark.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Apparition.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Apparition = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Apparition.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Zikkir.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Zikkir = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Zikkir.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Volgan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Volgan = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Volgan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Jorun.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Jorun = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Jorun.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Tarkin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Tarkin = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Tarkin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Sacrina.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Sacrina = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Sacrina.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Karvaz.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Karvaz = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Karvaz.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Felroc.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Felroc = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Felroc.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Kretok.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Kretok = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Kretok.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Drake.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Drake = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Drake.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Captain.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Captain = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Captain.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Q-SEC.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Qsec = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Q-SEC.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Dragonite.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Dragonite = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Dragonite.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Beast.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Beast = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Beast.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Slug.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Slug = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Slug.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Sylvanna.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Sylvanna = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Sylvanna.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Lacuste.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Lacuste = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Lacuste.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Anvilfist.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Anvilfist = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Anvilfist.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Gorganus.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Gorganus = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Gorganus.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ormsul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ormsul = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ormsul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Skybrine.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Skybrine = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Skybrine.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Windstrike.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Windstrike = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Windstrike.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Grivvek.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Grivvek = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Grivvek.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Varsanor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Varsanor = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Varsanor.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Crantos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Crantos = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Crantos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Emerald.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Emerald = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Emerald.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Murderface.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Murderface = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Murderface.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Detox.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Detox = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Detox.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Samatha.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Samatha = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Samatha.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Anguish.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Anguish = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Anguish.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Numerocure.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Numerocure = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Numerocure.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Hackerphage.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Hackerphage = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Hackerphage.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Howldroid.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Howldroid = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Howldroid.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Slashbrood.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Slashbrood = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Slashbrood.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Neudeus.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Neudeus = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Neudeus.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Baron.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Baron = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Baron.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Freezebreed.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Freezebreed = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Freezebreed.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Rotborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Rotborn = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Rotborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Melt.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Melt = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Melt.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Lady Chaos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Chaos = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Lady Chaos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Gnorb.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Gnorb = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Gnorb.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Nessam.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Nessam = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Nessam.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Crane.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Crane = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Crane.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Pinosis.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Pinosis = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Pinosis.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Tsort.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Tsort = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Tsort.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Shadow<\/a>.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Shadow = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Shadow<\/a>.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Xordam.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Xordam = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Xordam.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ebliss.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ebliss = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ebliss.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Brutalitar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Brutalitar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Brutalitar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Dreg.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Dreg = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Dreg.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ashnar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ashnar = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ashnar.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Zhul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Zhul = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Zhul.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ganja.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ganja = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ganja.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Sibannac.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Sibannac = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Sibannac.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Smoot.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Smoot = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Smoot.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Bloodchill.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Bloodchill = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Bloodchill.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Nabak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Nabak = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Nabak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Shuk.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Shuk = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Shuk.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Varan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Varan = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Varan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Narada.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Narada = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Narada.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ariella.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ariella = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ariella.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Suka.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Suka = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Suka.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Ganeshan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Ganeshan = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Ganeshan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Garland.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Garland = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Garland.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Tylos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Tylos = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Tylos.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Threk.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Threk = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Threk.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Jazzmin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Jazzmin = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Jazzmin.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Sigil.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Sigil = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Sigil.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Synge.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Synge = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Synge.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Rancid.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Rancid = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Rancid.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Terrance.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Terrance = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Terrance.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Zertan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Zertan = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Zertan.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Quiver.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Quiver = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Quiver.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Wanhiroeaz.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Wanhiroeaz = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Wanhiroeaz.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Vitkros.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Vitkros = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Vitkros.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Hyrak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Hyrak = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Hyrak.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Mistress.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Mistress = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Mistress.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
div > table").innerHTML.match(/.*Traxodon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g) != null) Traxodon = document.querySelector("#content-header-row > div > table").innerHTML.match(/.*Traxodon.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]/g).toString().replaceAll("","").replaceAll("","
").replace(`
h2") var style2 = "height:445px;width:445px;opacity:25%;" var style3 = "height:293px;width:293px;opacity:25%;" var style4 = "height:218px;width:218px;opacity:25%;" var style5 = "height:172px;width:172px;opacity:25%;" var style6 = "height:142px;width:142px;opacity:25%;" var style7 = "height:120px;width:120px;opacity:25%;" var godtabs = ` GODS DEFEATED IN THE LAST 24 HOURS

agnar
`+Agnar+`
valzek
`+Valzek+`
arcon
`+Arcon+`
firan
`+Firan+`
kinark
`+Kinark+`
shayar
`+Shayar+`
holgor
`+Holgor+`
envar
`+Envar+`
banok
`+Banok+`
rezun
`+Rezun+`
rillax
`+Rillax+`
villax
`+Villax+`
dexor
`+Dexor+`
gregov
`+Gregov+`
murfax
`+Murfax+`
thanox
`+Thanox+`
skarthul
`+Skarthul+`
straya
`+Straya+`
dlanod
`+Dlanod+`
viserion
`+Viserion+`
balerion
`+Balerion+`
xynak
`+Xynak+`
crolvak
`+Crolvak+`
esquin
`+Esquin+`
raiyar
`+Raiyar+`
bolkor
`+Bolkor+`
nafir
`+Nafir+`
yirkon
`+Yirkon+`
keeper
`+Keeper+`
akkel
`+Akkel+`
nayark
`+Nayark+`
apparition
`+Apparition+`
zikkir
`+Zikkir+`
volgan
`+Volgan+`
jorun
`+Jorun+`
tarkin
`+Tarkin+`
sacrina
`+Sacrina+`
karvaz
`+Karvaz+`
felroc
`+Felroc+`
kretok
`+Kretok+`
drake
`+Drake+`
captain
`+Captain+`
qsec
`+Qsec+`
dragonite
`+Dragonite+`
beast
`+Beast+`
slug
`+Slug+`
sylvanna
`+Sylvanna+`
lacuste
`+Lacuste+`
anvilfist
`+Anvilfist+`
gorganus
`+Gorganus+`
ormsul
`+Ormsul+`
skybrine
`+Skybrine+`
windstrike
`+Windstrike+`
grivvek
`+Grivvek+`
varsanor
`+Varsanor+`
crantos
`+Crantos+`
emerald
`+Emerald+`
murderface
`+Murderface+`
detox
`+Detox+`
samatha
`+Samatha+`
anguish
`+Anguish+`
hackerphage
`+Hackerphage+`
howldroid
`+Howldroid+`
slashbrood
`+Slashbrood+`
neudeus
`+Neudeus+`
baron
`+Baron+`
freezebreed
`+Freezebreed+`
rotborn
`+Rotborn+`
melt
`+Melt+`
chaos
`+Chaos+`
numerocure
`+Numerocure+`
gnorb
`+Gnorb+`
nessam
`+Nessam+`
crane
`+Crane+`
pinosis
`+Pinosis+`
tsort
`+Tsort+`
shadow
`+Shadow+`
xordam
`+Xordam+`
ebliss
`+Ebliss+`
brutalitar
`+Brutalitar+`
dreg
`+Dreg+`
ashnar
`+Ashnar+`
zhul
`+Zhul+`
ganja
`+Ganja+`
sibannac
`+Sibannac+`
smoot
`+Smoot+`
blood
`+Bloodchill+`
ag
`+Nabak+`
kro
`+Shuk+`
varan
`+Varan+`
narada
`+Narada+`
ariella
`+Ariella+`
suka
`+Suka+`
ganeshan
`+Ganeshan+`
wanhiroeaz
`+Wanhiroeaz+`
vitkros
`+Vitkros+`
hyrak
`+Hyrak+`
mistress
`+Mistress+`
traxodon
`+Traxodon+`
garland
`+Garland+`
tylos
`+Tylos+`
threk
`+Threk+`
jazzmin
`+Jazzmin+`
sigil
`+Sigil+`
synge
`+Synge+`
rancid
`+Rancid+`
terrance
`+Terrance+`
zertan
`+Zertan+`
quiver
`+Quiver+`
` header.innerHTML = godtabs } // MOXXIVISION if (document.URL.indexOf("earnfreepoints") != -1 ) { if (location.protocol !== 'https:') { location.replace(`https:${location.href.substring(location.protocol.length)}`);} GM_addStyle ( ` #content-header-row > div.outer{display:none !important;} #content-header-row > div.outer2{display:none !important;} `)}; if (document.URL.indexOf("earnfreepoints") != -1 ) { if (location.protocol !== 'https:') { location.replace(`https:${location.href.substring(location.protocol.length)}`);} var selectedID = document.querySelector("body").outerHTML.match(/value="(.*)" selected/) fetch("/myaccount") .then(res => res.text()) .then((responseText) => { const doc = new DOMParser().parseFromString(responseText, 'text/html'); const chars = doc.querySelector("#cal"); var content = chars.innerHTML var content2 = chars.innerHTML.replace(` tbody > tr > td:nth-child(1){display: none !important;} #zero-config > tbody > tr > td:nth-child(3){display: none !important;} #zero-config > tbody > tr > td:nth-child(4){display: none !important;} #zero-config > tbody > tr > td:nth-child(5){display: none !important;} #zero-config > tbody > tr > td:nth-child(6){display: none !important;} #zero-config > tbody > tr > td:nth-child(7){display: none !important;} #zero-config > tbody > tr > td:nth-child(8){display: none !important;} #zero-config > tbody > tr > td:nth-child(9){display: none !important;} #zero-config > tbody > tr > td:nth-child(10){display: none !important;} #zero-config > tbody > tr > td:nth-child(11){display: none !important;} #zero-config > thead > tr > th:nth-child(11){display: none !important;} #zero-config > thead{background: #0F0F0F} #zero-config > tbody > tr{border-bottom:1px SOLID !important;} #zero-config img[src*="Message.png"] {display: none !important;} #zero-config img[src*="Attacked.png"] {display: none !important;} #zero-config img[src*="Trade.png"] {display: none !important;} #zero-config > tbody{width:100% !important;} #zero-config > thead{width:100% !important;} .outer {width:60%;height:700px;overflow-x:scroll;overflow-y:scroll;background:#0F0F0F;margin-right:5px !important;border:1px #454545 SOLID !important;} .outer2 {width:35%;height:700px;overflow-x:none;overflow-y:scroll;background:#0F0F0F;border:1px #454545 SOLID !important;} .rgahealth > tbody > tr > td {padding-top: 2px !important;padding-bottom: 1px !important;padding-right: 15px !important;padding-left: 5px !important;white-space: pre !important;} #zero-config > tbody > tr {border: 1px SOLID #202020 !important;} #zero-config > thead > tr > td > a > font,#zero-config > thead > tr > td > font{font-weight: bold;font-size:13px} #zero-config > thead > tr > td{font-weight: bold;font-size:13px} #zero-config > thead > tr > th,#zero-config > thead > tr > td{padding-right:15px !important; white-space: pre !important;} #content2 > thead{display:none !important;} #content2 > tbody > tr > td:nth-child(1){display: none !important;} #content2 > tbody > tr > td:nth-child(2){display: none !important;} #content2 > tbody > tr > td:nth-child(3){display: none !important;} #content2 > tbody > tr > td:nth-child(4){display: none !important;} #content2 > tbody > tr > td:nth-child(5){display: none !important;} #content2 > tbody > tr > td:nth-child(6){display: none !important;} #content2 > tbody > tr > td:nth-child(7){display: none !important;} #content2 > tbody > tr > td:nth-child(8){display: none !important;} #content2 > tbody > tr > td:nth-child(9){display: none !important;} #content2 > tbody > tr > td:nth-child(10){display: none !important;} #content2 > tbody > tr > td:nth-child(11){display: none !important;} #content2 > thead > tr > th:nth-child(11){display: none !important;} #content2 img[src*="Message.png"] {display: none !important;} #content2 img[src*="Attacked.png"] {display: none !important;} #content2 img[src*="Trade.png"] {display: none !important;} #content2 > tbody > tr > td {text-align: center;} #content2 > tbody > tr > td{background:#060707 !important;} body > center > div.sub-header-container{display:none !important;} #rightbar{display:none !important;} #recentraid{display:none !important;} #content-header-row{margin-top:-40px !important;} body > center {background-image: url('https://studiomoxxi.com/ow_themes/custom_jobs/minimal_01/mm_patern.png') !important;} #zero-config > tbody > tr > td:nth-child(2){position: sticky;left: 0;background: #0F0F0F;z-index: 2000;border: 3px #0F0F0F SOLID !important;} `); setTimeout(function() { $('#zero-config > thead > tr > th:nth-child(1)').html('CHARACTER'); $('#zero-config > thead > tr > th:nth-child(2)').html(`LVL`); $('#zero-config > thead > tr > th:nth-child(3)').html(`RAGE FILLED`); $('#zero-config > thead > tr > th:nth-child(4)').html(`MAX RAGE`); $('#zero-config > thead > tr > th:nth-child(5)').html(`TODAY`); $('#zero-config > thead > tr > th:nth-child(6)').html(`YESTERDAY`); $('#zero-config > thead > tr > th:nth-child(7)').html(`EXP TO LEVEL`); $('#zero-config > thead > tr > th:nth-child(8)').html(`STR`); $('#zero-config > thead > tr > th:nth-child(9)').html(`ITEMS`); $('#zero-config > thead > tr > th:nth-child(10)').html(`CREST`); function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let header = document.querySelector("#zero-config > thead > tr"); let hdTD21 = document.createElement('td'); hdTD21.innerHTML = `CREST`; insertAfter(hdTD21, header.lastElementChild); let hdTD22 = document.createElement('td'); hdTD22.innerHTML = `CREST`; insertAfter(hdTD22, header.lastElementChild); let hdTD23 = document.createElement('td'); hdTD23.innerHTML = `CREST`; insertAfter(hdTD23, header.lastElementChild); let hdTD24 = document.createElement('td'); hdTD24.innerHTML = `ARCH`; insertAfter(hdTD24, header.lastElementChild); let hdTD20 = document.createElement('td'); hdTD20.innerHTML = `GEM`; insertAfter(hdTD20, header.lastElementChild); let hdTD16 = document.createElement('td'); hdTD16.innerHTML = `ORE`; insertAfter(hdTD16, header.lastElementChild); let hdTD12 = document.createElement('td'); hdTD12.innerHTML = `RUNE`; insertAfter(hdTD12, header.lastElementChild); let hdTD14 = document.createElement('td'); hdTD14.innerHTML = `FUSR`; insertAfter(hdTD14, header.lastElementChild); let hdTD4 = document.createElement('td'); hdTD4.innerHTML = `BADGE`; insertAfter(hdTD4, header.lastElementChild); let hdTD15 = document.createElement('td'); hdTD15.innerHTML = `REPS`; insertAfter(hdTD15, header.lastElementChild); let hdTD1 = document.createElement('td'); hdTD1.innerHTML = `BOOSTER`; insertAfter(hdTD1, header.lastElementChild); let hdTD3 = document.createElement('td'); hdTD3.innerHTML = `POWER`; insertAfter(hdTD3, header.lastElementChild); let hdTD2 = document.createElement('td'); hdTD2.innerHTML = `ELE`; insertAfter(hdTD2, header.lastElementChild); let hdTD6 = document.createElement('td'); hdTD6.innerHTML = `CHAOS`; insertAfter(hdTD6, header.lastElementChild); let hdTD7 = document.createElement('td'); hdTD7.innerHTML = `RESIST`; insertAfter(hdTD7, header.lastElementChild); let hdTD8 = document.createElement('td'); hdTD8.innerHTML = `RESIST`; insertAfter(hdTD8, header.lastElementChild); let hdTD9 = document.createElement('td'); hdTD9.innerHTML = `RESIST`; insertAfter(hdTD9, header.lastElementChild); let hdTD10 = document.createElement('td'); hdTD10.innerHTML = `RESIST`; insertAfter(hdTD10, header.lastElementChild); let hdTD11 = document.createElement('td'); hdTD11.innerHTML = `RESIST`; insertAfter(hdTD11, header.lastElementChild); let hdTD5 = document.createElement('td'); hdTD5.innerHTML = `WLDR`; insertAfter(hdTD5, header.lastElementChild); let hdTD13 = document.createElement('td'); hdTD13.innerHTML = `AMLT`; insertAfter(hdTD13, header.lastElementChild); let hdTD17 = document.createElement('td'); hdTD17.innerHTML = `SHRD`; insertAfter(hdTD17, header.lastElementChild); let hdTD0 = document.createElement('td'); hdTD0.innerHTML = `SKILLS`; insertAfter(hdTD0, header.lastElementChild); let hdTD18 = document.createElement('td'); hdTD18.innerHTML = `BACKPACK`; insertAfter(hdTD18, header.lastElementChild); let hdTD19 = document.createElement('td'); hdTD19.innerHTML = `UTILITY`; insertAfter(hdTD19, header.lastElementChild); var charsTable = document.querySelector("#zero-config"); var charsTableRows = charsTable.rows.length; for (let rownum = 1; rownum < charsTableRows; rownum++) { var charid = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replaceAll(//g,"") fetch("skills_info.php?suid="+charid+"&id=3008") .then(response => response.text()) .then((response) => { var circReady = response.match(//i) var circCharging = response.match(/This skill is recharging\. (.*) minutes remaining\.<\/b>/i) var circUntrained = response.match(/You have not learned this skill yet<\/b>/i) var charid = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replaceAll(//g,"") fetch("ajax/backpackcontents.php?suid="+charid+"&tab=regular") .then(response => response.text()) .then((response) => { var backpack = response.match(/<\/span>/i) var bpItems = parseInt(backpack[2]) var bpCap = parseInt(backpack[1]) var bpMax = ''; if (bpItems > bpCap) bpMax = "" if (bpCap > bpItems) bpMax = "" if (bpCap == bpItems) bpMax = "" var addaug = response.match(/addaugs\.jpg/i) var totem = response.match(/rechargetotem\.jpg/i) var skillitem = response.match(/skillitem\.jpg/i) var removeaug = response.match(/AugmentRemover\.gif/i) var utility = ''; if (addaug != null) utility += " "; if (totem != null) utility += " "; if (skillitem != null) utility += " "; if (removeaug != null) utility += " "; if (utility == "") utility = "none" var charid = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replaceAll(//g,"") fetch("ajax/backpackcontents.php?suid="+charid+"&tab=quest") .then(response => response.text()) .then((response) => { var amuletCnt = response.match(/data-name="Amulet of Achievement" data-itemqty="(.*)" data-itemid/i) || 0 var repCnt = response.match(/data-name="Badge Reputation" data-itemqty="(.*)" data-itemid/i) || 0 var oreCnt = response.match(/data-name="Chaos Ore" data-itemqty="(.*)" data-itemid/i) || 0 var shardCnt = response.match(/data-name="Quest Shard" data-itemqty="(.*)" data-itemid/i) || 0 var fuserCnt = response.match(/data-name="Elemental Fuser" data-itemqty="(.*)" data-itemid/i) || 0 var archCnt = response.match(/data-name="Archfiend Soul Fragment" data-itemqty="(.*)" data-itemid/i) || 0 var archCnt2 = ''; if (archCnt[1] >= 10) archCnt2 = ""+parseInt(archCnt[1])+"" if (archCnt[1] <= 9) archCnt2 = parseInt(archCnt[1]) if (archCnt[1] == undefined) archCnt2 = 0 var repCnt2 = ''; if (repCnt[1] >= 15) repCnt2 = ""+parseInt(repCnt[1])+"" if (repCnt[1] <= 14) repCnt2 = parseInt(repCnt[1]) if (repCnt[1] == undefined) repCnt2 = 0 console.log(repCnt2) var oreCnt2 = ''; if (oreCnt[1] >= 0) oreCnt2 = ""+parseInt(oreCnt[1])+"" if (oreCnt[1] == 0) oreCnt2 = parseInt(oreCnt[1]) if (oreCnt[1] == undefined) oreCnt2 = 0 var charid = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replaceAll(//g,"") fetch("home?suid="+charid) .then(response => response.text()) .then((response) => { var fireRes = response.match(/onmouseout="kill\(\)">Fire Resist:<\/b>.*[\n\r].*[\n\r].*[\n\r].*[\n\r](.*)<\/font>/i); var arcaneRes = response.match(/onmouseout="kill\(\)">Arcane Resist:<\/b>.*[\n\r].*[\n\r].*[\n\r].*[\n\r](.*)<\/font>/i); var shadowRes = response.match(/onmouseout="kill\(\)">Shadow Resist:<\/b>.*[\n\r].*[\n\r].*[\n\r].*[\n\r](.*)<\/font>/i); var holyRes = response.match(/onmouseout="kill\(\)">Holy Resist:<\/b>.*[\n\r].*[\n\r].*[\n\r].*[\n\r](.*)<\/font>/i); var kineticRes = response.match(/onmouseout="kill\(\)">Kinetic Resist:<\/b>.*[\n\r].*[\n\r].*[\n\r].*[\n\r](.*)<\/font>/i); var charid = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a").outerHTML.replaceAll(//g,"") fetch("profile?suid="+charid) .then(response => response.text()) .then((response) => { var charlvl = response.match(/Level ([0-9]+) (.*)<\/font>/i) var charpower = response.match(/TOTAL POWER.*[\n\r].*(.*)<\/font>/i) var charpower2 = parseInt(charpower[1].replaceAll(",","")) var charele = response.match(/ELEMENTAL ATTACK.*[\n\r].*(.*)<\/font>/i) var charchaos = response.match(/CHAOS DAMAGE.*[\n\r].*(.*)<\/font>/i) var wilderness = response.match(/WILDERNESS LEVEL.*[\n\r].*(.*)<\/font>/i) var growthyesterday = response.match(/GROWTH YESTERDAY.*[\n\r].*(.*)<\/font>/i) var growthyesterday2 = parseInt(growthyesterday[1].replaceAll(",","")) var growthyesterday3 = ''; if (growthyesterday2 < 0) growthyesterday3 = ""+growthyesterday2.toLocaleString("en-US")+"" if (growthyesterday2 > -1) growthyesterday3 = growthyesterday2.toLocaleString("en-US") var growthtoday = response.match(/ ` function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let menu = document.querySelector("#itemtable > tbody"); let tr = document.createElement('tr'); tr.innerHTML = gemTxt; insertAfter(tr, menu.lastElementChild); })})})})})} // boss raid individual pages if (document.URL.indexOf("boss_stats") != -1 ) { let str = document.querySelector("#content-header-row > div > table") str.innerHTML = str.innerHTML .replace("Ancestral","Ancestral") .replace("Tomb","Tomb") .replace("Boon of Vision","Boon of Madness") .replace("Tier 2 Booster Upgrade","Tier 2 Booster Upgrade") .replace("8-Bit Banana","8-Bit Banana") .replace("Augment of Vision","Augment of Vision") .replace("Transcended Extract","Transcended Extract") .replace("Augment of Madness","Augment of Madness") .replace("Prophecy Mail Reborn","Prophecy Mail Reborn") .replace("Cord of Freezing Winds Reborn","Cord of Freezing Winds Reborn") .replace("Soul of Blackhand Reborn","Soul of Blackhand Reborn") .replace("Trinket of Aridity Reborn","Trinket of Aridity Reborn") .replace("Interstellar Leggings Reborn","Interstellar Leggings Reborn") .replace("Myrmidon Helm Reborn","Myrmidon Helm Reborn") .replaceAll("Blackhand Reborn","Blackhand Reborn") .replace("Incredible Tower Shield Reborn","Incredible Tower Shield Reborn") .replace("Ring of the Sea Reborn","Ring of the Sea Reborn") .replace("Boots of the Eagle Reborn","Boots of the Eagle Reborn") .replace("Core of Exalted Perfection","Core of Exalted Perfection") .replace("Greathelm of Exalted Perfection","Greathelm of Exalted Perfection") .replace("Brooch of Exalted Perfection","Brooch of Exalted Perfection") .replace("Launcher of Exalted Perfection","Launcher of Exalted Perfection") .replace("Cuirass of Exalted Perfection","Cuirass of Exalted Perfection") .replace("Boon of Exalted Perfection","Boon of Exalted Perfection") .replace("Link of Exalted Perfection","Link of Exalted Perfection") .replace("Scales of Exalted Perfection","Scales of Exalted Perfection") .replace("Twirl of Exalted Perfection","Twirl of Exalted Perfection") .replace("Spurs of Exalted Perfection","Spurs of Exalted Perfection") var deadCheck = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child(1) > td:nth-child(3)").innerHTML; if (deadCheck > 0){ var bossTableX = document.querySelector("#content-header-row > div > table"); var bossTableRowsX = bossTableX.rows.length; function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } var bossName = document.querySelector("#content-header-row > h1").innerHTML var lootCount = ''; if (bossName == "Cosmos, Great All Being") lootCount = "50" if (bossName == "Death, Reaper of Souls") lootCount = "80" if (bossName == "Maekrix, Dreaded Striker") lootCount = "73" if (bossName == "Blackhand Reborn") lootCount = "61" if (bossName == "Zyrak, Vision of Madness") lootCount = "65" if (bossName == "Arkron, God of Trials") lootCount = "160" for (let rownumX = 1; rownumX < bossTableRowsX; rownumX++) { GM_addStyle ( ` td:nth-of-type(3){display: none !important;} #content-header-row > div > table > thead > tr > th:nth-child(3){width: 60% !important;} .table td{border: 1px SOLID #0F0F0F !important;} #content-header-row > div > table > tbody > tr > td > a > font {color:#FFFFFF !important;} `); var crewName = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownumX+") > td:nth-child(1) > a > font").innerHTML.replace("'",""); var percentage = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownumX+") > td:nth-child(2)").innerHTML.replace(/.*\(/i,"").replace("%)",""); let bossLootCnt = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownumX+") > td:nth-child(3)").innerHTML let bossLoot = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownumX+") > td:nth-child(3)").outerHTML bossLoot = `
Growth Today:<\/b><\/td>(.*)<\/td><\/tr>/i) var growthtoday2 = parseInt(growthtoday[1].replaceAll(",","")) var growthtoday3 = ''; if (growthtoday2 < 0) growthtoday3 = ""+growthtoday2.toLocaleString("en-US")+"" if (growthtoday2 > -1) growthtoday3 = growthtoday2.toLocaleString("en-US") var tolevel = response.match(/to Level:<\/b><\/td>(.*)<\/td>/i) var tolevel2 = parseInt(tolevel[1].replaceAll(",","")) var strength = response.match(/statspopup\(event,'Strength: (.*)'\)" onmouseout/i) var strength2 = parseInt(strength[1]) var strength3 = ''; if (strength2 <= 100) strength3 = ""+strength2+"" if (strength2 == 100) strength3 = strength2 var gem = response.match(/
.*[\n\r].*" var gem3 = response.match(/
.*[\n\r].*(onmouseover="itempopup\(event,'.*'\)" onmouseout="kill\(\)" alt=".*Chaos.*">)/i) var gem4 = ''; if (gem3 == null) gem4 = ">" if (gem3 != null) gem4 = gem3[1] var rune = response.match(/" var rune3 = response.match(/onmouseover="itempopup\(event,'.*'\)" onmouseout="kill\(\)" alt=".*Rune.*">/i) var rune4 = ''; if (rune3 == null) rune4 = ">" if (rune3 != null) rune4 = rune3 var booster = response.match(/" var booster3 = response.match(/onmouseover="itempopup\(event,'.*'\)" onmouseout="kill\(\)" alt=".*Booster.*">/i) var booster4 = ''; if (booster3 == null) booster4 = ">" if (booster3 != null) booster4 = booster3 var items = response.match(/
[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im) var itemsX = response.match(/
[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im) var items2 = (items.toString().match(/img/g) || []).length var items3 = ''; if (items2 < 10) items3 = ""+items2 if (items2 == 10) items3 = ""+items2 var crest1 = response.match(/alt="(.*Class.*)"/i) var crest1lvl = ''; if (crest1 == null) crest1lvl = "none" if (crest1 != null){ if (crest1[1] == "Crest of Class") crest1lvl = "Base" if (crest1[1] == "Excelled Crest of Class") crest1lvl = "Excelled" if (crest1[1] == "Quantum Crest of Class") crest1lvl = "Quantum" } var crest2 = response.match(/alt="(.*Ferocity.*)"/i) var crest2lvl = ''; if (crest2 == null) crest2lvl = "none" if (crest2 != null){ if (crest2[1] == "Crest of Ferocity") crest2lvl = "Base" if (crest2[1] == "Excelled Crest of Ferocity") crest2lvl = "Excelled" if (crest2[1] == "Explosive Crest of Ferocity") crest2lvl = "Explosive" } var crest3 = response.match(/alt="(.*Preservation.*)"/i) var crest3lvl = ''; if (crest3 == null) crest3lvl = "none" if (crest3 != null){ if (crest3[1] == "Crest of Preservation") crest3lvl = "Base" if (crest3[1] == "Excelled Crest of Preservation") crest3lvl = "Excelled" if (crest3[1] == "Violent Crest of Preservation") crest3lvl = "Violent" } var crest4 = response.match(/alt="(.*Affliction.*)"/i) var crest4lvl = ''; if (crest4 == null) crest4lvl = "none" if (crest4 != null){ if (crest4[1] == "Crest of Affliction") crest4lvl = "Base" if (crest4[1] == "Excelled Crest of Affliction") crest4lvl = "Excelled" if (crest4[1] == "Onslaught Crest of Affliction") crest4lvl = "Onslaught" } var badge = response.match(/src="(.*)" onclick="window\.location='.*'\)" onmouseout="kill\(\)" alt=".*Badge.*">/i) var badge2 = ''; if (badge == null) badge2 = "none" if (badge != null) badge2 = "" var badge3 = response.match(/onmouseover="itempopup\(event,'.*'\)" onmouseout="kill\(\)" alt=".*Badge.*">/i) var badge4 = ''; if (badge3 == null) badge4 = ">" if (badge3 != null) badge4 = badge3 var circCast = response.match(/ hours"; if (circUntrained != null) circ += "circumspect is not trained"; var rage = response.match(/(.*)<\/span>/i) var rage2 = parseInt(rage[1].replaceAll(",","")) var mrage = response.match(/Maximum:<\/b><\/td>
(.*)<\/td>/i) var mrage2 = parseInt(mrage[1].replaceAll(",","")) var rpt = response.match(/

0) tomax2 = "in "+tomax+" turns" if (tomax == 0 && circReady != null) tomax2 = "in "+tomax+" turns" if (tomax == 0 && circReady == null) tomax2 = "in "+tomax+" turns" var skills = ''; if (skill0 != null) skills += skill0+' '; if (skill1 != null) skills += skill1+' '; if (skill2 != null) skills += skill2+' '; if (skill3 != null) skills += skill3+' '; if (skill4 != null) skills += skill4+' '; if (skill5 != null) skills += skill5+' '; if (skill6 != null) skills += skill6+' '; if (skill7 != null) skills += skill7+' '; if (skill8 != null) skills += skill8+' '; if (skill9 != null) skills += skill9+' '; if (skill10 != null) skills += skill10+' '; if (skill11 != null) skills += skill11+' '; if (skill12 != null) skills += skill12+' '; if (skill13 != null) skills += skill13+' '; if (skill14 != null) skills += skill14+' '; if (skill15 != null) skills += skill15+' '; if (skills == "") skills += "none" let charnamesformenu2 = document.querySelector("#content2 > tbody > tr:nth-child("+rownum+") > td:nth-child(2) > a:nth-child(1)").innerHTML; let menu2 = document.querySelector("#content2 > tbody > tr:nth-child("+rownum+")"); let mv2 = document.createElement('td'); mv2.innerHTML = charnamesformenu2+`

`+itemsX.toString()+`
`; insertAfter(mv2, menu2.lastElementChild); let menu = document.querySelector("#zero-config > tbody > tr:nth-child("+rownum+")"); let lvlTD = document.createElement('td'); lvlTD.innerHTML = charlvl[1]; insertAfter(lvlTD, menu.lastElementChild); let rageTD = document.createElement('td'); rageTD.innerHTML = ``+tomax2 insertAfter(rageTD, menu.lastElementChild); let mrTD = document.createElement('td'); mrTD.innerHTML = ``+mrage2.toLocaleString("en-US") insertAfter(mrTD, menu.lastElementChild); let todayTD = document.createElement('td'); todayTD.innerHTML = ``+growthtoday3; insertAfter(todayTD, menu.lastElementChild); let yesterdayTD = document.createElement('td'); yesterdayTD.innerHTML = ``+growthyesterday3; insertAfter(yesterdayTD, menu.lastElementChild); let tolvlTD = document.createElement('td'); tolvlTD.innerHTML = ``+tolevel2.toLocaleString("en-US") insertAfter(tolvlTD, menu.lastElementChild); let strengthTD = document.createElement('td'); strengthTD.innerHTML = ``+strength3; insertAfter(strengthTD, menu.lastElementChild); let boosterTD = document.createElement('td'); boosterTD.innerHTML = items3+"/10"; insertAfter(boosterTD, menu.lastElementChild); let crest1TD = document.createElement('td'); crest1TD.innerHTML = crest1lvl; insertAfter(crest1TD, menu.lastElementChild); let crest2TD = document.createElement('td'); crest2TD.innerHTML = crest2lvl; insertAfter(crest2TD, menu.lastElementChild); let crest3TD = document.createElement('td'); crest3TD.innerHTML = crest3lvl; insertAfter(crest3TD, menu.lastElementChild); let crest4TD = document.createElement('td'); crest4TD.innerHTML = crest4lvl; insertAfter(crest4TD, menu.lastElementChild); let archTD = document.createElement('td'); archTD.innerHTML = ``+archCnt2 insertAfter(archTD, menu.lastElementChild); let suppliesTD = document.createElement('td'); suppliesTD.innerHTML = ""; insertAfter(suppliesTD, menu.lastElementChild); let oreCnt = document.createElement('td'); oreCnt.innerHTML = ``+oreCnt2 insertAfter(oreCnt, menu.lastElementChild); let runeTD = document.createElement('td'); runeTD.innerHTML = ""; insertAfter(runeTD, menu.lastElementChild); let fuserTD = document.createElement('td'); fuserTD.innerHTML = fuserCnt[1] ?? "0" insertAfter(fuserTD, menu.lastElementChild); let itemsTD = document.createElement('td'); itemsTD.innerHTML = ``; insertAfter(itemsTD, menu.lastElementChild); let repTD = document.createElement('td'); repTD.innerHTML = ``+repCnt2 insertAfter(repTD, menu.lastElementChild); let gemTD = document.createElement('td'); gemTD.innerHTML = ""; insertAfter(gemTD, menu.lastElementChild); let powerTD = document.createElement('td'); powerTD.innerHTML = ``+charpower2.toLocaleString("en-US"); insertAfter(powerTD, menu.lastElementChild); let eleTD = document.createElement('td'); eleTD.innerHTML = ``+charele[1]; insertAfter(eleTD, menu.lastElementChild); let chaosTD = document.createElement('td'); chaosTD.innerHTML = ``+charchaos[1]; insertAfter(chaosTD, menu.lastElementChild); let fireResTD = document.createElement('td'); fireResTD.innerHTML = ``+parseInt(fireRes[1]); insertAfter(fireResTD, menu.lastElementChild); let arcaneResTD = document.createElement('td'); arcaneResTD.innerHTML = ``+parseInt(arcaneRes[1]); insertAfter(arcaneResTD, menu.lastElementChild); let shadowResTD = document.createElement('td'); shadowResTD.innerHTML = ``+parseInt(shadowRes[1]); insertAfter(shadowResTD, menu.lastElementChild); let holyResTD = document.createElement('td'); holyResTD.innerHTML = ``+parseInt(holyRes[1]); insertAfter(holyResTD, menu.lastElementChild); let kineticResTD = document.createElement('td'); kineticResTD.innerHTML = ``+parseInt(kineticRes[1]); insertAfter(kineticResTD, menu.lastElementChild); let wildTD = document.createElement('td'); wildTD.innerHTML = ``+wilderness[1]; insertAfter(wildTD, menu.lastElementChild); let ammyTD = document.createElement('td'); ammyTD.innerHTML = amuletCnt[1] ?? "0" insertAfter(ammyTD, menu.lastElementChild); let shardTD = document.createElement('td'); shardTD.innerHTML = shardCnt[1] ?? "0" insertAfter(shardTD, menu.lastElementChild); let skillsTD = document.createElement('td'); skillsTD.innerHTML = skills; insertAfter(skillsTD, menu.lastElementChild); let bpTD = document.createElement('td'); bpTD.innerHTML = bpMax+bpItems+" / "+bpCap insertAfter(bpTD, menu.lastElementChild); let utilityTD = document.createElement('td'); utilityTD.innerHTML = utility; insertAfter(utilityTD, menu.lastElementChild); fetch("profile?suid="+selectedID[1]) .then(res => res.text()) .then((responseText) => {}) document.querySelector("#zero-config").setAttribute('class', 'rgahealth') })})})})})}}, 1000); var pageContent = `

`+ `

`+content+`

`+ `

`+content2+`

`+ `

Welcome to MOXXIVISION. Please be patient while greatness loads.
` $(document).ready(function(){ $('#content-header-row > div.outer').doubleScroll(); }); var earnfreepoints = document.querySelector("#content-header-row") earnfreepoints.innerHTML = pageContent })} setTimeout(function() { if (document.URL.indexOf("earnfreepoints") != -1 ) { GM_addStyle ( ` #content-header-row > div.outer{display:inline !important;} #content-header-row > div.outer2{display:inline !important;} #mvhead{display:none !important;} `)} }, 30000); // level chart if (document.URL.indexOf("com/home") != -1 ) { function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } GM_addStyle ( ` #content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(1) > div > div:nth-child(7){margin-left:15px !important;} #expchart{margin-left:0px !important; width:361px !important;height:87px !important;overflow-y: scroll !important} #content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(1) > div > div:nth-child(7) > div > div.w-100 > div > table > tbody > tr > td{padding-right:10px !important;} `); var levelchart = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(1) > div"); var chart = `
OUTWAR LEVEL CHART

LevelExperienceSPATKDEF

10013
27025
325048
4500612
51500916
625001221
745001527
870001836
91,00002244
101,50012650
113,00013062
125,00023671
138,00023885
1412,00034392
1518,000348107
1628,000453115
1740,000458226
1855,000563231
1975,000568242
20100,000673257
21130,000678264
22165,000783272
23215,000788281
24260,000895290
25310,0008100300
26370,0009106320
27445,0009112335
28525,00010118350
29625,00010125370
30735,00011132392
31838,50011150412
32950,00012160426
331,082,25012185438
341,224,00013200453
351,378,12513215487
361,530,00014230500
371,732,50014260526
381,920,00015300556
392,131,25015330575
402,325,00016345600
412,537,50016360650
422,800,00017380704
433,105,00017400747
443,380,00018415811
453,687,50018425856
463,990,00019450879
474,312,50019475911
484,620,00020500932
494,935,00020550956
505,250,000216501,000
516,500,000217001,032
527,750,000227501,067
539,250,000228001,103
5411,050,000238501,250
5512,750,000238751,500
5614,750,000249001,750
5717,250,000249502,000
5819,750,000251,0002,200
5922,250,000251,2502,400
6024,750,000261,5002,500
6128,000,000261,7502,650
6231,750,000272,0002,800
6335,750,000272,2503,000
6439,750,000282,5003,200
6544,750,000282,7503,500
6649,750,000293,0003,800
6755,750,000293,2504,100
6861,750,000303,5004,400
6968,750,000303,7504,700
7077,000,000314,0005,000
7190,650,000314,1505,200
72106,900,000324,3005,450
73126,400,000324,5005,750
74152,400,000334,7506,100
75184,900,000335,0006,500
76385,000,000345,2506,800
77675,000,000345,5007,100
78995,600,000355,8007,500
791,450,920,000356,1507,900
802,000,000,000366,5008,500
813,000,000,000366,9009,200
824,500,000,000377,35010,000
836,750,000,000377,85010,900
8410,000,000,000388,40011,900
8515,000,000,000389,00013,000
8620,000,000,000399,65014,200
8726,000,000,0003910,35015,500
8833,000,000,0004011,10016,900
8941,000,000,0004011,90018,400
9050,000,000,0004112,75020,000
` let lvlchart = document.createElement('div'); lvlchart.innerHTML = chart; insertAfter(lvlchart, levelchart.lastElementChild); } // itemlink modifications if (document.URL.indexOf("itemlink") != -1 ) { var itemID = window.location.search.replace(/\?id=/g,"").replace(/&owner=.*/g,"") fetch("/item_rollover.php?id="+itemID+"_1") .then(response => response.text()) .then((response) => { var holyaug = response.match(/  \+([0-9]+) response.text()) .then((response) => { var holyaug = response.match(/  \+([0-9]+) response.text()) .then((response) => { var holyaug = response.match(/  \+([0-9]+) response.text()) .then((response) => { var holyaug = response.match(/  \+([0-9]+) response.text()) .then((response) => { var holyaug = response.match(/  \+([0-9]+) tbody > tr:nth-child(2) > td:nth-child(2) > img:nth-child(3)").outerHTML.replace(//i,1).replace(//i,0) var Gslot2 = document.querySelector("#itemtable > tbody > tr:nth-child(2) > td:nth-child(2) > img:nth-child(4)").outerHTML.replace(//i,1).replace(//i,0) var Gslot3 = document.querySelector("#itemtable > tbody > tr:nth-child(2) > td:nth-child(2) > img:nth-child(5)").outerHTML.replace(//i,1).replace(//i,0) var Gslot4 = document.querySelector("#itemtable > tbody > tr:nth-child(2) > td:nth-child(2) > img:nth-child(6)").outerHTML.replace(//i,1).replace(//i,0) var sum = Math.round(Gslot1+Gslot2+Gslot3+Gslot4) var gems = ''; if (sum == "0") gems = "4" if (sum == "1") gems = "3" if (sum == "11") gems = "2" if (sum == "111") gems = "1" if (sum == "1111") gems = "0" var item = document.querySelector("#itemtable > tbody > tr:nth-child(2) > td:nth-child(1)").outerHTML.replace(/ \(\+[0-9]+\)<\/span>/g,"").replaceAll(",",""); var atk = item.match(/\+([0-9]+) ATK/) ?? 0 var holy = item.match(/\+([0-9]+) Holy/) ?? 0 var arcane = item.match(/\+([0-9]+) Arcane/) ?? 0 var shadow = item.match(/\+([0-9]+) Shadow/) ?? 0 var fire = item.match(/\+([0-9]+) Fire/) ?? 0 var kinetic = item.match(/\+([0-9]+) Kinetic/) ?? 0 var chaos = item.match(/\+([0-9]+) Chaos/) ?? 0 var vile = item.match(/\+([0-9]+) vile energy/) ?? 0 var hp = item.match(/\+([0-9]+) HP/) ?? 0 var holyr = item.match(/\+([0-9]+) Holy Resist/) ?? 0 var arcaner = item.match(/\+([0-9]+) Arcane Resist/) ?? 0 var shadowr = item.match(/\+([0-9]+) Shadow Resist/) ?? 0 var firer = item.match(/\+([0-9]+) Fire Resist/) ?? 0 var kineticr = item.match(/\+([0-9]+) Kinetic Resist/) ?? 0 var chaosr = item.match(/\+([0-9]+) Chaos Resist/) ?? 0 var block = item.match(/\+([0-9]+)% block/) ?? 0 var eblock = item.match(/\+([0-9]+)% elemental block/) ?? 0 var rpt = item.match(/\+([0-9]+) rage per hr/) ?? 0 var ept = item.match(/\+([0-9]+) exp per hr/) ?? 0 var ramp = item.match(/\+([0-9]+)% rampage/) ?? 0 var ps = item.match(/\+([0-9]+)% perfect strike/) ?? 0 var mr = item.match(/\+([0-9]+) max rage/) ?? 0 var crit = item.match(/\+([0-9]+)% critical hit/) ?? 0 var edititem = document.querySelector("#itemtable > tbody > tr:nth-child(2) > td:nth-child(1)"); if (aholy != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Holy/,"  +"+(parseInt(holy[1])-aholy)+" (+"+aholy+") Holy")} if (aarcane != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Arcane/,"  +"+(parseInt(arcane[1])-aarcane)+" (+"+aarcane+") Arcane")} if (afire != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Fire/,"  +"+(parseInt(fire[1])-afire)+" (+"+afire+") Fire")} if (akinetic != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Kinetic/,"  +"+(parseInt(kinetic[1])-akinetic)+" (+"+akinetic+") Kinetic")} if (ashadow != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Shadow/,"  +"+(parseInt(shadow[1])-ashadow)+" (+"+ashadow+") Shadow")} if (achaos != 0){ edititem.innerHTML = edititem.innerHTML.replace(/  \+.* Chaos/,"  +"+(parseInt(chaos[1])-achaos)+" (+"+achaos+") Chaos")} if (aps != 0){ edititem.innerHTML = edititem.innerHTML.replace(/% perfect strike/," (+"+aps+")% perfect strike")} var g1 = ''; var g2 = ''; var g3 = ''; var g4 = ''; if (atk[1] > 0){ g1 += "+"+Math.round(atk[1]*1.15)+" ATK
" g2 += "+"+Math.round(atk[1]*1.3225)+" ATK
" g3 += "+"+Math.round(atk[1]*1.520875)+" ATK
" g4 += "+"+Math.round(atk[1]*1.74900625)+" ATK
"} if (holy[1]-aholy > 0){ g1 += " +"+(parseInt(holy[1]))+" Holy
" g2 += " +"+(parseInt(holy[1]))+" Holy
" g3 += " +"+(parseInt(holy[1]))+" Holy
" g4 += " +"+(parseInt(holy[1]))+" Holy
"} if (arcane[1]-aarcane > 0){ g1 += " +"+(parseInt(arcane[1]))+" Arcane
" g2 += " +"+(parseInt(arcane[1]))+" Arcane
" g3 += " +"+(parseInt(arcane[1]))+" Arcane
" g4 += " +"+(parseInt(arcane[1]))+" Arcane
"} if (shadow[1]-ashadow > 0){ g1 += " +"+(parseInt(shadow[1]))+" Shadow
" g2 += " +"+(parseInt(shadow[1]))+" Shadow
" g3 += " +"+(parseInt(shadow[1]))+" Shadow
" g4 += " +"+(parseInt(shadow[1]))+" Shadow
"} if (fire[1]-afire > 0){ g1 += " +"+(parseInt(fire[1]))+" Fire
" g2 += " +"+(parseInt(fire[1]))+" Fire
" g3 += " +"+(parseInt(fire[1]))+" Fire
" g4 += " +"+(parseInt(fire[1]))+" Fire
"} if (kinetic[1]-akinetic > 0){ g1 += " +"+(parseInt(kinetic[1]))+" Kinetic
" g2 += " +"+(parseInt(kinetic[1]))+" Kinetic
" g3 += " +"+(parseInt(kinetic[1]))+" Kinetic
" g4 += " +"+(parseInt(kinetic[1]))+" Kinetic
"} if (chaos[1]-achaos > 0){ g1 += " +"+(parseInt(chaos[1]))+" Chaos
" g2 += " +"+(parseInt(chaos[1]))+" Chaos
" g3 += " +"+(parseInt(chaos[1]))+" Chaos
" g4 += " +"+(parseInt(chaos[1]))+" Chaos
"} if (vile[1] > 0){ g1 += " +"+vile[1]+" vile energy
" g2 += " +"+vile[1]+" vile energy
" g3 += " +"+vile[1]+" vile energy
" g4 += " +"+vile[1]+" vile energy
"} if (hp[1] > 0){ g1 += "+"+Math.round(hp[1]*1.15)+" HP
" g2 += "+"+Math.round(hp[1]*1.3225)+" HP
" g3 += "+"+Math.round(hp[1]*1.520875)+" HP
" g4 += "+"+Math.round(hp[1]*1.74900625)+" HP
"} if (holyr[1] != undefined){ g1 += " +"+holyr[1]+" Holy Resist
" g2 += " +"+holyr[1]+" Holy Resist
" g3 += " +"+holyr[1]+" Holy Resist
" g4 += " +"+holyr[1]+" Holy Resist
"} if (arcaner[1] > 0){ g1 += " +"+arcaner[1]+" Arcane Resist
" g2 += " +"+arcaner[1]+" Arcane Resist
" g3 += " +"+arcaner[1]+" Arcane Resist
" g4 += " +"+arcaner[1]+" Arcane Resist
"} if (shadowr[1] > 0){ g1 += " +"+shadowr[1]+" Shadow Resist
" g2 += " +"+shadowr[1]+" Shadow Resist
" g3 += " +"+shadowr[1]+" Shadow Resist
" g4 += " +"+shadowr[1]+" Shadow Resist
"} if (firer[1] > 0){ g1 += " +"+firer[1]+" Fire Resist
" g2 += " +"+firer[1]+" Fire Resist
" g3 += " +"+firer[1]+" Fire Resist
" g4 += " +"+firer[1]+" Fire Resist
"} if (kineticr[1] > 0){ g1 += " +"+kineticr[1]+" Kinetic Resist
" g2 += " +"+kineticr[1]+" Kinetic Resist
" g3 += " +"+kineticr[1]+" Kinetic Resist
" g4 += " +"+kineticr[1]+" Kinetic Resist
"} if (chaosr[1] > 0){ g1 += " +"+chaosr[1]+" Chaos Resist
" g2 += " +"+chaosr[1]+" Chaos Resist
" g3 += " +"+chaosr[1]+" Chaos Resist
" g4 += " +"+chaosr[1]+" Chaos Resist
"} if (block[1] > 0){ g1 += "+"+block[1]+"% block
" g2 += "+"+block[1]+"% block
" g3 += "+"+block[1]+"% block
" g4 += "+"+block[1]+"% block
"} if (eblock[1] > 0){ g1 += "+"+eblock[1]+"% elemental block
" g2 += "+"+eblock[1]+"% elemental block
" g3 += "+"+eblock[1]+"% elemental block
" g4 += "+"+eblock[1]+"% elemental block
"} if (rpt[1] > 0){ g1 += "+"+Math.round(rpt[1]*1.15)+" rage per hour
" g2 += "+"+Math.round(rpt[1]*1.3225)+" rage per hour
" g3 += "+"+Math.round(rpt[1]*1.520875)+" rage per hour
" g4 += "+"+Math.round(rpt[1]*1.74900625)+" rage per hour
"} if (ept[1] > 0){ g1 += "+"+Math.round(ept[1]*1.15)+" exp per hour
" g2 += "+"+Math.round(ept[1]*1.3225)+" exp per hour
" g3 += "+"+Math.round(ept[1]*1.520875)+" exp per hour
" g4 += "+"+Math.round(ept[1]*1.74900625)+" exp per hour
"} if (ramp[1] > 0){ g1 += "+"+ramp[1]+"% rampage
" g2 += "+"+ramp[1]+"% rampage
" g3 += "+"+ramp[1]+"% rampage
" g4 += "+"+ramp[1]+"% rampage
"} if (ps[1] > 0){ g1 += "+"+ps[1]+"
% perfect strike
" g2 += "+"+ps[1]+"
% perfect strike
" g3 += "+"+ps[1]+"
% perfect strike
" g4 += "+"+ps[1]+"
% perfect strike
"} if (mr[1] > 0){ g1 += "+"+Math.round(mr[1]*1.15)+" max rage
" g2 += "+"+Math.round(mr[1]*1.3225)+" max rage
" g3 += "+"+Math.round(mr[1]*1.520875)+" max rage
" g4 += "+"+Math.round(mr[1]*1.74900625)+" max rage
"} if (crit[1] > 0){ g1 += "+"+crit[1]+"% critical hit
" g2 += "+"+crit[1]+"% critical hit
" g3 += "+"+crit[1]+"% critical hit
" g4 += "+"+crit[1]+"% critical hit
"} var openslot = document.querySelectorAll("img[src='/images/gemslot2.jpg']"); if (openslot[0] != null) openslot[0].setAttribute(`onmouseover`, `popup(event,'
`+g1+`
');`); if (openslot[0] != null) openslot[0].setAttribute(`onmouseout`, `kill()`); if (openslot[1] != null) openslot[1].setAttribute(`onmouseover`, `popup(event,'
`+g2+`
')`); if (openslot[1] != null) openslot[1].setAttribute(`onmouseout`, `kill()`); if (openslot[2] != null) openslot[2].setAttribute(`onmouseover`, `popup(event,'
`+g3+`
')`); if (openslot[2] != null) openslot[2].setAttribute(`onmouseout`, `kill()`); if (openslot[3] != null) openslot[3].setAttribute(`onmouseover`, `popup(event,'
`+g4+`
')`); if (openslot[3] != null) openslot[3].setAttribute(`onmouseout`, `kill()`); var itemNameColor = document.querySelector("#itemtable > tbody > tr:nth-child(1) > td").outerHTML.replace(/
.*/g,""); var itemRarity = ''; if (itemNameColor == "FFFFFF") itemRarity = "Uncommon"; if (itemNameColor == "1eff00") itemRarity = "Rare"; if (itemNameColor == "ffde5b") itemRarity = "Elite"; if (itemNameColor == "0070ff") itemRarity = "Godly"; if (itemNameColor == "CA1111") itemRarity = "Brutal"; if (itemNameColor == "ff8000") itemRarity = "King"; if (itemNameColor == "9000ba") itemRarity = "Mythic" var gemTxt = `
Item Rarity: `+itemRarity+` Number of Gems: `+gems+`
Mouseover empty gem slot to see gemmed stats

`+bossLootCnt+`
(`+Math.round(percentage/100*lootCount)+`)
`+bossLoot.replace(/','808080'\)" onmouseout="kill\(\)>.*<\/td>/g,"").replaceAll("
",", ").replaceAll(/No Items','808080'\)" onmouseout="kill\(\)">0/g,"").replaceAll(/, ','808080'\)" onmouseout="kill\(\)">[0-9]+/g,""); let menu = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownumX+")"); let td = document.createElement('td'); td.innerHTML = bossLoot; insertAfter(td, menu.lastElementChild); }}} if (document.URL.indexOf("boss_stats") != -1 ) { let bossName = document.querySelector("#content-header-row > h1").innerHTML let lootCount = ''; if (bossName == "Cosmos, Great All Being") lootCount = "50" if (bossName == "Death, Reaper of Souls") lootCount = "78" if (bossName == "Maekrix, Dreaded Striker") lootCount = "73" if (bossName == "Blackhand Reborn") lootCount = "61" if (bossName == "Zyrak, Vision of Madness") lootCount = "64" if (bossName == "Arkron, God of Trials") lootCount = "160" var bossHP = ''; if (bossName == "Cosmos, Great All Being") bossHP = "100000000000" if (bossName == "Death, Reaper of Souls") bossHP = "295000000000" if (bossName == "Maekrix, Dreaded Striker") bossHP = "320000000000" if (bossName == "Blackhand Reborn") bossHP = "570000000000" if (bossName == "Zyrak, Vision of Madness") bossHP = "1200000000000" if (bossName == "Arkron, God of Trials") bossHP = "900000000000" var bossTable = document.querySelector("#content-header-row > div > table"); var bossTableRows = bossTable.rows.length; function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } var aliveCheck = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child(1) > td:nth-child(3)").innerHTML; if (aliveCheck < 1){ let menu = document.querySelector("#content-header-row > div > table > thead > tr"); let td1 = document.createElement('td'); td1.innerHTML = ``; insertAfter(td1, menu.lastElementChild); let td4 = document.createElement('td'); td4.innerHTML = ``; insertAfter(td4, menu.lastElementChild); function calcTime(city, offset) { d = new Date(); utc = d.getTime() + (d.getTimezoneOffset() * 60000); nd = new Date(utc + (3600000*offset)); return nd.toLocaleString(); } var OWtime = Date.parse((calcTime('Outwar', '-5.0'))); for (let rownum = 1; rownum < bossTableRows; rownum++) { GM_addStyle ( ` td:nth-of-type(3){display: none !important;} #content-header-row > div > table > thead > tr > th:nth-child(3) > a > b > font{color: #fcfcfc !important;} .table td{border: 1px SOLID #0F0F0F !important;} #content-header-row > div > table > thead{border: 0px SOLID !important;} #estdrop{margin-top:7px !important;} `); var crewID = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(1)").innerHTML.replaceAll(/"> response.text()) .then((response) => { var match = 'valign="top">(.*)<\/td.*[\n\r].*'+bossName var lastRaid = response.match(match) var lastRaidprint = '' if (lastRaid != null) lastRaidprint = Date.parse(lastRaid[1].replaceAll("-","/").replace(/\/22 /g,"/2022, ").replace("am",":00 AM").replace("pm",":00 PM").replace(/ 0/i," ")); var sinceLast = OWtime-lastRaidprint var crewName = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(1) > a > font").innerHTML.replace("'",""); var crewID = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(1)").innerHTML.replaceAll(/Actively Raiding` if (sinceLast > 149999) activeRaids = `Not Raiding` let td3 = document.createElement('td'); td3.innerHTML = activeRaids; insertAfter(td3, menu.lastElementChild); }) bossTable.rows[0].cells[2].innerHTML = `ESTIMATED DAMAGE` let percentage = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(2)").innerHTML.replace(/.*\(/i,"").replace("%)",""); var damage = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(2)").innerHTML.replace(/ \(.*%\)/g,"").replaceAll(",",""); let menu = document.querySelector("#content-header-row > div > table > tbody > tr:nth-child("+rownum+")"); let td1 = document.createElement('td'); td1.innerHTML = Math.round(lootCount*(percentage/100)); insertAfter(td1, menu.lastElementChild); const reducer = (accumulator, curr) => accumulator + curr var BaseDmgArray = []; var table = document.querySelector("#content-header-row > div > table").innerHTML var BaseMatch = table.matchAll(/
(.*) \(/g); for (const BaseMatchLoop of BaseMatch) { let BaseObj = [parseInt(BaseMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const BaseDmg of BaseObj) { BaseDmgArray.push(BaseDmg);}} var BaseNumbers = BaseDmgArray.map(Number) var SumOfBase = BaseNumbers.reduce(reducer) let td2 = document.createElement('td'); td2.innerHTML = Math.round(damage/SumOfBase*bossHP).toLocaleString("en-US"); insertAfter(td2, menu.children[2]); const header = document.querySelector("#content-header-row > h5") header.innerHTML = "
Health Remaining: "+(bossHP-SumOfBase).toLocaleString("en-US")+" ("+((bossHP-SumOfBase)/bossHP*100).toFixed(3)+"%)" }}} // moxximod boss raid main page if (document.URL.indexOf("crew_bossspawns") != -1 ) { GM_addStyle ( ` #content-header-row > div.col-12.layout-spacing{display: none !important;} #bosslootdiv > table > tbody > tr > td {padding: 20px !important;vertical-align: text-top !important;background:#0F0F0F;} #bosslootdiv{margin-left:15px;width: 480px;overflow-x: auto;overflow-y: hidden;white-space: nowrap;background:#0F0F0F;font-size: 0.78em;} #divHeader{display:none !important;} `); var loottable = `
COSMOS
Demonic Teleporter x1
Recharge the Fury x4
Cosmos Talisman x10
Tome of Daily Grind x5
Key to Knights Horror x9
Astral Shard x4
Quest Shard x5
Recharge Totem x3
Star Power x4
Ticket to the Mystifying Carnival x3
Containment Orb x2
Orb of the Scepter x1
Amulet Chest (50) x2
DEATH
Recharge Totem x3
Recharge the Fury x10
Standard Issue Neuralyzer x6
Death Talisman x12
Pirate Treasure Map x6
Key of the Elements x6
Advanced Neuralyzer x2
Trinket Items x10
Elemental Vigor Orb x2
Elemental Assault Orb x2
Elemental Defense Orb x2
Amulet Chest (50) x4
Chancellor Item x20
Spiral Gear x10
MAEKRIX
Red Dragon Items x9
Astral Totem x10
Maekrix Talisman x12
Key to the Alsayic Ruins (Solo) x2
Juggernaut Talisman x8
Advanced Neuralyzer x2
Irthys Vigor Orb x3
Irthys Assault Orb x3
Irthys Defense Orb x3
Add Augment Slot x4
Remove Augment x8
Amulet Chest (50) x6
Nobel Gear x10
BLACKHAND
Augment of the Reborn Knight x1
Blackhand Reborn Items x10
Core of Blackhand x2
Essence of Reincarnation x1
Blackhand Talisman x4
Profound Ward x10
8-Bit Banana x1
Buckler of Insanity x3
Hauberk of Lunacy x3
Charm of Havoc x3
Unstoppable Concoction x10
Advanced Neuralyzer x2
Power Potion Pack x2
Flask of Endurance x5
Magic Gem x1
Perfection Gear x10
ZYRAK
Augment of Madness x1
Unstable Jewel x6
Veldarabloom x3
Scripture of Zyrak x3
Pulsating Stone x2
Bottled Chaos x1
Thunder Ball x10
Force of Veldara x10
Interstellar Vessel x6
Vault Tear x6
Vial of Insanity x6
Demonic Madness x3
Infinite Tower Spheroid x1
Transcended Extract x1
Tier 2 Booster Upgrade x1
Exalted Gear x10
Boon of Vision x1
Ancestral Tomb x3
` function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);} var bosspage = document.querySelector("#divCollections > div.row") let bossdiv = document.createElement('div'); bossdiv.innerHTML = loottable; bossdiv.setAttribute("id", "bosslootdiv") bossdiv.setAttribute("class", "card component-card_4 mb-3") insertAfter(bossdiv, bosspage.lastElementChild); var bossCount = $('#divCollections > div.row > div').length fetch("crew_profile") .then(response => response.text()) .then((response) => { var myCrew = response.match(/

.*<\/h2>/g) var myCrewID = response.match(/href="\/crew_raidresults\.php\?crewid=(.*)">Raid Results<\/a>/i) var bossHead = document.querySelector("#divHeader > h3") bossHead.innerHTML = " Moxxi Mod Raid Results" }) for (let bossNum = 1; bossNum < 1+bossCount; bossNum++) { var bossLink = document.querySelector("#divCollections > div.row > div:nth-child("+bossNum+") > div > div > div.user-info.w-100.pr-3 > p.card-user_occupation > a") var boss = ''; if (bossLink != null) boss = document.querySelector("#divCollections > div.row > div:nth-child("+bossNum+") > div > div > div.user-info.w-100.pr-3 > p.card-user_occupation > a") if (bossLink =! null){ fetch(boss) .then(response => response.text()) .then((response) => { var bossName = response.match(/

(.*)<\/h1>/i) if (bossName != null){ var bossHP = ''; if (bossName[1] == "Cosmos, Great All Being") bossHP = "100000000000" if (bossName[1] == "Death, Reaper of Souls") bossHP = "295000000000" if (bossName[1] == "Maekrix, Dreaded Striker") bossHP = "320000000000" if (bossName[1] == "Blackhand Reborn") bossHP = "570000000000" if (bossName[1] == "Zyrak, Vision of Madness") bossHP = "1200000000000" if (bossName[1] == "Arkron, God of Trials") bossHP = "900000000000" var crew1 = response.match(/(.*)<\/font>.*[\n\r].*

(.*) \(.*\)<\/font>/i); const reducer = (accumulator, curr) => accumulator + curr var BaseDmgArray = []; var BaseMatch = response.matchAll(/(.*) \(/g); for (const BaseMatchLoop of BaseMatch) { let BaseObj = [parseInt(BaseMatchLoop[1].replace(",","").replace(",","").replace(",",""))]; for (const BaseDmg of BaseObj) { BaseDmgArray.push(BaseDmg);}} var BaseNumbers = BaseDmgArray.map(Number) var SumOfBase = BaseNumbers.reduce(reducer) var cosmosPerc = ((bossHP-SumOfBase)/bossHP*100).toFixed(3) var cosmosRemain = Math.round(SumOfBase*cosmosPerc/(100-cosmosPerc)) document.querySelector("#divCollections > div.row > div:nth-child("+bossNum+") > div > div > div.user-info.w-100.pr-3 > p.card-text").innerHTML = "
Total Damage Dealt: "+SumOfBase.toLocaleString("en-US")+"
Leading Crew:
"+crew1[1]+"
"+crew1[2]+"
Health Remaining: "+cosmosRemain.toLocaleString("en-US")+'
'+cosmosPerc+"%" document.querySelector("#divCollections > div.row > div:nth-child("+bossNum+") > div > div > div.user-info.w-100.pr-3 > h3").innerHTML = ''+bossName[1]+'' document.querySelector("#divCollections > div.row > div:nth-child("+bossNum+") > div > div > div.user-info.w-100.pr-3 > p.card-user_occupation").innerHTML = '' }})};}} // moxximod raid results menu and styling if (document.URL.indexOf("crew_raidresults") != -1 ) { document.querySelector("#content-header-row > table > tbody > tr > td > form > p > input:nth-child(3)").setAttribute("value", "MoxxiMod raid results"); }; if (document.URL.indexOf("most_recent=MoxxiMod") != -1 ) { GM_addStyle ( `#content-header-row > table > tbody > tr > td > div > center > div > table{background:#0B0B0B !important;} td:nth-of-type(3){display: none;} td:nth-of-type(4){display: none;} td:nth-of-type(5){display: none;} `); var changeHeader0 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table") changeHeader0.rows[0].cells[0].innerHTML = `TIME` var changeHeader1 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table") changeHeader1.rows[0].cells[1].innerHTML = `RAID` // moxximod raid results header row function insertAfter2(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let rrHead11 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead11 = document.createElement('td'); tdHead11.innerHTML = `CHARS`; insertAfter2(tdHead11, rrHead11.lastElementChild); let rrHead1 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead1 = document.createElement('td'); tdHead1.innerHTML = `DMG`; insertAfter2(tdHead1, rrHead1.lastElementChild); let rrHead2 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead2 = document.createElement('td'); tdHead2.innerHTML = `AVG`; insertAfter2(tdHead2, rrHead2.lastElementChild); let rrHead6 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead6 = document.createElement('td'); tdHead6.innerHTML = `BLOCK`; insertAfter2(tdHead6, rrHead6.lastElementChild); let rrHead7 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead7 = document.createElement('td'); tdHead7.innerHTML = `BLOCK`; insertAfter2(tdHead7, rrHead7.lastElementChild); let rrHead13 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead13 = document.createElement('td'); tdHead13.innerHTML = `SHIELD`; insertAfter2(tdHead13, rrHead13.lastElementChild); let rrHead14 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead14 = document.createElement('td'); tdHead14.innerHTML = `ATKS`; insertAfter2(tdHead14, rrHead14.lastElementChild); let rrHead10 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead10 = document.createElement('td'); tdHead10.innerHTML = `RNDS`; insertAfter2(tdHead10, rrHead10.lastElementChild); let rrHead12 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead12 = document.createElement('td'); tdHead12.innerHTML = `SIN`; insertAfter2(tdHead12, rrHead12.lastElementChild); let rrHead5 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead5 = document.createElement('td'); tdHead5.innerHTML = `HEALTH`; insertAfter2(tdHead5, rrHead5.lastElementChild); let rrHead4 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr"); let tdHead4 = document.createElement('td'); tdHead4.innerHTML = `LOOT`; insertAfter2(tdHead4, rrHead4.lastElementChild); // moxximod raid results data scrape var rrTable = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table"); var rrRowCount = 1+rrTable.rows.length; for (let rownum = 2; rownum < rrRowCount; rownum++) { let raidLink11 = ''; if (document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(5) > a") != null) raidLink11 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(5) > a"); let row11 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+")") let chars11 = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(3)").innerHTML; let raidNameCell = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(2)"); let raidName = ''; if (raidNameCell != null) raidNameCell.innerHTML = ''+raidNameCell.innerHTML.replaceAll(/,.*/g,"").replaceAll(/of.*/g,"").replaceAll("The","").replaceAll(/the.*/g,"").replaceAll(/the.*/g,"")+''; let timeStampCell = document.querySelector("#content-header-row > table > tbody > tr > td > div > center > div > table > tbody > tr:nth-child("+rownum+") > td:nth-child(1)"); let timeStampName = ''; if (timeStampCell != null) timeStampCell.innerHTML = timeStampCell.innerHTML.replaceAll(/[0-9]+-[0-9]+-[0-9]+/g,""); GM_xmlhttpRequest ( { method: 'GET', url: raidLink11, onload: function (responseDetails) { var raidDmg11 = /Damage: ([0-9,]*)/; var printDmg11 = raidDmg11.exec(responseDetails.responseText); var raidDrops11 = /popup\(event,'(.*)<\/b>'\)" onmouseout="kill\(\)">[0-9]+ items<\/a>/i; var printDrops11 = raidDrops11.exec(responseDetails.responseText); var drops11 = ''; if (printDrops11 == null) drops11 = `No items found` if (printDrops11 != null) drops11 = printDrops11[1] var raidHealth11 = /([0-9]+)%<\/span><\/div>.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r]`+printHealth11[1]+`%` if (printHealth11[1] > 0) health11 = ``+printHealth11[1]+`%` fetch(raidLink11) .then(response => response.text()) .then((response) => { var attacks11 = response.match(/Base: [0-9]+/g).length; var blocks11 = response.match(/images\/block\.jpg/g); var eleblocks11 = response.match(/images\/block2\.jpg/g); var shields11 = response.match(/_ele_shield\.jpg/g); var dead11 = response.match(/images\/dead\.jpg/g); var rounds11 = response.match(/\/img\/skin\/Bar_separator_little\.png/g).length; var sincheck11 = response.match(/color:#CC0000;">(.*)<\/b>/i); const reducer = (accumulator, curr) => accumulator + curr var BaseDmgArray = []; var BaseMatch = response.matchAll(/onmouseover="popup\(event,.*Base: (.*)
" var FireDmgArray = []; var FireMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) fire/g); for (const FireMatchLoop of FireMatch) { let FireObj = [parseInt(FireMatchLoop[1].replace(",",""))]; for (const FireDmg of FireObj) { FireDmgArray.push(FireDmg);}} var FireNumbers = FireDmgArray.map(Number) var FireDmgCheck = ''; if (FireNumbers != "") FireDmgCheck = FireNumbers if (FireNumbers == "") FireDmgCheck = [0] var SumOfFire = FireDmgCheck.reduce(reducer).toLocaleString("en-US"); var printFire = "+"+SumOfFire+" fire
" var ShadowDmgArray = []; var ShadowMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) shadow/g); for (const ShadowMatchLoop of ShadowMatch) { let ShadowObj = [parseInt(ShadowMatchLoop[1].replace(",",""))]; for (const ShadowDmg of ShadowObj) { ShadowDmgArray.push(ShadowDmg);}} var ShadowNumbers = ShadowDmgArray.map(Number) var ShadowDmgCheck = ''; if (ShadowNumbers != "") ShadowDmgCheck = ShadowNumbers if (ShadowNumbers == "") ShadowDmgCheck = [0] var SumOfShadow = ShadowDmgCheck.reduce(reducer).toLocaleString("en-US"); var printShadow = "+"+SumOfShadow+" shadow
" var HolyDmgArray = []; var HolyMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) holy/g); for (const HolyMatchLoop of HolyMatch) { let HolyObj = [parseInt(HolyMatchLoop[1].replace(",",""))]; for (const HolyDmg of HolyObj) { HolyDmgArray.push(HolyDmg);}} var HolyNumbers = HolyDmgArray.map(Number) var HolyDmgCheck = ''; if (HolyNumbers != "") HolyDmgCheck = HolyNumbers if (HolyNumbers == "") HolyDmgCheck = [0] var SumOfHoly = HolyDmgCheck.reduce(reducer).toLocaleString("en-US"); var printHoly = "+"+SumOfHoly+" holy
" var ArcaneDmgArray = []; var ArcaneMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) arcane/g); for (const ArcaneMatchLoop of ArcaneMatch) { let ArcaneObj = [parseInt(ArcaneMatchLoop[1].replace(",",""))]; for (const ArcaneDmg of ArcaneObj) { ArcaneDmgArray.push(ArcaneDmg);}} var ArcaneNumbers = ArcaneDmgArray.map(Number) var ArcaneDmgCheck = ''; if (ArcaneNumbers != "") ArcaneDmgCheck = ArcaneNumbers if (ArcaneNumbers == "") ArcaneDmgCheck = [0] var SumOfArcane = ArcaneDmgCheck.reduce(reducer).toLocaleString("en-US"); var printArcane = "+"+SumOfArcane+" arcane
" var KineticDmgArray = []; var KineticMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) kinetic/g); for (const KineticMatchLoop of KineticMatch) { let KineticObj = [parseInt(KineticMatchLoop[1].replace(",",""))]; for (const KineticDmg of KineticObj) { KineticDmgArray.push(KineticDmg);}} var KineticNumbers = KineticDmgArray.map(Number) var KineticDmgCheck = ''; if (KineticNumbers != "") KineticDmgCheck = KineticNumbers if (KineticNumbers == "") KineticDmgCheck = [0] var SumOfKinetic = KineticDmgCheck.reduce(reducer).toLocaleString("en-US"); var printKinetic = "+"+SumOfKinetic+" kinetic
" var VileDmgArray = []; var VileMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) vile/g); for (const VileMatchLoop of VileMatch) { let VileObj = [parseInt(VileMatchLoop[1].replace(",",""))]; for (const VileDmg of VileObj) { VileDmgArray.push(VileDmg);}} var VileNumbers = VileDmgArray.map(Number) var VileDmgCheck = ''; if (VileNumbers != "") VileDmgCheck = VileNumbers if (VileNumbers == "") VileDmgCheck = [0] var SumOfVile = VileDmgCheck.reduce(reducer).toLocaleString("en-US"); var printVile = "+"+SumOfVile+" vile energy
" var ChaosDmgArray = []; var ChaosMatch = response.matchAll(/onmouseover="popup\(event,.*\+(.*) chaos/g); for (const ChaosMatchLoop of ChaosMatch) { let ChaosObj = [parseInt(ChaosMatchLoop[1].replace(",",""))]; for (const ChaosDmg of ChaosObj) { ChaosDmgArray.push(ChaosDmg);}} var ChaosNumbers = ChaosDmgArray.map(Number) var ChaosDmgCheck = ''; if (ChaosNumbers != "") ChaosDmgCheck = ChaosNumbers if (ChaosNumbers == "") ChaosDmgCheck = [0] var SumOfChaos = ChaosDmgCheck.reduce(reducer).toLocaleString("en-US"); var printChaos = "+"+SumOfChaos+" chaos" var totdead11 = ''; if (dead11 != null) totdead11 = (dead11.length).toFixed(0) if (dead11 == null) totdead11 += "0" var shieldrate11 = ''; if (shields11 != null) shieldrate11 = (shields11.length/attacks11*100).toFixed(1) if (shields11 == null) shieldrate11 += "0.0" var sin11 = ''; if (sincheck11[1] != "0") sin11 += "No" if (sincheck11[1] == "0") sin11 += "Yes" var blockrate11 = ''; if (blocks11 != null) blockrate11 += (blocks11.length/attacks11*100).toFixed(1) if (blocks11 == null) blockrate11 += "0.0" var eleblockrate11 = ''; if (eleblocks11 != null) eleblockrate11 = (eleblocks11.length/attacks11*100).toFixed(1) if (eleblocks11 == null) eleblockrate11 += "0.0" let td112 = document.createElement('td'); td112.innerHTML = chars11+" (🕱"+totdead11+")"; insertAfter2(td112, row11.lastElementChild); var damage11 = printDmg11[1]; let td11 = document.createElement('td'); td11.innerHTML = ``+damage11; insertAfter2(td11, row11.lastElementChild); var cells11 = row11.getElementsByTagName("td"); let td12 = document.createElement('td'); var td12comma = Math.floor(printDmg11[1].replace(/,/g, '')/cells11[2].innerText); td12.textContent = td12comma.toLocaleString("en-US"); insertAfter2(td12, row11.lastElementChild); let td61 = document.createElement('td'); td61.innerHTML = blockrate11+"%"; insertAfter2(td61, row11.lastElementChild); let td71 = document.createElement('td'); td71.innerHTML = eleblockrate11+"%"; insertAfter2(td71, row11.lastElementChild); let td111 = document.createElement('td'); td111.innerHTML = shieldrate11+"%"; insertAfter2(td111, row11.lastElementChild); let td13 = document.createElement('td'); td13.innerHTML = attacks11; insertAfter2(td13, row11.lastElementChild); let td91 = document.createElement('td'); td91.innerHTML = rounds11; insertAfter2(td91, row11.lastElementChild); let td101 = document.createElement('td'); td101.innerHTML = sin11; insertAfter2(td101, row11.lastElementChild); let td51 = document.createElement('td'); td51.innerHTML = health11; insertAfter2(td51, row11.lastElementChild); let td41 = document.createElement('td'); td41.innerHTML = drops11.replaceAll(/Amulet Chest \(.*\),/g,"").replaceAll(/,/g,"
"); insertAfter2(td41, row11.lastElementChild); });}})}} // 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 (window.location.href.indexOf("outwar.com/world") != -1 ) { let observer = new MutationObserver(mutationRecords => { attackframe() }); observer.observe(roomid_display, { childList: true, subtree: true, characterDataOldValue: true }); 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: -130px !important;background:#0B0B0B !important;} .mr-3, .mx-3 {margin-right: 0rem!important;} #result_notice_window{ font-size: 18pt; display: none; text-align: center; padding: 5px; width: 340px; border: 2px solid #cccccc; color: #cc0000; background-color: black; position: absolute; left:470px !important; top: 0px !important;} body > center > div.sub-header-container2{display:none !important;} ` );} if ( document.URL.indexOf("somethingelse") != -1 ) { GM_addStyle ( ` body > center > div.sub-header-container{display:none !important;} #container > div.sidebar-wrapper.sidebar-theme{display:none !important;} #recentraid{display:none !important;} #content > div.layout-px-spacing{margin-top:-82px !important;} #content-header-row > div > div{height:494px !important;} ` );} if (window.location.href.indexOf("outwar.com/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 (window.location.href.indexOf("outwar.com/world") != -1 ) { document.querySelector("#roomDetails").onclick = function() {$("iframe").height(500)}} if (window.location.href.indexOf("outwar.com/world") != -1 ) { GM_addStyle ( ` .layout-spacing,#content-header-row > div.col-xl-4.col-lg-12.col-md-12.col-sm-12.col-12.layout-spacing.px-1 > div{width:350px !important;} #content-header-row > div.col-xl-5.col-lg-12.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div,#content-header-row > div.col-xl-4.col-lg-12.col-md-12.col-sm-12.col-12.layout-spacing.px-1 > div,#content-header-row > div.col-xl-3.col-lg-6.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div{min-height:600px !important;} #content-header-row > div.col-xl-3.col-lg-6.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div > div.widget-content > div.tomb-bottom{display:none !important;} #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; } #content-header-row > div.col-xl-4.col-lg-12.col-md-12.col-sm-12.col-12.layout-spacing.px-1 > div > div.widget-content.pt-0 > div{margin-top:30px !important;} #content-header-row > div.col-xl-5.col-lg-12.col-md-6.col-sm-12.col-12.layout-spacing.px-1{margin-left:15px !important;margin-right:-22px !important;} body > center > div.sub-header-container2{display:none !important;} ` );} if ( document.URL.indexOf("plrattack") != -1 ) { var attackerHP = document.querySelector("#content-header-row > center > script").innerHTML.match(/var attacker_health_start = (.*);/i) var attackerHPprint = parseInt(attackerHP[1]) var mobHP = document.querySelector("#content-header-row > center > script").innerHTML.match(/var defender_health_start = (.*);/i) var mobHPprint = parseInt(mobHP[1]) var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutationRecord) { var playerhealth = (parseInt(document.querySelector("#attacker_health").outerHTML.match(/width: .*px/g).toString().replace("width: ","").replace("px",""))/245*100).toFixed(1); var printplayerhealth = ''; if (playerhealth == "0.0") printplayerhealth = "0.0%
YOU LOSE" if (playerhealth != "0.0") printplayerhealth = playerhealth+"% ("+Math.round(attackerHPprint*playerhealth/100).toLocaleString("en-US")+" HP)" document.querySelector("#combat_log").innerHTML += "Player Health: "+printplayerhealth+"
" }); }); var observer2 = new MutationObserver(function(mutations) { mutations.forEach(function(mutationRecord) { var defenderhealth = (parseInt(document.querySelector("#defender_health").outerHTML.match(/width: .*px/g).toString().replace("width: ","").replace("px",""))/245*100).toFixed(1); var printmobhealth = ''; if (defenderhealth == "0.0") printmobhealth = "0.0%
YOU WIN" if (defenderhealth != "0.0") printmobhealth = defenderhealth+"% ("+Math.round(mobHPprint*defenderhealth/100).toLocaleString("en-US")+" HP)" document.querySelector("#combat_log").innerHTML += "Mob Health: "+printmobhealth+"
"; }); }); var attacker_health = document.querySelector("#attacker_health"); observer.observe(attacker_health, { attributes : true, attributeFilter : ['style'] }); var defender_health = document.querySelector("#defender_health"); observer2.observe(defender_health, { attributes : true, attributeFilter : ['style'] }); GM_addStyle ( ` #content-header-row > center > table{display:none !important;} #result_notice_window{display:none !important;} #battle_result{background:none !important; margin-top:100px !important;width:400px !important;font-size: 12px !important;} body > center{background:#0B0B0B !important;} #rightbar{display:none !important;} #recentraid{display:none !important;} body img[src*="goldcoin.gif"] { display:none !important;} #combat_log{min-height:100px !important;overflow:auto !important;max-height:350px !important;padding:10px !important;} .ps__thumb-x,.ps__rail-x,.ps--active-x>.ps__rail-x, .ps--active-y>.ps__rail-y{ display: none !important; }` );} // redefined if ( document.URL.indexOf("scratch_ticket") != -1 ) { var theImage2; theImage2 = document.querySelector("#content > div.layout-px-spacing") theImage2.innerHTML = '
' + '' + '
'} // sess id var byptlink = document.querySelector("#accordionExample > a"); var sessid = byptlink.href.replace(/https:\/\/rampidgaming.outwar.com\/stripe_buy\?game=ow&outwar=0&wsrv=\$subDomain&lvl=\$user\[level]&rg_sess_id=/, ' '); var bypplink = document.querySelector("#components > li:nth-child(12) > a") // custom side menu var theImage; theImage = document.querySelector("#sidebar"); theImage.innerHTML = '' + '
' + '
' + '

' var servername = window.location.hostname.split(".")[0]; setTimeout(function() { $("span:contains('SERVER')").text(servername); }, 10); // currency toolbar GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/backpackcontents.php?tab=quest', onload: function (responseDetails) { const ammyID = /Amulet of Achievement" data-itemqty="([0-9]*)"/g; const ammyRes = ammyID.exec(responseDetails.responseText); const badgeID = /Badge Reputation" data-itemqty="([0-9]*)"/g; const badgeRes = badgeID.exec(responseDetails.responseText); fetch('ajax/challenge_status.php') .then(response => response.text()) .then((response) => { var claimed = response.match(/tokens":"(.*)","p_tokens"/i) var freeTok = ''; if (claimed[1] < 30) freeTok = claimed[1] if (claimed[1] > 29) freeTok = ""+claimed[1]+"" var ammyPrint = ''; if (ammyRes != null) ammyPrint = ammyRes[1] if (ammyRes == null) ammyPrint = "0" var badgePrint = ''; if (badgeRes != null) badgePrint = badgeRes[1] if (badgeRes == null) badgePrint ="0" var ammyCnt = ammyPrint var ammy = ammyCnt; var badgeCnt = badgePrint var badge = ''; if (badgeCnt < 15) badge = badgeCnt if (badgeCnt > 14) badge = ''+badgeCnt+'' var currency = '$'; if (badgeCnt < 15) currency += "$" if (badgeCnt > 14) currency += '$' if (claimed[1] < 30) currency += "$" if (claimed[1] > 29) currency += "$" var goldPrint = document.body.innerHTML.match(/
Gold:<\/b><\/td>(.*)<\/td><\/tr>/i); var pbPrint = document.body.innerHTML.match(/
Points:<\/b><\/td>(.*)<\/font><\/td><\/tr>/i); var prPrint = document.body.innerHTML.match(/
Premium:<\/b><\/td>(.*)\.<\/font>/i); var tkPrint = document.body.innerHTML.match(/
Tokens:<\/b><\/td>(.*)<\/font>/i); var skPrint = document.body.innerHTML.match(/
Skill:<\/b><\/td>(.*)<\/td><\/tr>/i); const theImage = document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li:nth-child(4)"); theImage.innerHTML = `` } )}} ); function insertAfter2(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } let menu = document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav"); let li = document.createElement('li'); li.textContent = ''; insertAfter2(li, menu.children[2]); // moxximod page if ( document.URL.indexOf("crew_apply") != -1 ) { var theImage11; theImage11 = document.querySelector("#content") theImage11.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'+ '

' } // toolbar skills GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/profile', onload: function (responseDetails) { const skill0 = /'; if (circ != null) skills += circ+'
'; if (markdown != null) skills += markdown+'
'; if (hitman != null) skills += hitman+'
'; if (haste != null) skills += haste+'
'; if (street != null) skills += street+'
'; if (onguard != null) skills += onguard+'
'; if (questexp != null) skills += questexp+'
'; if (spree != null) skills += spree+'
'; if (masterF != null) skills += masterF+'
'; if (masterP != null) skills += masterP+'
'; if (masterA != null) skills += masterA+'
'; if (chaosMin != null) skills += chaosMin+'
'; if (chaosMaj != null) skills += chaosMaj+'
'; if (bfa != null) skills += bfa+'
'; if (endFlask != null) skills += endFlask+'
'; if (skills == "") skills += "void" // skills tooltab if (skills != "void"){ $("body").append ( `
SKILLS

`+skills+`

` );} // recent raid tooltab if (document.location.href.indexOf('characters') === -1){ fetch('/profile') .then(response => response.text()) .then((response) => {var myCrewID = response.match(//).toString().replace(//,"") var raidLink ='/crew_raidresults.php?all_results=Display+all+raid+results&crewid='+myCrewID fetch(raidLink) .then(response => response.text()) .then((response) => { var myLastRaid = ''; if (response.match(/View<\/a>/) != null) myLastRaid = response.match(/View<\/a>/).toString().replace(/View<\/a>/,"") if (response.match(/View<\/a>/) == null) myLastRaid = "void" if (myLastRaid != "void"){ fetch(myLastRaid) .then(response => response.text()) .then((response) => { var raidMob = response.match(/

(.*)<\/h4>.*[\n\r].*[\n\r].*
.*[\n\r](.*)/i) var crewName = response.match(/.*(.*) has (.*)!<\/b>/i) var raidLootx = response.match(/onmouseover="popup\(event,'(.*)<\/b>/i) var raidLoot = ''; if (response.match(/onmouseover="popup\(event,'(.*)<\/b>/i) != null) raidLoot = response.match(/onmouseover="popup\(event,'(.*)<\/b>/i) if (response.match(/onmouseover="popup\(event,'(.*)<\/b>/i) == null) raidLoot = "void" var raidLoot2 = ''; if (raidLoot != "void") raidLoot2 = raidLoot[1].toString().replace(/<\/b>'\)" onmouseout="kill\(\)">.*/i,"").replaceAll(/
/g,", ") if (raidLoot == "void") raidLoot2 = "Nothing" var raidResult = ''; if (crewName[2] == "lost") raidResult = "lost to" if (crewName[2] == "won") raidResult = "defeated" $("body").append ( `
` ); })}})})}}}) // extra if (document.URL.indexOf("726169") != -1 ) { GM_addStyle ( ` #divProfile > div:nth-child(2) > div > div > div.col-xl-4.col-md-5 > div > div:nth-child(2) > div > div > div:nth-child(2) > img{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/disa_head.png") !important;}` ); }; if (document.URL.indexOf("707553") != -1 ) { GM_addStyle ( ` #divProfile > div:nth-child(2) > div > div > div.col-xl-8.col-md-7 > div > div:nth-child(1) > div > img{content: url("https://media.discordapp.net/attachments/479930026767155200/1001894796316651561/20220727_125134.gif") !important;height:500px !important;}` ); }; if (document.URL.indexOf("crew_profile?id=13775") != -1 ) { GM_addStyle ( ` #content-header-row > div > div.widget-content.widget-content-area.br-6{background-image: url('https://images.freeimages.com/images/large-previews/084/open-mouth-1439955.jpg') !important;} `)} // server switch link var server = window.location.href; var server2 = server.replace(/\.outwar\.com.*/, ''); var server3 = server2.replace(/http.*:\/\//, ''); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/myaccount.php?ac_serverid=2', onload: function (responseDetails) { const toraxGet = /https:\/\/torax\.outwar\.com\/world\?suid=[0-9]+&serverid=2/i; const toraxGetPrint = toraxGet.exec(responseDetails.responseText); var trade1 = /<\/a>/i; var trade2 = trade1.exec(responseDetails.responseText); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/myaccount.php?ac_serverid=1', onload: function (responseDetails) { const sigilGet = /https:\/\/sigil\.outwar\.com\/world\?suid=[0-9]+&serverid=1/i; const sigilGetPrint = sigilGet.exec(responseDetails.responseText); var trade3 = /<\/a>/i; var trade4 = trade1.exec(responseDetails.responseText); var torax = "torax"; var sigil = "sigil"; var servSwitch = ''; if (server3 != torax) servSwitch += toraxGetPrint+"#"; if (server3 != sigil) servSwitch += sigilGetPrint+"#"; let serverGo1 = servSwitch.replace("null", ""); let serverGo2 = serverGo1.replace("world", "home"); var otherServ = ''; if (server3 != torax) otherServ = torax; if (server3 != sigil) otherServ = sigil; // toolbar supplies notification GM_xmlhttpRequest ( { method: 'GET', url: 'https://outwar.com/supplies', onload: function (responseDetails) { const supplies = /[\n\r](.*)%<\/td>/i; const suppliesPrint = supplies.exec(responseDetails.responseText); let result; if (suppliesPrint[1] < 100) { result = 'positive'; } else { result = null; } var suppliesPOP = ''; if (result != null) suppliesPOP += ``; // toolbar strength notification GM_xmlhttpRequest ( { method: 'GET', url: 'https://outwar.com/profile', onload: function (responseDetails) { const strength = /event,'Strength: ([0-9]+)'/i; const strengthPrint = strength.exec(responseDetails.responseText); let resultStr; if (strengthPrint[1] < 100) { resultStr = 'positive'; } else { resultStr = null; } var strengthtb = ''; if (resultStr != null) strengthtb += ``; // toolbar gladiator notification fetch('/gladiator') .then(response => response.text()) .then((response) => { var zerxCheck = response.match(/View Leaderboard<\/a>.*Will retreat in/i) var vorkCheck = response.match(/View Leaderboard<\/a>.*Will retreat in/i) var tevaCheck = response.match(/View Leaderboard<\/a>.*Will retreat in/i) var vork = ''; if (vorkCheck != null) vork += ``; var zerx = ''; if (zerxCheck != null) zerx += ``; var teva = ''; if (tevaCheck != null) teva += ``; // toolbar brawl notification GM_xmlhttpRequest ( { method: 'GET', url: 'https://outwar.com/closedpvp', onload: function (responseDetails) { const brawlCheck = /images\/atk_player_icon\.jpg/i; const brawlPrint = brawlCheck.exec(responseDetails.responseText); var brawl = ''; if (brawlPrint != null) brawl += ``; // toolbar boss notification fetch('/crew_bossspawns') .then(response => response.text()) .then((response) => { const cosmos = response.match(/images\/CosmosGreatAllBeing\.jpg/i); const death = response.match(/images\/DeathReaperOfSouls\.jpg/i); const maekrix = response.match(/images\/MaekrixDreadedStriker\.jpg/i); const blackhand = response.match(/images\/BlackhandReborn\.png/i); const zyrak = response.match(/images\/velserverboss\.jpg/i); const arkon = response.match(/images\/Arkron\.jpg/i); const cosmosh = response.match(/Cosmos, Great All Being.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const deathh = response.match(/Death, Reaper of Souls.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const maekrixh = response.match(/Maekrix, Dreaded Striker.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const blackhandh = response.match(/Blackhand Reborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const zyrakh = response.match(/Zyrak, Vision of Madness.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const arkonh = response.match(/Arkron, God of Trials.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i); const cosmoss = response.match(/Cosmos, Great All Being.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); const deaths = response.match(/Death, Reaper of Souls.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); const maekrixs = response.match(/Maekrix, Dreaded Striker.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); const blackhands = response.match(/Blackhand Reborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); const zyraks = response.match(/Zyrak, Vision of Madness.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); const arkons = response.match(/Arkron, God of Trials.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i); var boss = ''; if (cosmos != null) boss += cosmoss[1]+``; if (death != null) boss += deaths[1]+``; if (maekrix != null) boss += maekrixs[1]+``; if (blackhand != null) boss += blackhands[1]+``; if (zyrak != null) boss += zyraks[1]+``; if (arkon != null) boss += arkons[1]+``; // toolbar god notification fetch('/raidtools') .then(response => response.text()) .then((response) => { const god1imgPRINT = response.match(/onclick="sendTeleportRequest.*(images.*)" border.*/i); const god1txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*Teleport to (.*)<\/font>/i); const god2imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*(images.*)" border.*/i); const god2txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); const god3imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i); const god3txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); const god4imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i); const god4txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); const god5imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i); const god5txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); const god6imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i); const god6txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); const god7imgPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i); const god7txtPRINT = response.match(/onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i); var gods = ''; if (god1imgPRINT != null) gods += ``; if (god2imgPRINT != null) gods += ``; if (god3imgPRINT != null) gods += ``; if (god4imgPRINT != null) gods += ``; if (god5imgPRINT != null) gods += ``; if (god6imgPRINT != null) gods += ``; if (god7imgPRINT != null) gods += ``; // trade notification var trade5 = ''; if (trade2 != null) trade5 = trade2.toString().replace(`a href="`,`a onmouseover="popup\(event,'Active trade on your RGA'\);" onmouseout="kill\(\);" href="`) if (trade4 != null) trade5 = trade4.toString().replace(`a href="`,`a onmouseover="popup\(event,'Active trade on your RGA'\);" onmouseout="kill\(\);" href="`) // toolbar veiled mob notifcation fetch("ajax_changeroomb") .then(response => response.text()) .then((response) => { var vmob = response.match(/"name":"Veiled Guard","level":"85"/i) var vspawn = ''; if (vmob != null) vspawn += `` // all toolbar document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li.nav-item.more-dropdown.little-space.hide-on-mob.progress-top").innerHTML = ''+ ''+ ''+ '
toolbar1
toolbar2
' document.querySelector("#toolbar1").innerHTML = '
' + `` + ''+ ''+ '' + '
' document.querySelector("#toolbar2").innerHTML = '
'+ gods+boss+zerx+vork+teva+suppliesPOP+strengthtb+brawl+trade5+vspawn '
' })})})}})})}})}}); // homepage rankings if ( document.URL.indexOf("outwar.com/home") != -1 ) { function insertBefore(newNode, existingNode) { let sp2 = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(2) > div > div:nth-child(1)"); existingNode.parentNode.insertBefore(newNode, sp2); } fetch('/crew_profile') .then(response => response.text()) .then((response) => {var crewName = response.match(/

.*<\/h4>/).toString().replace(/

/,"").replace(/<\/h4>/,"") let menu = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(2) > div") var homepageEQ = '
' + '' + '' + ''+ '
CHAR: POWER
CHAR: ELE DMG
CHAR: CHAOS DMG
' + '

' + '' + '' + '' + '
CREW: POWER
CREW: ELE DMG
CREW: CHAOS DMG
' var myName = document.querySelector("#select2-charselectdropdown-container").innerHTML let div = document.createElement('div'); div.innerHTML += homepageEQ; insertBefore(div, menu.children[0]); if ( document.URL.indexOf("outwar.com/home") != -1 ) { GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=crew_power', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=' + category, function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var profileUrl = 'crew_profile?id=' + value.id; } else { var profileUrl = 'characters/' + value.id; } var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_home") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(myName,"
    "+myName+"
    ") $('#rankings_home').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=char_elepower', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=char_elepower', function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var imgurl = data.baseimageurl + "/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } else { var imgurl = data.baseimageurl + "/uploaded/" + value.pic; var profileUrl = 'characters/' + value.id; } if(value.pic == '' || value.pic == null) imgurl = '/images/gangster1.jpg'; var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_charele") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(myName,"
    "+myName+"
    ") $('#rankings_charele').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=crew_power', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=crew_power', function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var imgurl = data.baseimageurl + "/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } else { var imgurl = data.baseimageurl + "/uploaded/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } if(value.pic == '' || value.pic == null) imgurl = '/images/gangster1.jpg'; var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_crewpow") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(crewName,"
    "+crewName+"
    ") $('#rankings_crewpow').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=crew_elepower', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=crew_elepower', function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var imgurl = data.baseimageurl + "/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } else { var imgurl = data.baseimageurl + "/uploaded/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } if(value.pic == '' || value.pic == null) imgurl = '/images/gangster1.jpg'; var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_crewele") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(crewName,"
    "+crewName+"
    ") $('#rankings_crewele').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=char_chaos', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=char_chaos', function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var imgurl = data.baseimageurl + "/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } else { var imgurl = data.baseimageurl + "/uploaded/" + value.pic; var profileUrl = 'characters/' + value.id; } if(value.pic == '' || value.pic == null) imgurl = '/images/gangster1.jpg'; var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_charchaos") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(myName,"
    "+myName+"
    ") $('#rankings_charchaos').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/ajax/rankings?type=crew_chaos', onload: function (responseDetails) { const EQ = /\{.*/i; const EQprint = EQ.exec(responseDetails.responseText); var isLoading = false; function selectCategory(category, title, isCrew) { if(isLoading) return; $('#rank-title').html(title); $('#ranks').hide(); $('#ranks').html(''); $('#last-updated').html(''); isLoading = true; $.getJSON('/ajax/rankings.php?type=crew_chaos', function(data) { var isOdd = true; $.each(data.results, function(key, value) { if(isCrew) { var imgurl = data.baseimageurl + "/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } else { var imgurl = data.baseimageurl + "/uploaded/" + value.pic; var profileUrl = 'crew_profile?id=' + value.id; } if(value.pic == '' || value.pic == null) imgurl = '/images/gangster1.jpg'; var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even'; var stat = '0'; if(value.stat ) { stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") } var html = '
  • ' + '
    ' + '
    ' + '
    ' + '
    ' + value.rank + '
    ' + '
    ' + '' + '' + '
    ' + '
    '+ stat +'
    ' + '
    ' + '
  • ' var rankSearch1 = document.querySelector("#rankings_crewchaos") rankSearch1.innerHTML = rankSearch1.innerHTML.replace(crewName,"
    "+crewName+"
    ") $('#rankings_crewchaos').append(html); isOdd = !isOdd; }); isLoading = false; $('#last-updated').html('
    Last updated: ' + data.timestamp); $('#ranks').show(); }, "json"); } $( document ).ready(function() { var selO = $('option[value="char_power"]');selectCategory('char_power', selO.html()); $( ".rank-sel2" ).change(function() { if($( this ).val() == '') return; var isCrew = $( this ).attr('iscrew') == '1'; selectCategory($( this ).val(), $(this).find("option:selected").text(), isCrew); }); }); }})}})}})}})}})}})}})}; // equipment injection if ( document.URL.indexOf("outwar.com/home") != -1 ) { GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/profile', onload: function (responseDetails) { const EQ = /
    [\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im; const EQprint = EQ.exec(responseDetails.responseText); function insertBefore(newNode, existingNode) { let sp2 = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(1) > div > div:nth-child(1)"); existingNode.parentNode.insertBefore(newNode, sp2); } let menu = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(1) > div") var homepageEQ = '
    ' + EQprint + '
    ' let div = document.createElement('div'); div.innerHTML += homepageEQ; insertBefore(div, menu.children[0]); }})}; if ( document.URL.indexOf("world") != -1 ) { GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/profile', onload: function (responseDetails) { const EQ = /
    [\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im; const EQprint = EQ.exec(responseDetails.responseText); var EQworld = document.querySelector("#content-header-row > div.col-xl-4.col-lg-12.col-md-12.col-sm-12.col-12.layout-spacing.px-1 > div > div.widget-heading"); EQworld.innerHTML = '
    ' + EQprint + '
    ' }})}; if ( document.URL.indexOf("treasury") != -1 ) { GM_xmlhttpRequest ( { method: 'GET', url: 'https://torax.outwar.com/profile', onload: function (responseDetails) { const EQ = /
    [\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*/im; const EQprint = EQ.exec(responseDetails.responseText); var EQtreas = document.querySelector("#content-header-row > div.col-8.col-lg-3.pl-3.pl-xl-0.pr-1 > div > div.widget-heading"); EQtreas.innerHTML = '
    ' + EQprint + '
    ' }})} // crew raid menus var crewID1 = ''; if (document.documentElement.innerHTML.match(/href="\/crew_raidresults\.php\?crewid=(.*)">Raid Results<\/a>/i) != null) crewID1 = document.documentElement.innerHTML.match(/href="\/crew_raidresults\.php\?crewid=(.*)">Raid Results<\/a>/i); var crewID2 = document.documentElement.innerHTML.match(/tradeWith=(.*)">' + '
    ' if ( document.URL.indexOf("crew_") != -1 ) { function insertAfter9(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling); } var rrHead = document.querySelector("#content-header-row > div > div > div.btn-group.mb-3.mr-2"); let tdHead = document.createElement('div'); tdHead.innerHTML = crewmenu; if (rrHead != null) insertAfter9(tdHead, rrHead.children[2]);} }})}})