钉钉直播重定向

解决钉钉直播打不开的问题

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         钉钉直播重定向
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  解决钉钉直播打不开的问题
// @author       share121
// @match        https://h5.dingtalk.com/group-live-share/index.htm?*
// @icon         https://g.alicdn.com/dingding/web/0.2.6/img/oldIcon.ico
// @grant        none
// @license      MIT
// @run-at       document-start
// ==/UserScript==
/https?:\/\/h5.dingtalk.com\/group-live-share\/index.htm\?(?=.*(liveUuid=|uuid=))(?!.*type=2).*/g.test(location.href)&&(location.href=location.href.replace(/.*(liveUuid=[a-zA-Z0-9-]+|uuid=[a-zA-Z0-9-]+).*/g,"https://h5.dingtalk.com/group-live-share/index.htm?type=2&$1#/union"))