// ==UserScript== // @name MoxxiMod 7 BETA // @namespace https://studiomoxxi.com/ // @description one click at a time // @author Ben // @match *.outwar.com/* // @version 7.0.0 // @grant GM_xmlhttpRequest // @license MIT // @run-at document-start // @grant GM_getResourceText // @grant GM_addStyle // @grant GM_setValue // @grant GM_getValue // @grant GM_xmlhttpRequest // @require http://code.jquery.com/jquery-3.6.0.min.js // @downloadURL none // ==/UserScript== /* globals jQuery, $, waitForKeyElements */ GM_addStyle ( ` #accordionExample > li:nth-child(8) > a:hover{ background:#1A1C2D !important; } body > center > div.sub-header-container2{ display:none !important; } body > center > div.header-container.fixed-top{ display:none !important; } body > center > div.sub-header-container{ top:0px !important; } #container{ position: relative !important; top: -70px !important; } #sidebar{ position: fixed !important; top:50px !important; } 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{ display:none !important; } #toolbaralerts > img,#toolbaralerts > a > img{ margin-right:5px !important; } #content > font,#content > div.footer-wrapper{ display:none !important; } body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li:nth-child(4){ display:none !important; } .fasttravel:hover .destinations{ display: block !important; } .destinations { display: none; position: absolute; background-color:#000000; max-width: 300px; ; z-index: 1; font-size: 12px; margin-top: 0px; text-align:left !important; padding-right:15px !important; } .destination-img { height:25px !important; width:25px !important; border:2px SOLID #1A1C2D !important; margin:5px !important; border-radius:5px !important; } #t-text{ height:40px !important; } body { color: #888ea8; height: 100%; font-size: .875rem; background: #131313!important; overflow-x: hidden; overflow-y: auto; letter-spacing: .0312rem; font-family: nunito,sans-serif; } #sidebar{ background:#0E1726 !important; height:100% !important; box-shadow: 0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2); } #divProfile > div.widget.mb-2,#dhtmltooltip{ background-image:url('https://studiomoxxi.com/ow_themes/custom_jobs/minimal_01/mm_patern.png') !important; } #sessidbox{ margin-left:12px !important; padding:6px !important; } #sessidbox::selection{ background:#888ea8 !important; color:#000000 !important; } body img[src*="gem_green1"] { content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/gem_green.webp") !important; width: 13px !important; } body img[src*="gem_blue2"] { content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/gem_blue.webp") !important; width: 13px !important; } body img[src*="gem_red2"] { content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/gem_red.webp") !important; width: 13px !important; } body img[src*="gem_white2"] { content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/gem_white.webp") !important; width: 13px !important; } #itemtable>tbody>tr:nth-child(2)>td:nth-child(2)>img:nth-child(8) { width: 18px !important; } #itemtable>tbody>tr:nth-child(2)>td:nth-child(2)>img:nth-child(9) { width: 18px !important; } #itemtable>tbody>tr:nth-child(2)>td:nth-child(2)>img:nth-child(10) { width: 18px !important; } #itemtable>tbody>tr:nth-child(2)>td:nth-child(2)>img:nth-child(11) { width: 18px !important; } #itemtable>tbody>tr:nth-child(2)>td:nth-child(2)>img:nth-child(12) { width: 18px !important; } div.footer-wrapper{ display:none !important; } .searchx::placeholder{ font-size:12px !important; } .goto{ background: #1B2E4B !important; border: 1px #1B2E4B SOLID !important; color: #FFFFFF !important; padding: 6px !important; border-radius: 6px !important; height:37px !important; margin-right:0.5rem !important; font-size:28px !important; } #content-header-row > div.col-xl-5.col-lg-12.col-md-6.col-sm-12.col-12.layout-spacing.px-1 > div:nth-child(2) > h5{ margin-bottom:0.5rem !important; } .mmplus { padding: 0.33rem; padding-left:1rem !important; padding-right:1rem !important; text-shadow: none; font-size: 14px; color: #3b3f5c; font-weight: 400; white-space: normal; word-wrap: break-word; touch-action: manipulation; cursor: pointer; background-color: #f1f2f3; box-shadow: 0 5px 20px 0 rgba(0,0,0,.1); will-change: opacity,transform; transition: all .3s ease-out; -webkit-transition: all .3s ease-out; margin-bottom:0.5rem !important; margin-top:0.5rem !important; } img.robot{ height:19px !important; width:19px !important; border:0px !important; background:transparent !important; margin-left:5px !important; } #sliderload{ display:none !important; } .table>tbody tr { border-radius: 4px; -webkit-transition: all .1s ease; transition: all .1s ease; border-bottom: 1px solid #131313 !important; background: 0 0!important; } .list-group-item { border: 1px solid #131313 !important; } .border-bottom-dashed { border-bottom: 1px SOLID #131313; } .table>thead { border-top: 1px solid #131313; border-bottom: 1px solid #131313; } #sidebar ul.menu-categories.ps { border-right: 0px solid #0e1726 !important; } .component-card_4 { border: 0px solid #1b2e4b !important; } .widget,.widget-content-area,.widget-chart-one { -webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75); -moz-box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75); box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75); } #dropdown { border: 2px #131313 SOLID !important; } .btn,.input-group,.input-group-prepend,.input-group-text,.btn-info,.btn-group,.dropdown-menu,.btn-primary,.btn-secondary{ box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); } .btn:hover,.input-group:hover,.input-group-prepend:hover,.input-group-text:hover,.btn-info:hover,.btn-group:hover,.dropdown-menu:hover,.btn-primary:hover,.btn-secondary:hover{ box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); } .ftslider,.form-control,.advinput,.atkn,.goto{ box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75) } * { scrollbar-width: auto; scrollbar-color: #050716 #0e1726; } *::-webkit-scrollbar { width: 10px; } *::-webkit-scrollbar-track { background: #0e1726; } *::-webkit-scrollbar-thumb { background-color: #050716; border-radius: 0px; border: 3px none #ffffff; } *::-webkit-scrollbar-thumb:hover { background-color: #ffffff; border-radius: 0px; border: 3px none #ffffff; } .robot_small { width:17px; height:17px; margin-left:0.5rem; } `) if (GM_getValue("fixhover") == true){GM_addStyle (`#dhtmltooltip{position:fixed !important;left:195px !important;background-color:#000000 !important;top:60px !important;}`)} if (GM_getValue("ftmenu") == false){GM_addStyle (`#accordionExample > li.menu.fasttravel{display:none !important;}`)} if (GM_getValue("wallpaper") != undefined && GM_getValue("bauth_r").match("Full") != null){ var xheight = window.screen.availHeight*1 var xwidth = window.screen.availWidth*1 var wallpaper = GM_getValue("wallpaper") GM_addStyle (`body{background-image: url("`+wallpaper+`") !important;background-size: `+xwidth+`px `+xheight+`px !important;background-attachment: fixed !important;background-position:center !important;background-repeat:no-repeat !important;}`)} if (GM_getValue("hex_menu") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_menu = GM_getValue("hex_menu").replace("#","") GM_addStyle (`#destination,#sidebar {background: #`+hex_menu+` !important;}`)} if (GM_getValue("hex_menutext") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_menutext = GM_getValue("hex_menutext").replace("#","") GM_addStyle (`#sidebar ul.menu-categories li.menu>.dropdown-toggle svg,#sidebar ul.menu-categories li.menu>.dropdown-toggle {color: #`+hex_menutext+` !important;}`)} if (GM_getValue("hex_link") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_link = GM_getValue("hex_link").replace("#","") GM_addStyle (`#content-header-row > div > table > tbody > tr > td > a > font,a {color: #`+hex_link+` !important;}`)} if (GM_getValue("hex_linkhover") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_linkhover = GM_getValue("hex_linkhover").replace("#","") GM_addStyle (`a:hover {color: #`+hex_linkhover+` !important;}`)} if (GM_getValue("hex_tool") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_tool = GM_getValue("hex_tool").replace("#","") GM_addStyle (`#dropdown,body > center > div.sub-header-container > header {background: #`+hex_tool+` !important;}`)} if (GM_getValue("hex_content") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_content = GM_getValue("hex_content").replace("#","") GM_addStyle (`#sidebar ul.menu-categories li.menu>.dropdown-toggle:hover,.alert-gradient,.component-card_4,.widget,.widget-content,.widget.box, .widget-header {background: #`+hex_content+` !important;}`)} if (GM_getValue("hex_table") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_table = GM_getValue("hex_table").replace("#","") GM_addStyle (`#content > div.layout-px-spacing,.wquesttable,.list-group-item,.nav-link.active,.skillsbox,.table {background-color: #`+hex_table+` !important;}`)} if (GM_getValue("hex_track") != undefined && GM_getValue("hex_slide") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_track = GM_getValue("hex_track").replace("#","") var hex_slide = GM_getValue("hex_slide").replace("#","") GM_addStyle (`* {scrollbar-color: #`+hex_slide+` #`+hex_track+`;} *::-webkit-scrollbar-track {background: #`+hex_track+`;} *::-webkit-scrollbar-thumb {background-color: #`+hex_slide+`;}`)} if (GM_getValue("hex_text") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_text = GM_getValue("hex_text").replace("#","") GM_addStyle (`.list-group.list-group-media,.list-group.list-group-media,.list-group-item,.media,.media-body,h6,h5,h4,h3,.list-group-item,.media,.media-body,p,.table>tbody>tr>td,body,.list-group-item,.bio,.widget,.widget-content-area {color: #`+hex_text+` !important;}`)} if (GM_getValue("hex_box") != undefined && GM_getValue("bauth_r").match("Full") != null){ var hex_box = GM_getValue("hex_box").replace("#","") GM_addStyle (`.ftslider,#sidebar ul.menu-categories li.menu>.dropdown-toggle[aria-expanded=true]:not([data-active=true]),.form-control,.advinput,.atkn,.goto {background: #`+hex_box+` !important;border:0px !important;}`)} if (document.URL.indexOf("home") != -1 && (document.URL.indexOf("crew_home") == -1)) { GM_addStyle (` img.boss,img.rga,img.god,img.mob,img.char,img.raid,img.glad{ width:126px !important; height:126px !important; margin: 15px !important; -moz-box-shadow: 5px 5px 5px #000000; -webkit-box-shadow: 5px 5px 5px #000000; box-shadow: 5px 5px 5px #000000; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; } #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 > h3{ display:none !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 > div > div.w-100 > div{ height:200px !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(2) > div > div:nth-child(1) > div > div.w-100 > div{ height:300px !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(2) > div > div:nth-child(2) > div > div.w-100 > div{ height:945px !important; } td.rankings{ vertical-align:top !important; padding:5px !important; } #charele, #charpower, #charchaos{ height:345px !important; width:254px !important; overflow-y:auto !important; font-size:10px !important; } #charele > li,#charpower > li,#charchaos > li{ padding:0px !important; } #expchart{ height:485px !important; overflow-y:auto !important; font-size:10px !important; } #divSBPost{ display:none !important; } .ranking_div{ border:1px SOLID #888ea8; padding:3px !important; } img.loading{ text-align:center !important; } div.tiles{ text-align: left !important; min-height:225px !important; } div.rankings{ text-align: left !important; height:440px !important; } img.loader{ width:80px; height:80px; } #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 > div > div > div{ background:transparent !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 > div > div > div > div.w-100 > div{ border:1px SOLID #888ea8 !important; -moz-box-shadow: 5px 5px 5px #000000; -webkit-box-shadow: 5px 5px 5px #000000; box-shadow: 5px 5px 5px #000000; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; } #content > div.layout-px-spacing{ background:transparent !important; box-shadow: 0px 0px 0px #000000,-0px -0px 0px #000000 !important; } #charele,#charpower,#charchaos,#content-header-row > div.col-lg-4.col-md-4.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget.widget-table-one > div.widget-content.text-left > form { border: 1px SOLID #888ea8 !important; -moz-box-shadow: 5px 5px 5px #000000; -webkit-box-shadow: 5px 5px 5px #000000; box-shadow: 5px 5px 5px #000000; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } `)} if (document.URL.indexOf("profile") != -1 && document.URL.indexOf("crew_profile") == -1) { GM_addStyle (` .layout-spacing{min-width:0px !important;} #divHeaderName > font{text-transform: uppercase;font-size: 1.5em;font-weight: bold;margin-bottom: 1rem;} #plinks{text-align:center;padding:0.2em} #content > div > div:nth-child(1) > div:nth-child(4){text-align:left;} #content > div > div:nth-child(1){max-width:350px !important;} #content > div > div:nth-child(2){max-width:900px !important;} .widget{padding:10px !important;} #divSkillsCast > img{margin:3px;margin-bottom:20px;width:50px !important;height:50px !important;box-shadow: 0px 0px 3px 3px rgba(000,000,000,0.25);outline: 1px SOLID #303536 !important;outline-offset: -1px !important;} #UnderlingTable > thead > tr > th{padding:10px;margin:5px;margin-top:10px} #UnderlingTable > tbody > tr > td{padding:10px;margin:5px} #content > div > div:nth-child(2) > div:nth-child(5) > div > a > img,#content > div > div:nth-child(2) > div:nth-child(4) > div > a > img{width:150px !important;height:80px !important;} #content > div > div:nth-child(2) > div:nth-child(5) > div > h5,#content > div > div:nth-child(2) > div:nth-child(4) > div > h5{margin-bottom:1rem !important;} #pbuttons{margin-top:1rem !important;} .bg-secondary, .bg-success, .bg-primary, .bg-danger, .bg-warning{background-color: #E7515A !important;border-color: #E7515A ;color: #fff;} #content > div > div:nth-child(2) > div:nth-child(4) > div > a > img{border:1px SOLID #2C2F30 !important;border-radius:10px !important;} #content > div > div:nth-child(2) > div:nth-child(5) > div > a > img{border:1px SOLID #2C2F30 !important;border-radius:10px !important;} `)} 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;} .centered {position: absolute !important;top: 50% !important;left: 50% !important;transform: translate(-50%, -50%) !important;background:#000000 !important;padding: 15px !important;border-radius:15px !important;} .godstatus > tbody > tr > td > div {font-size: 14px !important;} .godbox {position: relative !important;text-align: center !important;color: white !important;} #content > div.layout-px-spacing{background:transparent !important;box-shadow: 0px 0px 0px #000000,-0px -0px 0px #000000 !important;} #content-header-row > h2 > table > tbody > tr > td > div > img{-webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75) !important;-moz-box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75) !important;box-shadow: 0 6px 10px 0 rgba(0,0,0,.75),0 1px 18px 0 rgba(0,0,0,.75),0 3px 5px -1px rgba(0,0,0,.75) !important;} `)} if (document.URL.indexOf("plrattack") != -1 && window.self !== window.top) { GM_addStyle (` #health{position:fixed !important;top:0px !important;left:0px !important;background:#0E1726 !important;border:1px SOLID !important;padding:10px !important;width:100% !important;-webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2);-moz-box-shadow: 0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2);box-shadow: 0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2);} #sidebar{display:none !important;} body > center > div.sub-header-container{display:none !important;} #content-header-row > center > table{display:none !important;} #result_notice_window{display:none !important;} #battle_result{background:none !important;} body{background:#0E1726 !important;padding:50px !important;} body img[src*="goldcoin"]{display:none !important;} #content {margin-top: 90px !important;transition: 0s !important;} #auth_response{display:none !important;} `)} document.addEventListener ("DOMContentLoaded", DOM_ContentReady); function DOM_ContentReady () { function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);} var char1 = ''; if (document.querySelector("#charselectdropdown > optgroup:nth-child(1) > option:nth-child(25)") != null) {char1 = document.querySelector("#charselectdropdown > optgroup:nth-child(1) > option:nth-child(25)").innerHTML} var charid = document.querySelector("body").innerHTML.match(/