"People are afraid to pursue their most important dreams, because they feel that they don't deserve them, or that they'll be unable to achieve them."

Mencegah update status Facebook

Ditulis pada tanggal 21/06/2016

author avatar

Dalam:
Utakatik

Kait kata:
Facebook Userscript

gambar tampilan facebook tanpa update status

Saya hampir tidak ingat kalau Chrome di Fedora ini saya beri userscript yang bisa menyembunyikan kolom untuk update status. Tapi kalau share masih bisa sih.

Script-nya bisa didapatkan dari https://greasyfork.org/scripts/19259-facebook-com/code/facebookcom.user.js

    // ==UserScript==
    // @name        facebook.com
    // @namespace   https://www.facebook.com
    // @include     https://www.facebook.com/*
    // @version     1
    // @grant       none
    // @author        benipaz
    // @description Remove all unnecessary blocks from page.
    // ==/UserScript==

    function GM_addStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    GM_addStyle('#pagelet_ego_pane {display:none !important;}');
    GM_addStyle('#pagelet_games_rhc {display:none !important;}');
    GM_addStyle('#pagelet_rhc_footer {display:none !important;}');
    GM_addStyle('#pagelet_rhc_ticker {display:none !important;}');
    GM_addStyle('#pagelet_canvas_nav_content {display:none !important;}');
    //GM_addStyle('#pagelet_advertiser_panel {display:none !important;}');
    GM_addStyle('#pagelet_composer {display:none !important;}');
    GM_addStyle('#timeline_composer_container {display:none !important;}');

File mentah dari tulisan ini bisa ditemukan di sini