您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Always open the cell mapview on DFProfiler without having it to be a boss cell
当前为
// ==UserScript== // @name DFProfiler Always Open Cell Map // @namespace http://tampermonkey.net/ // @version 0.2 // @description Always open the cell mapview on DFProfiler without having it to be a boss cell // @author Runonstof // @match https://s2.dfprofiler.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=dfprofiler.com // @grant unsafeWindow // @license MIT // ==/UserScript== function runon_openMap() { function e(t, e) { $("#mission-info").html("<img src='https://deadfrontier.info/map/Fairview_" + t + "x" + e + ".png' alt='MAP FAILED TO LOAD' />"), $("#mission-holder").show() } window.addEventListener('click', function(event) { console.log(event.target); if(event.target.classList.contains('coord')) { if (event.target.classList.contains('boss-cycle')) { return; } event.preventDefault(); const x = event.target.classList[1].replace('x', ''); const y = event.target.classList[2].replace('y', ''); e(x, y); } }); } (function() { 'use strict'; function ready(fn) { if (document.readyState !== 'loading') { fn(); } else { document.addEventListener('DOMContentLoaded', fn); } } function withPage(NAMED_FunctionToRun) { //--- Use named functions for clarity and debugging... var funcText = NAMED_FunctionToRun.toString (); var funcName = funcText.replace (/^function\s+(\w+)\s*\((.|\n|\r)+$/, "$1"); var script = document.createElement ("script"); script.textContent = funcText + "\n\n"; script.textContent += 'jQuery(document).ready(function() {'+funcName+'(jQuery);});'; document.body.appendChild (script); } withPage(runon_openMap); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址