Netflix: Stealth mode

Hide title, descriptions, and video preview of the current show

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         Netflix: Stealth mode
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Hide title, descriptions, and video preview of the current show
// @author       Ping
// @match        https://www.netflix.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var head = document.getElementsByTagName('head')[0];
    var style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = `
/* Main show description on the show's title page. */
.jawBone h1, .overview .synopsis, .overview .evidence, .overview .meta-lists {
  visibility: hidden;
}
/* Large background image and auto-playing video on the show's title page */
.jawBoneBackground, .background .VideoContainer {
  visibility: hidden;
}
/* Episode descriptions in the episode carousel on the show's title page */
.episodeTitle, .episodeSynopsis {
  visibility: hidden;
}
/* Show title and show information overlays on the main watch page */
.video-title, .player-title-evidence, .evidence-overlay {
  visibility: hidden;
}
`;
    head.appendChild(style);
})();