您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto Translate using DeepL or LibreTranslate API for Waze Map Editor (WME)
当前为
// ==UserScript== // @name Waze Translate // @namespace https://greasyfork.org/de/users/863740-horst-wittlich // @version 0.02 // @description Auto Translate using DeepL or LibreTranslate API for Waze Map Editor (WME) // @author SaiCode // @include /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/ // @icon https://www.google.com/s2/favicons?sz=64&domain=waze.com // @require https://greasyfork.org/scripts/24851-wazewrap/code/WazeWrap.js // @grant GM_webRequest // @grant GM_info // @grant GM_addStyle // @license MIT // ==/UserScript== /*global I18n, $*/ (() => { /** * Load the translation library */ function loadTranslateLib() { var version = OpenLayers.VERSION_NUMBER.replace(/Release /, ""); console.info("Loading openlayers/" + version + "/" + filename + ".js"); var translate = document.createElement("script"); translate.src = "https://cdn.jsdelivr.net/npm/translate/index.min.js"; translate.type = "module"; translate.onload = () => { console.info("Translation library loaded."); }; document.head.appendChild(translate); } loadTranslateLib(); })(); GM_addStyle(` `);