用户分析页面增加拨号功能

用户分析页面增加拨号功能。。。

当前为 2023-01-17 提交的版本,查看 最新版本

// ==UserScript==
// @name         用户分析页面增加拨号功能
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  用户分析页面增加拨号功能。。。
// @author       You
// @match        https://www.wjx.cn/customerservices/userdatasearch.aspx
// @icon         https://icons.duckduckgo.com/ip2/wjx.cn.ico
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    document.querySelectorAll("#divTable .wjx_alink.mobile").forEach(function(item){
    var telnumber = item.innerText
            var pos = item.parentNode;
            var a1 = document.createElement("a");
            pos.appendChild(a1);
            a1.href = "wjxpyauto://intelunison/"+telnumber;
            a1.innerText = " 拨号";
            a1.target="_blank";
})
})();