// ==UserScript== // @name MoxxiMod 7 (unreleased version) // @namespace https://studiomoxxi.com/ // @description one click at a time // @author Ben // @match *.outwar.com/* // @version 7.17 // @grant GM_xmlhttpRequest // @license MIT // @run-at document-start // @grant GM_getResourceText // @grant GM_addStyle // @grant GM_setValue // @grant GM_getValue // @grant GM_xmlhttpRequest // @grant GM_addValueChangeListener // @require http://code.jquery.com/jquery-3.6.0.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js // @require https://greasyfork.org/scripts/460904-canvas2image/code/Canvas2Image.js?version=1155383 // @downloadURL none // ==/UserScript== /* globals jQuery, $, waitForKeyElements */ /* globals Canvas2Image, Canvas2Image, waitForKeyElements2 */ /* globals html2canvas, html2canvas, waitForKeyElements3 */ const version = "7.17" const changelog = `` GM_addStyle (` #sidebar ul.menu-categories.ps {padding-right: 10px !important;} body img[src*="items/skillitem.jpg"] {content: url("https://studiomoxxi.com/moxximod/aneuro.webp") !important;} body img[src*="getpoints.webp"] {display:none !important;} .table {margin-bottom: 0rem !important;} .backpackSlot {background-image: url("https://studiomoxxi.com/moxximod/tile.png") !important;width: 60px;height: 60px;margin: 0px;position: relative;} #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;display:none !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:16px !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);} .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;} .mmplus_ids {background: #1B2E4B !important;border: 1px #1B2E4B SOLID !important;color: #FFFFFF !important;padding: 6px !important;border-radius: 6px !important;margin-right: 0.5rem !important;font-size: 12px !important;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);} `) moxximodTheme(); function moxximodTheme(){ 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 > center{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 (` #rga_dropdown > option,#dropdown,.select2-dropdown,body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li:nth-child(1) > div > span > span.selection > span,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 (` .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_slide = GM_getValue("hex_slide").replace("#","") var hex_track = GM_getValue("hex_track").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 && document.URL.indexOf("closedpvp") == -1){ 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 (GM_getValue("hide_atk_icon") == true){ GM_addStyle (` body img[src*="images/toolbar/Attacked"] { display:none !important;margin-left:25px !important; } `) } if (GM_getValue("playerindicator") != undefined){ GM_addStyle (` body img[src*="images/maptile/YAH"] { content: url("`+GM_getValue("playerindicator")+`") !important; } `) } if (GM_getValue("hex_buttons") != undefined){ var hex_buttons = GM_getValue("hex_buttons").replace("#","") GM_addStyle (` .btn-primary,.btn-secondary,.btn-danger,.btn-success,.btn-info,.btn { background-color: #`+hex_buttons+` !important; border-color: #`+hex_buttons+` !important; } `) } } document.addEventListener ("DOMContentLoaded", DOM_ContentReady); var timeTrigger = true setTimeout(function(){ if (timeTrigger == true){ DOM_ContentReady() } },500) function DOM_ContentReady () { timeTrigger = false; moxximodTheme(); GM_addStyle (` body {color: #888ea8;height: 100%;font-size: .875rem;background: #131313;overflow-x: hidden;overflow-y: auto;letter-spacing: .0312rem;font-family: nunito,sans-serif;} #sidebar{display:revert !important;} `) function insertAfter(newNode, existingNode) { existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);} const allgods = ["Ag Nabak the Abomination", "Agnar, Astral Betrayer", "Akkel the Enflamed Warrior", "Amalgamated Apparition", "Ancient Magus Tarkin", "Anguish", "Animated Captain", "Anvilfist", "Archdevil Yirkon", "Arcon, the Arcane Deity", "Balerion, Dragon of Dread", "Banok, Demon of Insanity", "Baron Mu, Dark Rider of the Undead", "Beast of Cards", "Bloodchill the Grizzly", "Bolkor, the Holy Master", "Brutalitar, Lord of the Underworld", "Crane", "Crantos, Defender of Ultimation", "Crolvak, the Fire Master", "Detox", "Dexor, Victor of Veldara", "Dlanod, the Crazed Chancellor", "Dreg nor, Keeper of the Infernal Essence", "Ebliss, Fallen Angel of Despair", "Emperor Neudeus, Controller of the Universe", "Envar, Demon of Lunacy", "Esquin, the Kinetic Master", "Felroc, Overseer of Hellfire", "Firan, the Fire Deity", "Freezebreed, The Frozen Manipulator", "Ganja the Stone Golem", "Garland, The Lord Keeper", "Gnorb", "Gorganus of the Wood", "Great Lord Ganeshan", "Gregov, Knight of the Woods", "Grivvek, Protector of the Brood", "Hackerphage, Protector of the Gateway", "Holgor, the Holy Deity", "Howldroid, Tormentor of the Pit", "Hyrak, Bringer of Nightmares", "Jade Dragonite", "Jazzmin, Maiden of Vitality", "Jorun the Blazing Swordsman", "Karvaz, Lord of Alsayic", "Keeper of Nature", "Kinark, the Kinetic Deity", "King Ashnar, Lord of the Unliving", "Kretok, Descendant of Nature", "Kro Shuk, Doomslayer", "Lacuste of the Swarm", "Lady Ariella", "Lady Chaos, Queen of the Abyss", "Lord Narada", "Lord Sibannac", "Lord Suka", "Lord Varan", "Lord Xordam", "Melt Bane, The Forbidden Demon Dragon", "Mistress of the Sword", "Murderface", "Murfax, Beast of the Caves", "Nafir, God of Desolation", "Nar Zhul, Slayer of All", "Nayark the Mummified Sorcerer", "Nessam", "Noxious Slug", "Numerocure, The Black Messenger of Evil", "Old World Drake", "Ormsul the Putrid", "Pinosis", "Q-SEC Commander", "Quiver, The Renegade", "Raiyar, the Shadow Master", "Rancid, Lord of Thugs", "Rezun, Demon of Madness", "Rillax, Twin of Wisdom", "Rotborn, Eater of the Dead", "Samatha Dark-Soul", "Sarcrina the Astral Priestess", "Shadow", "Shayar, the Shadow Deity", "Sigil, Lich of Woe", "Skarthul the Avenged", "Skybrine The Inescapable", "Slashbrood, Devourer of the Blackness", "Smoot the Yeti", "Straya, the Underworld Ruler", "Sylvanna TorLai", "Synge, The Red Dragon", "Terrance, Rebel of Rallis", "Thanox, Balancer of Chaos", "The Emerald Assassin", "Threk, King of Lords", "Traxodon the Plaguebringer", "Tsort", "Tylos, The Lord Master", "Valzek, Harbinger of Death", "Varsanor, Master of Darkness", "Villax, Twin of Strength", "Viserion, the Necrodragon", "Vitkros, Hydra of the Deep", "Volgan the Living Ironbark", "Wanhiroeaz the Devourer", "Windstrike The Vile", "Xynak, the Arcane Master", "Zertan, The Collector", "Zikkir the Dark Archer"] var charname = document.querySelector("head").innerHTML.match(/uname=(.*?)'/i)[1] var charid = document.querySelector("body").innerHTML.match(/