Facebook remove right column

Remove the right column on facebook ( web platform )

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ć!)

Advertisement:

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ć!)

Advertisement:

// ==UserScript==
// @name         Facebook remove right column
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Remove the right column on facebook ( web platform )
// @author       n24xxx
// @match        https://facebook.com
// @icon         https://i.imgur.com/F8ai0jB.png
// @include		 http://facebook.com/*
// @include		 http://*.facebook.com/*
// @include		 https://facebook.com/*
// @include		 https://*.facebook.com/*
// @grant        none
// ==/UserScript==

(function() {
    rightCol = document.querySelector('div#rightCol')
    contentArea = document.querySelector('div#contentArea')
    rightCol.setAttribute('style','display : none')
    contentArea.setAttribute('style','right: 0px; width: 100% !important')
})();