WMESTSdatas

Settings for the WMESendToSlack script

当前为 2019-11-14 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/392436/749618/WMESTSdatas.js

// ==UserScript==
// @name         WMESTSdatas
// @namespace    https://gf.qytechs.cn/fr/users/195607-tunisiano187
// @version      2019.11.14.01
// @description  Settings for the WMESendToSlack script
// @author       Tunisiano18
// @include      https://beta.waze.com/*editor*
// @include      https://www.waze.com/*editor*
// @exclude      https://www.waze.com/*user/editor/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    const MIN_VERSION = '2019.11.13.01';
    const WMSTSSettings_URL = 'https://cdn.statically.io/gl/WMEScripts/wme-send-to-slack-public/master/WMESTSData.user.js?env=dev';

    async function init(){
        const sandboxed = typeof unsafeWindow !== 'undefined';
        const pageWindow = sandboxed ? unsafeWindow : window;
        await $.getScript(WMSTSSettings_URL);
    }
    
    function bootstrap(tries = 1) {
        if (typeof $ != 'undefined')
            init();
        else if (tries < 1000)
            setTimeout(function () { bootstrap(tries++); }, 100);
        else
            console.log('WMSTSSettings failed to load');
    }
    
    bootstrap();
    
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址