clean up deepl.com

Cleans up ads and menubars

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name              clean up deepl.com
// @author            jside
// @namespace         Cleans up ads and menubars
// @description       Cleans up ads and menubars
// @version           0.1.1
// @include           https://www.deepl.com/*
// @grant             GM_addStyle
// @grant             GM_log
// @run-at            document-start
// @supportURL        
// @note              Original by Hunlongyu (https://github.com/Hunlongyu, https://gist.github.com/Hunlongyu/2d7cc7db66b79831c3af23cc52a85845) edit by me
// ==/UserScript==

(function () {
  'use strict'
  let css = `
    .dl_header{display: none !important;}
    #dl_career_container{display: none !important;}
    .dl_translator_page_container {min-height: 130px !important;}
    #dl_cookieBanner{display: none !important;}
    .lmt__language_container_sec{display: none !important;}
    #lmt_pro_ad_container{display: none !important;}
    #dl_quotes_container{display: none !important;}
    .eSEOtericText{display: none !important;}
    .lmt__rating {display: none !important;}
    .lmt__target_toolbar__share_container{display: none !important;}
  `
  try {
    GM_addStyle(css)
  } catch (e) {
    GM_log(new Error('GM_addStyle stopped working!'))
  }
})()