facebook no ads 2019

facebook senza publicita

// ==UserScript==
// @name          facebook no ads 2019
// @description	  facebook senza publicita
// @author        figuccio
// @namespace https://greasyfork.org/users/237458
// @include       http://facebook.com/*
// @include       https://facebook.com/*
// @include       http://*.facebook.com/*
// @include       https://*.facebook.com/*
// @include       http://apps.facebook.com/*
// @include       https://apps.facebook.com/*
// @include       http://*.apps.facebook.com/*
// @include       https://*.apps.facebook.com/*
// @include       https://www.facebook.com*
// @run-at        document-start
// @version       0.1
// ==/UserScript==
(function() {var css = "";
if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
	css += [

		"  /*nasconde pop up notifica a sinistra*/",
		"ul[data-gt*=\"\\\"ref\\\":\\\"beeper\\\"\"] { display:none !important; }",
		"",
		"",
		"",
		"                                               /*publicita 2019*/",
		"#stories_pagelet_rhc ,/*storie*/",
		"#pagelet_games_rhc,/*publicita giochi*/",
		"#pagelet_ego_pane,/*persone che potresti conoscere*/",
		".ego_column {",
		"    display: none !important;",
		"}",
		"",
		" ",
		"/* nascondi trova amici link / (top right nav bar)*/",
		"#findFriendsNav { display:none; }",

        "/*nascondi guida rapida facebook*/",
        "div._59fb._tmz { display:none; }",

        "/*nascondi storie*/",
        "div._nyb { display:none; }",
        "div._7psf._5pcr { display:none; }",

        "/*nascondi blocco publicita app giochi facebook*/",
        "div._1k76 { display:none; }",
        "div._pagelet_ego_pane { display:none; }",

        "/*market*/",
        "div._4-u2._1-ib._2tyk._20os._4-u8 { display:none; }",



		"",
		"/* Hide Videos in Profile Headers aka Timeline Cover Videos */",
		"#pagelet_page_cover video,#fbProfileCover video {display:none}"
	].join("\n");
if (false || (document.domain == "apps.facebook.com" || document.domain.substring(document.domain.indexOf(".apps.facebook.com") + 1) == "apps.facebook.com"))
	css += [
		"/*nasconde pop up notifica a sinistra*/",
		"ul[data-gt*=\"\\\"ref\\\":\\\"beeper\\\"\"] { display:none !important; }"
	].join("\n");
if (false || (document.location.href.indexOf("https://www.facebook.com") == 0))
	css += [

	].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();