Deepl Interface cleanup

Remove ads and custumers quote.

  1. // ==UserScript==
  2. // @name Deepl Interface cleanup
  3. // @namespace Violentmonkey Scripts
  4. // @match https://www.deepl.com/translator
  5. // @grant none
  6. // @version 0.4.1
  7. // @author Geekatori
  8. // @license GNU GPLv3
  9. // @description Remove ads and custumers quote.
  10. // ==/UserScript==
  11. /*jshint esversion: 6 */
  12.  
  13. (function() {
  14. var css = `
  15. #lmt_pro_ad_container,
  16. #dl_quotes_container,
  17. #iosAppAdPortal,
  18. #headlessui-portal-root,
  19. .showSeoText .eSEOtericText {
  20. display: none;
  21. }
  22. .dl_translator_page_container {
  23. min-height: 1px;
  24. }
  25. `;
  26.  
  27. if (typeof GM_addStyle != 'undefined') {
  28. GM_addStyle(css);
  29. } else if (typeof PRO_addStyle != 'undefined') {
  30. PRO_addStyle(css);
  31. } else if (typeof addStyle != 'undefined') {
  32. addStyle(css);
  33. } else {
  34. var node = document.createElement('style');
  35. node.type = 'text/css';
  36. node.appendChild(document.createTextNode(css));
  37. document.documentElement.appendChild(node);
  38. }
  39. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址