微软文字转语音-精简

微软文字转语音-精简页面

目前為 2023-02-21 提交的版本,檢視 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         微软文字转语音-精简
// @namespace    http://tampermonkey.net/
// @version      1.0
// @license      MIT
// @description  微软文字转语音-精简页面
// @author       AiniyoMua
// @match        *://azure.microsoft.com/zh-cn/products/cognitive-services/text-to-speech/*
// @match        *://azure.microsoft.com/zh-cn/products/cognitive-services/text-to-speech/
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABxSURBVDhPY/gcZ/IfH/5779r/rgNi/zsPiOLEDJ8ClP7jwzBD6ncx4MSjhmDiQWTIr53L/uPDIEPOPJ7x/zQQw2h0zOC+98t/BP6Mgc+/+/P//xl3vJiBYcn7//gw2JD9Yv//72TAiUcNwcSDxRCG/wDK+/bzz3LmwwAAAABJRU5ErkJggg==
// @grant        GM_addStyle
// ==/UserScript==

(function() {
const css = `
#main > div:nth-child(1){display: none !important;}
#main > div:nth-child(2){display: none !important;}
#main > section:nth-child(1){display: none !important;}
#main > section:nth-child(13){display: none !important;}
#main > section:nth-child(16){display: none !important;}
#main > section:nth-child(10){display: none !important;}
#main > section:nth-child(9){display: none !important;}
#main > section:nth-child(7) > div:nth-child(1){display: none !important;}
#main > section:nth-child(7) > div:nth-child(2) > div:nth-child(1){display: none !important;}
div.section{display: none !important;}
#overview{display: none !important;}
#security{display: none !important;}
#pricing{display: none !important;}
#customer-stories{display: none !important;}
#documentation{display: none !important;}

#main > section:nth-child(7) {padding: 0px 0 !important;}
#main > section:nth-child(7) > div:nth-child(2) > div:nth-child(2){margin-top: 0px !important;padding-top:0px !important;}
#main > section:nth-child(7) > div:nth-child(2) {margin-top: 0px !important;}
`
GM_addStyle(css);


})();