Silent Facebook

This makes Facebook a peaceful place to live by removing distractions. In particular, it disables the feed on the main page and links to marketplace, videos and gaming. Easy to adjust (e.g. to reenable some of the features).

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

/* ==UserStyle==
@name           Silent Facebook
@namespace      github.com/openstyles/stylus
@version        1.0.4
@description    This makes Facebook a peaceful place to live by removing distractions. In particular, it disables the feed on the main page and links to marketplace, videos and gaming. Easy to adjust (e.g. to reenable some of the features).
@author         Piotr Suwara
==/UserStyle== */
@-moz-document domain("facebook.com") {
    /* Disables news feed on the main page */
    div[data-pagelet="FeedUnit_0"],
    div[data-pagelet="FeedUnit_0"] ~ div,
    
    /* Disables ads on the main page */
    a[aria-label="Advertiser"],
    a[aria-label="Advertiser"] ~ div,
    
    /* If uncommented, disables news feed on the main page */
    /*div[data-pagelet="GroupsFeed_0"],
    div[data-pagelet="GroupsFeed_0"] ~ div,*/
    
    /* Disables stories on the main page */
    div[aria-label="Stories"],
    
    /* Disables video chat on the main page */
    div[data-pagelet^="VideoChatHomeUnit"],
    
    /* Disables FB Watch (which sometimes adds the number of notifications to the label)... */
    a[aria-label^="Watch"],
    
    /* One may disable FB Watch completely by uncommenting these: */
    /*div[aria-label="Shortcuts within Facebook Watch"],
    div[aria-label="Videos on Facebook Watch"],*/
    
    /* Disables Games link */
    a[aria-label="Gaming"],
    
    /* One may disable Gaming completely by uncommenting this: */
    /*div[aria-label="Gaming"],*/
    
    /* Disables Marketplace link */
    a[aria-label="Marketplace"]
    
    /* One may disable Marketplace completely by uncommenting these: */
    /*div[aria-label="Collection of Marketplace items"],
    div[aria-label="Marketplace sidebar"]*/
    {
        display: none;
    }
}