微软文字转语音-精简

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

Ekde 2023/03/22. Vidu La ĝisdata versio.

  1. // ==UserScript==
  2. // @name 微软文字转语音-精简
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.2
  5. // @license GPL-3.0
  6. // @description 微软文字转语音-精简页面
  7. // @author AiniyoMua
  8. // @home-url https://greasyfork.org/zh-CN/scripts/460437
  9. // @homepageURL https://greasyfork.org/zh-CN/scripts/460437
  10. // @supportURL https://greasyfork.org/zh-CN/scripts/460437/feedback
  11. // @match *://speech.microsoft.com/audiocontentcreation
  12. // @match *://speech.microsoft.com/audiocontentcreation/*
  13. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABxSURBVDhPY/gcZ/IfH/5779r/rgNi/zsPiOLEDJ8ClP7jwzBD6ncx4MSjhmDiQWTIr53L/uPDIEPOPJ7x/zQQw2h0zOC+98t/BP6Mgc+/+/P//xl3vJiBYcn7//gw2JD9Yv//72TAiUcNwcSDxRCG/wDK+/bzz3LmwwAAAABJRU5ErkJggg==
  14. // @grant GM_addStyle
  15. // @run-at document-start
  16. // ==/UserScript==
  17. // ██ 注意 注意 ██:在本脚本 设置>通用>运行时期 里选择 document-start 以获得无感知脚本加载体验
  18. // ██ 注意 注意 ██:在本脚本 设置>通用>运行时期 里选择 document-start 以获得无感知脚本加载体验
  19. (function() {
  20. //新版工具页面:speech.microsoft.com/audiocontentcreation
  21. //旧版工具页面:azure.microsoft.com/zh-cn/products/cognitive-services/text-to-speech/
  22.  
  23. // 屏蔽页面推广
  24. // 屏蔽页面推广
  25. // 屏蔽页面推广
  26. // 屏蔽页面推广
  27. // 屏蔽页面推广
  28. // 屏蔽页面推广
  29. // 调整工具padd
  30. // 调整顶栏高度
  31. // 调整顶栏高度
  32. // 调整顶栏高度
  33. // 调整顶栏高度
  34. // 调整顶栏高度
  35. const css = `
  36. .acc.landing > div:nth-child(1) > div:nth-child(2){display: none !important;}
  37. .acc.landing > div:nth-child(1) > div:nth-child(3){display: none !important;}
  38. .acc.landing > div:nth-child(1) > div:nth-child(7){display: none !important;}
  39. .acc.landing > div:nth-child(1) > div:nth-child(8) > div{display: none !important;}
  40. .acc.landing > div:nth-child(1) > div:nth-child(10){max-height: 2rem !important;}
  41. .acc.landing > div:nth-child(1) > section{display: none !important;}
  42. span.acc-tuning-wrapper > div:nth-child(1) {padding-top: 20px !important;padding-bottom: 0px !important;}
  43. div.float-left > span {line-height: 2rem !important;}
  44. div.float-right > span {line-height: 2rem !important;}
  45. div.top-navbar-container {height: 2rem !important;}
  46. div.float-right > span:nth-child(9) > button{height: 2rem !important;}
  47. div.float-right > span:nth-child(11) > a > i {height: 2rem !important;}
  48. `
  49. GM_addStyle(css);
  50. })();