您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
When prema is present to offer his version for beta + classic editor and add the profile editor waze
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/416769/873016/WF%20ToolBox%20Lib%20Alpha.js
// ==UserScript== // @name WF ToolBox Lib Alpha // @namespace WFTB_ns // @version 0.0.1.3 // @description:en When prema is present to offer his version for beta + classic editor and add the profile editor waze // @description:fr Quand un perma est présent proposer sa version pour l'éditeur beta + classique et ajout du editor profile waze // @author exolium // @copyright 2015-2020 exolium // @licence GNU GPL v2 // @grant GM_xmlhttpRequest // @description When prema is present to offer his version for beta + classic editor and add the profile editor waze // ==/UserScript== //============================== Options ================================// var WFTB_lang_en = 0; var WFTB_lang_fr = 1; var WFTB_label_setting_manager = ['Settings Manager', 'Gestionnaire de Paramètres']; var WFTB_label_close = ['Close', 'Fermer'];var WFTB_Log_level = 5; // 0 = no log / 1 = error / 2 = warn / 3 = min log / 4 = Medium Log / 5 = high detail Log var WFTB_targetblank = true; var WFTB_use_layer = true; var WFTB_button_beta = 'Beta'; var WFTB_button_prod = 'Prod'; var WFTB_button_editorprofil = 'Editor Profil A'; var WFTB_lang = WFTB_lang_fr; //============================== Var ====================================// var WFTB_beta_editor_verify = false; var WFTB_beta_editor = false; var WFTB_profil = Array(); var WFTB_Settings = {}; //============================== URL ====================================// var WFTB_URL_protocol = window.location.protocol + '//'; var WFTB_URL_Base = window.location.hostname; var WFTB_URL_usergroups = WFTB_URL_protocol + WFTB_URL_Base + '/forum/ucp.php?i=167'; var WFTB_URL_UserProfil_URI = '/user/editor/'; //============================== Recherche ==============================// var WFTB_search_base_url = '//a[contains(@href,\'editor-beta.waze.com\') or (@href,\'beta.waze.com\') or contains(@href,\'www.waze.com\')][contains(@href,\'editor\')]'; var WFTB_search_perma_layer = 'layers=w+'; var WFTB_search_usergroups_memberships = '//*[@id="ucp"]/div[1]/div/ul[2]'; var WFTB_search_usergroups_memberships_groups = ['//*[@id="ucp"]/div[1]/div/ul[2]/li','//*[@id="ucp"]/div[1]/div/ul[4]/li']; var WFTB_search_usergroups_name = ''; var WFTB_search_usergroups_if_leadersheep = '//*[@id="ucp"]/div[1]/div/ul[1]/li/dl/dt'; var WFTB_search_Lang_Selector = '/html/body/div[3]/div[1]/div[6]/div'; var WFTB_search_linklist = '//*[@id="wrap"]/div[2]/div/ul[2]/li[2]';