Greasy Fork is available in English.

Facebook remove right column

Remove the right column on facebook ( web platform )

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

Advertisement:

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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')
})();