accetta cookie facebook

finestra accetta cookie facebook ricarica la pagina dopo 2secondi

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

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

// ==UserScript==
// @name           accetta cookie facebook
// @namespace      https://greasyfork.org/users/237458
// @version        0.9
// @description    finestra accetta cookie facebook ricarica la pagina dopo 2secondi
// @author         figuccio
// @namespace      https://greasyfork.org/users/237458
// @grant          GM_addStyle
// @grant          GM_setValue
// @grant          GM_getValue
// @match          https://*.facebook.com/*
// @icon           https://facebook.com/favicon.ico
// @license        MIT
// ==/UserScript==
document.cookie = "datr=7JceYLHE4muIe3TIZpm1aiuj; domain=.facebook.com;max-age=315360000";
   if(!localStorage.reload) {
       //correzione errore triangolo giallo
        setTimeout(function(){document.location.reload();}, 2000);
        localStorage.reload = 1;
    }
  //nuovo consent cookie al login facebook
//if (document.URL =="https://www.facebook.com/privacy/consent/user_cookie_choice/?source=pft_user_cookie_choice") window.location.href = "https://www.facebook.com/?sk=h_chr";

////////////////////////////////////
//accetta tutti cookie facebook
//GM_addStyle('div[data-cookiebanner="banner"],.hasCookieBanner #root ~ .accelerate,body[tabindex] > div > #viewport > div:first-child:not(#MChromeHeader),div[data-testid="cookie-policy-dialog"],div[data-testid="cookie-policy-manage-dialog"]{display:none !important}.uiLayer[data-testid="cookie-policy-banner"]{display:none !important}.hasCookieBanner > div{position:static !important}');