您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enables View HN and View Restrictions buttons for locked or out of area segments
// ==UserScript== // @name WME Show locked HN + Restriction // @description Enables View HN and View Restrictions buttons for locked or out of area segments // @version 1.1 // @author whathappened15 // @include https://www.waze.com/*/editor* // @include https://www.waze.com/editor* // @include https://beta.waze.com/* // @exclude https://www.waze.com/*user/*editor/* // @namespace https://gf.qytechs.cn/en/scripts/24955-wme-show-locked-hn-restriction // @grant none // ==/UserScript== function ShowLockedHM_bootstrap() { Waze.selectionManager.events.register("selectionchanged", null, unlockHNbtn); Waze.selectionManager.events.register("selectionchanged", null, unlockResbtn); } function unlockHNbtn() { if(Waze.selectionManager.selectedItems.length == 1 && Waze.selectionManager.selectedItems[0].model.type === 'segment' && document.getElementsByClassName('edit-house-numbers')[0] !== undefined) { document.getElementsByClassName('edit-house-numbers')[0].disabled = false; } } function unlockResbtn() { if(Waze.selectionManager.selectedItems.length == 1 && Waze.selectionManager.selectedItems[0].model.type === 'segment' && document.getElementsByClassName('edit-restrictions')[0] !== undefined) { document.getElementsByClassName('edit-restrictions')[0].disabled = false; } } ShowLockedHM_bootstrap();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址