DeepL Minimal UI

Removes design elements to make the site run as fast as possible.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         DeepL Minimal UI
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Removes design elements to make the site run as fast as possible.
// @author       you
// @match        https://www.deepl.com/*
// @grant        none
// @run-at       document-start
// @license MIT
// ==/UserScript==

(function () {
  'use strict';

  const style = document.createElement('style');
  style.textContent = `

    *,
    *::before,
    *::after {
      animation-duration:        0.001ms !important;
      animation-delay:           0.001ms !important;
      transition-duration:       0.001ms !important;
      transition-delay:          0.001ms !important;
      backdrop-filter:           none !important;
      -webkit-backdrop-filter:   none !important;
      box-shadow:                none !important;
      text-shadow:               none !important;
      filter:                    none !important;
      -webkit-font-smoothing:    auto !important;
    }

    *,
    *::before,
    *::after {
      border-radius: 0 !important;
    }

    [class*="wave"],
    [class*="Wave"],
    [class*="blob"],
    [class*="Blob"],
    [class*="hero-bg"],
    [class*="HeroBg"],
    [class*="gradient"],
    [class*="Gradient"],
    [class*="glow"],
    [class*="Glow"],
    [class*="particle"],
    [class*="Particle"],
    [class*="bg-animation"],
    [class*="BgAnimation"] {
      display: none !important;
    }

    [style*="linear-gradient"],
    [style*="radial-gradient"] {
      background-image: none !important;
    }

    button,
    [role="button"],
    [class*="Button"],
    [class*="button"],
    [class*="Btn"],
    [class*="btn"] {
      border-radius:  0 !important;
      box-shadow:     none !important;
      transition:     none !important;
    }

    button:hover,
    [role="button"]:hover {
      transform: none !important;
      box-shadow: none !important;
    }

    input,
    textarea,
    select,
    [contenteditable] {
      border-radius: 0 !important;
      box-shadow:    none !important;
      outline:       1px solid currentColor !important;
      outline-offset: -1px !important;
    }

    input:focus,
    textarea:focus,
    [contenteditable]:focus {
      box-shadow: none !important;
      outline:    2px solid #0f4c8a !important;
    }

    [class*="Card"],
    [class*="card"],
    [class*="Panel"],
    [class*="panel"],
    [class*="Modal"],
    [class*="modal"],
    [class*="Dropdown"],
    [class*="dropdown"],
    [class*="Tooltip"],
    [class*="tooltip"],
    [class*="Popover"],
    [class*="popover"] {
      border-radius: 0 !important;
      box-shadow:    none !important;
      border:        1px solid rgba(0,0,0,0.15) !important;
    }

    * {
      will-change:        auto !important;
      transform-style:    flat !important;
      perspective:        none !important;
      backface-visibility: visible !important;
    }

    * {
      scrollbar-width: thin !important;
    }

    img[style*="filter"],
    img[class*="blur"],
    img[class*="placeholder"] {
      filter: none !important;
      opacity: 1 !important;
    }

  `;

  if (document.head) {
    document.head.appendChild(style);
  } else {
    document.addEventListener('DOMContentLoaded', () => document.head.appendChild(style));
  }

  console.log('%c🔲 DeepL Minimal UI active', 'background:#0f4c8a;color:#fff;padding:2px 8px;font-family:monospace');

})();