微软文字转语音-精简

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

目前為 2023-03-22 提交的版本,檢視 最新版本

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         微软文字转语音-精简
// @namespace    http://tampermonkey.net/
// @version      1.2
// @license      GPL-3.0
// @description  微软文字转语音-精简页面
// @author       AiniyoMua
// @home-url     https://greasyfork.org/zh-CN/scripts/460437
// @homepageURL  https://greasyfork.org/zh-CN/scripts/460437
// @supportURL   https://greasyfork.org/zh-CN/scripts/460437/feedback
// @match        *://speech.microsoft.com/audiocontentcreation
// @match        *://speech.microsoft.com/audiocontentcreation/*
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABxSURBVDhPY/gcZ/IfH/5779r/rgNi/zsPiOLEDJ8ClP7jwzBD6ncx4MSjhmDiQWTIr53L/uPDIEPOPJ7x/zQQw2h0zOC+98t/BP6Mgc+/+/P//xl3vJiBYcn7//gw2JD9Yv//72TAiUcNwcSDxRCG/wDK+/bzz3LmwwAAAABJRU5ErkJggg==
// @grant        GM_addStyle
// @run-at       document-start
// ==/UserScript==
// ██ 注意 注意 ██:在本脚本 设置>通用>运行时期 里选择 document-start 以获得无感知脚本加载体验
// ██ 注意 注意 ██:在本脚本 设置>通用>运行时期 里选择 document-start 以获得无感知脚本加载体验
(function() {
//新版工具页面:speech.microsoft.com/audiocontentcreation
//旧版工具页面:azure.microsoft.com/zh-cn/products/cognitive-services/text-to-speech/

// 屏蔽页面推广
// 屏蔽页面推广
// 屏蔽页面推广
// 屏蔽页面推广
// 屏蔽页面推广
// 屏蔽页面推广
// 调整工具padd
// 调整顶栏高度
// 调整顶栏高度
// 调整顶栏高度
// 调整顶栏高度
// 调整顶栏高度
const css = `
.acc.landing > div:nth-child(1) > div:nth-child(2){display: none !important;}
.acc.landing > div:nth-child(1) > div:nth-child(3){display: none !important;}
.acc.landing > div:nth-child(1) > div:nth-child(7){display: none !important;}
.acc.landing > div:nth-child(1) > div:nth-child(8) > div{display: none !important;}
.acc.landing > div:nth-child(1) > div:nth-child(10){max-height: 2rem !important;}
.acc.landing > div:nth-child(1) > section{display: none !important;}
span.acc-tuning-wrapper > div:nth-child(1) {padding-top: 20px !important;}
div.float-left > span {line-height: 2rem !important;}
div.float-right > span {line-height: 2rem !important;}
div.top-navbar-container {height: 2rem !important;}
div.float-right > span:nth-child(9) > button{height: 2rem !important;}
div.float-right > span:nth-child(11) > a > i {height: 2rem !important;}
`
GM_addStyle(css);
})();