Greasy Fork is available in English.
用户分析页面自定义功能:拨号、企业微信加好友
// ==UserScript==
// @name 用户分析页面自定义功能
// @namespace 用户分析页面自定义功能:拨号、加微信
// @version 0.4
// @description 用户分析页面自定义功能:拨号、企业微信加好友
// @author 任亚军
// @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");
var a2 = document.createElement("a");
pos.appendChild(a1);
pos.appendChild(a2);
a1.href = "Web2Python://intelunison/"+telnumber;
a1.innerText = " 拨号";
a1.target="_blank";
a2.href = "Web2Python://qwaddfri/"+telnumber;
a2.innerText = " 加微信";
a2.target="_blank";
})
})();