答案1
我能够使用以下 Greasemonkey 脚本自动打开桌面客户端:
// ==UserScript==
// @name Auto-redirect to Skype for Business desktop client
// @version 1
// @grant none
// @include https://lync.co.<your-domain-here>/*
// ==/UserScript==
window.onload = function() {
var matches = window.location.href.match(/^https:\/\/[^/]*\/meet\/([^/]*)\/([^/?]*)/);
if (matches) {
var emailDomain = "@<your-domain-here>"
var target = "conf:sip:" + matches[1] + emailDomain + ";gruu;opaque=app:conf:focus:id:" + matches[2] + "%3Frequired-media=audio"
console.log("Redirecting to " + target)
window.location = target
}
}
conf:
它从客户端选择 URL计算URI 并打开它。
请注意,两次出现的<your-domain-here>
需要用适当的公司域名替换。