微软文字转语音-精简页面
当前为
// ==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);
})();