您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Gaia ToolBox for Waze Editors. Some funcionalities to make waze map editing a little bit easier.
当前为
// ==UserScript== // @name GTB4WE // @name:es Herramientas pa Gaia // @version 0.1.5 // @description Gaia ToolBox for Waze Editors. Some funcionalities to make waze map editing a little bit easier. // @description:es Gaia ToolBox for Waze Editors. Algunas funcionalidades pa hacer la edición del mapa mas sencilla. // @author abdielisai // @include http://gaia.inegi.org.mx/mdm6/* // @grant none // @license GPLv3 // @namespace https://gf.qytechs.cn/users/118132 // ==/UserScript== (function() { function bootstrap(tries) { tries = tries || 1; if ($ && $("#mdm6DinamicPanel")[0]) { init(); } else if (tries < 1000) { setTimeout(function() { bootstrap(tries++); }, 200); } else { console.log("Gaia ToolBox for Waze Editors (GTB4WE) couldn't start."); } } bootstrap(); function init() { initStreetNameObserver(); console.log("Gaia ToolBox for Waze Editors (GTB4WE) " + GM_info.script.version + " is running."); } function initStreetNameObserver() { var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if ($(mutation.target).hasClass("dinamicPanel-detail")) { selectStreetName(); } }); }); observer.observe($("#mdm6DinamicPanel")[0], { childList: true, subtree: true }); } function selectStreetName() { var elements = $(".dinamicPanel-detailMainLabel"); if (elements.length === 0 || elements[0].childNodes.length === 0) return; var sel = window.getSelection(); if (!sel.isCollapsed) return; var range = document.createRange(); elements[0].childNodes.forEach(function(child) { if (child.nodeName == "#text") { range.selectNodeContents(child); return; } else if (child.nodeName == "TABLE") { range.selectNodeContents(child.childNodes[0].childNodes[0].childNodes[1]); return; } }); sel.removeAllRanges(); sel.addRange(range); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址