您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Verify Waze landmarks linked to Google POI
当前为
// ==UserScript== // @name WME Google POI verifier // @version 0.4.1b // @description Verify Waze landmarks linked to Google POI // @author Kebb01 // @include https://www.waze.com/editor/* // @include https://www.waze.com/*/editor/* // @include https://editor-beta.waze.com/* // @namespace http://www.dammerung.cz/_waze/skript // @grant none // ==/UserScript== var input=document.createElement("input"); input.type="button"; input.value="Find Google place"; input.onclick = runGPOI; input.setAttribute("style", "font-size:12px;position:absolute;bottom:70px;left:350px;"); document.body.appendChild(input); function runGPOI() { var gpoiCount = document.getElementsByClassName("select2-chosen"); gpoiCount = gpoiCount.length; console.log("GPOI: Count of linked Google POIs: " + gpoiCount); if (gpoiCount < 1) {console.log("GPOI: place is not selected or has no linked Google POI"); alert("GPOI: place is not selected or has no linked Google POI"); } else { var gpoi = document.getElementsByClassName('select2-chosen')[0].innerHTML; console.log("GPOI: used"); console.log("GPOI: " + gpoi + ", " + gpoiCount); // alert (gpoi + ", " + gpoiCount); var url = "https://www.google.com/maps/place/"+gpoi; window.open(url,"_blank"); } }