new Facebook figuccio

new facebook color

当前为 2022-12-10 提交的版本,查看 最新版本

// ==UserScript==
// @name          new Facebook figuccio
// @namespace     https://gf.qytechs.cn/users/237458
// @version       18.8
// @author        figuccio
// @description   new facebook color
// @match         https://*.facebook.com/*
// @match         https://*.facebook.com/me/*
// @grant         GM_addStyle
// @grant         GM_setValue
// @grant         GM_getValue
// @grant         GM_registerMenuCommand
// @require       https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @run-at        document-start
// @require       http://code.jquery.com/jquery-latest.js
// @require       https://code.jquery.com/ui/1.12.1/jquery-ui.js
// @icon          https://www.google.com/s2/favicons?domain=facebook.com
// @require       https://gf.qytechs.cn/scripts/12228/code/setMutationHandler.js
// @noframes
// @license        MIT
// ==/UserScript==
(function() {
    'use strict';
    var CONTENT_HAS_LINKS_SELECTORS = ".userContentWrapper, ._5pcr";
    var BLOCK_LIST_SELECTORS = "._5r69, ._5g-l, ._2r3x, .uiLikePageButton, .uiStreamSponsoredLink";
    var observer;
    var contentAreaFoundTimeout;

    function findAncestor (el, cls) {
        while ((el = el.parentElement) && !el.classList.contains(cls));
        return el;
    }

    function filterPosts(elements) {
        if(!Array.isArray(elements) && !(elements instanceof NodeList)) {
            return filterPosts([elements]);
        }
        for (var i = 0; i < elements.length; i++) {
            var element = elements[i];
            var elementDirty = false;
            if (element.matches(BLOCK_LIST_SELECTORS) || element.querySelectorAll(BLOCK_LIST_SELECTORS).length>0) {
                elementDirty = true;
            } else {
                var allLinks = element.querySelectorAll('a');
                for (var j = 0; j < allLinks.length; j++) {
                    var str = allLinks[j].getAttribute("href");
                    if (str !== undefined && !str.startsWith("/") && !str.startsWith("#") && !str.includes("www.facebook.com")) {
                        elementDirty = true;
                        break;
                    }
                }
            }

             // mostra solo le voci pertinenti
            if(elementDirty) {
                findAncestor(element, "_4-u2").style.display = "none";
            } else {

            }
        }
    }

    function mutationsHandler(mutations) {
        mutations.forEach(function(mutation) {
            var newNodes = mutation.addedNodes;
            if (newNodes !== null) {
                for (var i = 0; i < newNodes.length; i++) {
                    if (newNodes[i] && newNodes[i].className && (newNodes[i].className.contains("userContentWrapper") || newNodes[i].className.contains("_5pcr"))) {
                        filterPosts(newNodes[i]);
                    } else if (newNodes[i] && newNodes[i].querySelectorAll) {
                        filterPosts(newNodes[i].querySelectorAll(CONTENT_HAS_LINKS_SELECTORS));
                    }
                }
            }
        });
    }

    function setupHistoryStateListener(callback) {
        (function (old) {
            window.history.pushState = function () {
                old.apply(window.history, arguments);
                console.log("push state");
                callback();
            };
        })(window.history.pushState);
    }

    function main() {
        if (window.top != window.self) {
            return;
        }

        if(window.self.location.pathname !== "/") {
            console.log("not on main feed");
            return;
        }

        if(!window.self.location.search) {
            window.self.location.search = "?sk=h_chr";
        }

        var contentArea = document.getElementById("contentArea");
        if(!contentArea) {
            console.log("contentarea not found, retry soon");
            if(contentAreaFoundTimeout) {
                clearTimeout(contentAreaFoundTimeout);
                contentAreaFoundTimeout = null;
            }
            contentAreaFoundTimeout = setTimeout(main, 200);
            return;
        }

        console.log("contentarea found");

        observer.disconnect();
        observer.observe(contentArea, { attributes: false, childList: true, characterData: false, subtree: true });
        filterPosts(document.querySelectorAll(CONTENT_HAS_LINKS_SELECTORS));

        setTimeout(function() {
            document.body.scrollTop = 160;
            contentArea.style.display = "block";
        },100);

    }

    function setup() {
        observer = new MutationObserver(mutationsHandler);

        if (document.readyState === "complete") {
            main();
        } else {
            window.addEventListener("load", main);
        }

        setupHistoryStateListener(function() {
            setTimeout(main,1000);
        });

        var style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML =
            '.home .newsFeedComposer #contentArea { display:none; }'+
        document.getElementsByTagName('head')[0].appendChild(style);
    }

    setup();
})();
////////////////////////////////////////
//torna ai post piu popolari reinderizza ha topstorie
  function fixbacktotoppostslink() {
// correggi il collegamento alle storie principali per un nuovo design
  var y,x;
  x=document.querySelector('div[role="main"] a[href="/"][aria-label]');
  if(!x){
	if(debug)
	  console.log('didnt find (plain) top stories link');
	return;
  }


  console.log('fixing top stories link');
  x.id="aa";
  y=x.cloneNode(true);
  y.id="topstorieslink";
  y.title="Post popolari";
  if(!document.querySelector('#topstorieslink'))
  x.parentNode.insertBefore(y,x.nextSibling);
  document.getElementById("aa").style="display:none!important";
  document.getElementById("topstorieslink").href="/?sk=h_nor#topstories";
  if(x.style && x.style.display=='none')
  x.style="block";
  x=y=null;
}


function addnewsfeedmenufeeds(){
	// vecchio codice per vecchio design, non più necessario, può eliminare...
    if(debug)
	  console.log('clicked - shows event listener is working');
	  if(document.getElementById('mstorieslink')) {
		if(document.querySelector("div.uiContextualLayerPositioner.hidden_elem #mstorieslink")) {
		  // fix top stories link
		  try{
		    if(document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('a[href*="?sk=h_nor"]').href)
		      document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('a[href*="?sk=h_nor"]').href="/?sk=h_nor#topstories";
		  }
		  catch(e){
			  ; //non fare niente in questo momento...
		  }

		  // correggi il menu a discesa del feed nascosto
		  var inpoint=document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"]) a[href*="?sk=h_chr"]');
		  try{
		    inpoint.parentNode.parentNode.insertBefore(document.getElementById('pstorieslink').parentNode, inpoint.parentNode.nextSibling);
			if(document.getElementById("navItem_605397933004645")) // if explore feed exists
		    inpoint.parentNode.parentNode.insertBefore(document.getElementById('estorieslink').parentNode, inpoint.parentNode.nextSibling);
			inpoint.parentNode.parentNode.insertBefore(document.getElementById('gstorieslink').parentNode, inpoint.parentNode.nextSibling);
			inpoint.parentNode.parentNode.insertBefore(document.getElementById('pgstorieslink').parentNode, inpoint.parentNode.nextSibling);
		    inpoint.parentNode.parentNode.insertBefore(document.getElementById('mstorieslink').parentNode, inpoint.parentNode.nextSibling);
		  }
		  catch(e) {
			  ; //niente dovrebbe andare bene?
		  }
		}

		else if (window.location.href.match(/\?sk=h_chr/) || document.querySelector("#contentCol a[href='/?sk=h_nor']")){
		  try {
		    document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"]) a[href*="?sk=h_chr"]').parentNode.className += " _54nd";
		  }
		  catch(e) {;
		    // do nothing
		  }
		}
		else if (window.location.href.match(/\?sk=h_nor/) ){
		  try{
		    document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"]) a[href*="?sk=h_nor"]').parentNode.className += " _54nd";
		  }catch (e) {
			;// fare niente
		  }

		}

	    return;
	   }
	   else {

         var inpointA=document.querySelectorAll('div.uiContextualLayer.uiContextualLayerBelowRight a[href*="?sk=h_chr"]');
         if(!inpointA.length) {
		   console.log('Didnt find the newsfeed feed selector menu, try again in 1 seconds');
		   window.setTimeout(addnewsfeedmenufeeds,3000);//aumentato da 1 a 3secondi
	       return;
         }

/////////////////////////////////////////////////////////////////////////////////////////////////serve
		 // INSERT EXPLORE FEED LINK
		 if(document.getElementById("navItem_605397933004645")) // se esiste il feed di esplorazione
		   insertfeedintonewsfeedselector("estorieslink","Explore Feed","/explore");
//////////////////////////////////////////////////////////////////////////

		if (window.location.href.match(/\?sk=h_chr/) || document.querySelector("#contentCol a[href='/?sk=h_nor']")){ // evidenziare i più recenti
		  try{
		    document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('li:not([class*="_54nd"]) a[href*="?sk=h_chr"]').parentNode.className+= ' _54nd';
		  }
		  catch(e) {
			; // do nothing
		  }
		}
		else if (window.location.href.match(/\?sk=h_nor/) ){ // evidenziare le storie principali
		  try{
		    document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('li:not([class*="_54nd"]) a[href*="?sk=h_nor"]').parentNode.className+= ' _54nd';
		  }
		  catch(e) {
			; // fare niente
		  }
		}
		// correggere il collegamento alle storie principali
		if(document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])') && document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('a[href*="?sk=h_nor"]').href)
		  document.querySelector('div.uiContextualLayerPositioner:not([class*="hidden_elem"])').querySelector('a[href*="?sk=h_nor"]').href="/?sk=h_nor#topstories";
	   }
	 }
    window.setTimeout(fixbacktotoppostslink,3000);
    window.setTimeout(fixbacktotoppostslink,6000);
    window.setTimeout(fixbacktotoppostslink,8000);
    window.setTimeout(fixbacktotoppostslink,10000);//se la connessione e lenta 1minuto
    GM_registerMenuCommand("mostra popolari",fixbacktotoppostslink);
    window.setTimeout(addnewsfeedmenufeeds,3000);
//////////////////////////////////////////////////aggiunto titolo icona facebook e home
(function a() {
	var title=document.querySelectorAll("div[role='banner'] a[role='link'][href='/'],div[role='banner']+div[data-isanimatedlayout] a[role='link'][href='/']");
	if(title && title.length>1)

    title=document.querySelectorAll("a[role='link'][href='/']");
	if(title && title.length>1)
	  for(i=0;i<3;i++){
	    title[i].title="Most Recent"
	  }

window.setTimeout(a,6000);
  })();

////////////////////////////////////////logout
function NEWaddtopnavbarlogoutbutt(){
    console.log('addtopnavbarlogoutbutt');
  if(document.querySelectorAll('div[role="banner"] div[role="navigation"]').length!=2) {
    console.log("Didn't find insert point for logout button");
	return;
  }

  var logoutlink=document.createElement('a');
  logoutlink.innerHTML="&nbsp;Log<br/>&nbsp;Out&nbsp;";
  logoutlink.href="";
  logoutlink.title = 'Esci';
  logoutlink.id="fbpLogoutLink";
  logoutlink.style="text-decoration: none;margin-left:7px;color:var(--primary-text);position:relative;left:8px;background-color:var(--secondary-button-background);font-weight:700;padding-left: 4px;padding-right: 4px;padding-top: 4px; padding-bottom: 4px; leftmargin:15px;border-top-left-radius: 50%;border-bottom-left-radius: 50%;border-top-right-radius: 50%;border-bottom-right-radius: 50%;border:2px solid #c471ed!important;";

  document.querySelectorAll('div[role="banner"] div[role="navigation"]')[1].firstChild.parentNode.insertBefore(logoutlink,document.querySelectorAll('div[role="banner"] div[role="navigation"]')[1].firstChild);

  logoutlink.addEventListener("click", function(e) {e.preventDefault(); document.querySelector('form[action^="/logout.php?"').submit(); e.target.innerHTML='<img src="//www.facebook.com/images/loaders/indicator_blue_small.gif"/>'},false);

}
window.setTimeout(NEWaddtopnavbarlogoutbutt,10000);//1 minuto
GM_registerMenuCommand("mostra logout",NEWaddtopnavbarlogoutbutt);

///////////////////////color picker///////////
var $f = jQuery.noConflict();
$f(document).ready(function() {
'use strict';
var $ = window.jQuery;
var jf = $.noConflict();
var body=document.body;
var style="position:fixed; top:-13px;left:720px;z-index:99999;"
var box=document.createElement("div");

box.id="myMenu";
box.style=style;
jf(box).draggable();
body.append(box);
         //mostra/nascondi dal menu
    /*
function prova(){
if(myMenu.style.display = (myMenu.style.display!='none') ? 'none' : 'block');}
GM_registerMenuCommand("nascondi/mostra box",prova);
*/
         //mostra/nascondi dal menu
function prova() {
var box = document.getElementById('myMenu');
box.style.display = ((box.style.display!='none') ? 'none' : 'block');
}
GM_registerMenuCommand("nascondi/mostra box",prova);

///////////////////////////funzione chiudi menu da close
function myFunction() {
document.getElementById("myMenu").style.display = "none";
}
///////////////////////////////////////////////////////////////
    var userdata = {
    color: 'figuccio',
    whitelist: 'mywhitelist'
    }
    var mycolor;
    var inWhitelist = false;

    //imposta la variabile colore
    if(/^#+\w+$/.test(GM_getValue(userdata.color))){
        mycolor = GM_getValue(userdata.color);
    }
    else {mycolor="#980000";}

    //Inizializza il livello dell'effetto
    var colorinput = document.createElement('div');
    colorinput.style = `
    position: fixed;
    pointer-events: none;
    width: 100%;
    height: 9%;
    left: 0;
    top: 0;
    background:${mycolor};
    opacity: 0.2;
    z-index: 2147483648;
  `;


    //Ottieni la whitelist dal database
    function getWhitelist () {
        var whitelist = GM_getValue(userdata.whitelist) || '';
        return whitelist;
    }

    //salva lista bianca
    function saveWhitelist (data) {
    GM_setValue(userdata.whitelist, data);
    }

    // salvare i dati personalizzati
    function saveSetting() {
    GM_setValue(userdata.color, mycolor);
        //dopo che salva il colore chiude il box e lo riapre dopo 3sec
        prova();
        window.setTimeout(prova,3000);
        }

        //Imposta lo stile css del menu
        box.style.cssText = `
        position: fixed;
        top: 1px;
        left: 720px;
        `;

        //Imposta lo stile css degli elementi nel menu
        GM_addStyle(`
        #myMenu {font-family: Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', Arial, sans-serif;font-size:14px;z-index:2147483648;}

        #myMenu .button {
            padding: 3px 6px;
            line-height: 16px;
            margin-top:6px;
            display: inline-block;
            border: 1px solid #999;
            border-radius: 3px;
            display: inline-block;
            cursor: pointer;
        }

      #colorspan { margin-left:0px; margin-bottom:-19px;  color:lime;background-color:brown; border: 1px solid yellow; border-radius: 5px;}

      #setui{width:auto;height:25px; margin-top:-14px;margin-left:-4px; margin-right:-4px;margin-bottom:0px;border-width:1px;border-style:;color:lime;}

      #colorinput{margin-left:4px; margin-top:12px; background-color:#3b3b3b; color:red; border:1px solid yellow; border-radius:5px;height:20px;}

input[type="datetime-local"] {background:#3b3b3b;color:lime;border:1px solid yellow; border-radius:5px;margin:0px;text-align:center;font-size:px;}
    .button {padding: 2px 2px; margin-top:-19px; display:inline-block;border: 1px solid yellow; border-radius:3px; cursor:pointer;background:red;}
    `);
setInterval(function(){
let today = new Date();
today.setMinutes(today.getMinutes() - today.getTimezoneOffset());
document.getElementById('datePicker').value = today.toISOString().slice(0, -1);
}, 70);
        //elemento html all'interno div
        box.innerHTML=`
<fieldset style="background:#3b3b3b; border:2px solid red;color:lime;border-radius:7px;text-align:;height:35px;">
                              <legend>Time<input readonly id="datePicker" type="datetime-local" /></legend>

        <div id=setui>
            <div id="seletcolor">
Hex <button id="colorspan">${mycolor}</button> Color<input type="color" list="colors" id="colorinput" value="${mycolor}" title="color picker">
<span class="button" title="memorizza" id='save'>salva</span>
<span class="button" title="chiudi" id='close'>X</span>
            </div>

                <div id="transparency">
                <div id="explainscroll"></div>
                <div id="transparencyui">

                </div>
 <div id="explainresult"></div>
            </div>
            <div id="explaintransparency"></div>
        </div>

        </div>
                    </fieldset>
    `;
        //Visualizza il menu div
        document.body.appendChild(box);

        //Dichiara la variabile che contrassegna la barra di trasparenza del click del mouse
        var validateclick=false;

        //Una serie di elementi get
        var colorspan = document.querySelector('#colorspan');
        var eyeprotectioncolorinput=document.querySelector('#colorinput');
        var eyeprotectionsetMenuSave=document.querySelector('#save');
        var eyeprotectionsetMenuClose=document.querySelector('#close');

        //L'aggiunta di una serie di eventi di ascolto
        eyeprotectioncolorinput.addEventListener('input', function(event){colorChange(event)},false);
        eyeprotectionsetMenuSave.addEventListener('click',saveSetting,false);
        eyeprotectionsetMenuClose.addEventListener('click',myFunction,false);

        //Implementazione concreta di stili preimpostati
        function newset(newcolor,newopacity) {
            mycolor=newcolor;
            colorspan.innerHTML=mycolor;
            colorinput.style.background = mycolor;
            colorinput.value=mycolor;
            return true;
        }
            function colorChange (e) {
            mycolor = e.target.value;
            colorspan.innerHTML=e.target.value;
            colorinput.style.background = mycolor
        }

    //funzione di inizializzazione
    function initialization () {
    document.body.appendChild(colorinput)
    }

    //Aprire la pagina Web ed eseguire prima l'operazione di inizializzazione
    initialization();
//})();
//////////////////////////////////////////////////////////////////////////////////////////////////////
//accetta tutti cookie facebook
document.cookie = "datr=7JceYLHE4muIe3TIZpm1aiuj; domain=.facebook.com;max-age=315360000";
/////////////////////////////////////////////////////////////////////////////////
                      // Verifica che l'URL principale sia il più recente
   if (document.URL == "https://www.facebook.com/home.php") window.location.href = "/?sk=h_chr";//log in da google
         // reindirizzamento istantaneo al feed più recente se vengono rilevate le notizie principali
  if( window.location.href.match(/facebook\.com\/?$|\?sk=h_nor|\?sk=nf|\?ref=tn_tnmn|\?ref=logo|\.com\/?_rdr$/) && (!window.location.href.match(/\?sk=h_nor#topstories/))){
	if(!/m.facebook.com/.test(window.location.href))
	  window.location.href="/?sk=h_chr"; //https://www.facebook.com
    else
	  window.location.href="/home.php?sk=h_chr";}//https://m.facebook.com
////////////////////////////////////////////////////////////////
    //memorizza password
GM_addStyle('.xquyuld.x10wlt62.x6ikm8r.xh8yej3.xt3gfkd.xu5ydu1.xdney7k.x1qpq9i9.x2bj2ny.x1ja2u2z.x1n2onr6.x9f619 > .xh8yej3 {display:none!important}');
    //reels e brevi video
GM_addStyle('a[href*="/reel/"],li>div>a[href*="/reel/"]{display:none !important}');
    ////////////////////////////////////////////////////////////////////////////////
     //immagine profilo bordo colorato
GM_addStyle('div[aria-label="Page profile photo"] circle, a[aria-label*="profile photo"] circle, div[aria-label="Page profile photo"] mask, a[aria-label*="profile photo"] mask {display:} svg[aria-label]>mask,svg[aria-label] circle,svg[style="height: 40px; width: 40px;"]>mask,svg[style="height: 40px; width: 40px; "] circle, svg[style="height:40px;width:40px"]>mask,svg[style="height:40px;width:40px"] {border-radius:22px!important;border:2px solid #c471ed!important;}');

//cerchi notifiche messaggi ecc
GM_addStyle('.x1qhmfi1{background-color:!important;border-radius:22px!important;border:2px solid #c471ed!important;}');
/////////////////////////////////////////////////////////////////////////////////////////////////
//nasconde il vecchio torna ai post popolari
GM_addStyle(' div._4-u2.mvm._495i {position:relative; top:-21px; width:138px; height:10px; overflow:hidden !important; padding :0px; padding-top:1px; padding-bottom:6px; margin-top:0px; margin-bottom:-17px} /*Nascondi il link Torna allinizio dei post(new design) finché non è pronto*/ div[role="main"] a[href="/"][aria-label]{display:none!important;}');

//colore red scritta torna ai post popolari
GM_addStyle('.x1fey0fg {color:red!important;background-color:green;border-radius:5px;}');

//popup al momento 6 offline sui giochi facebook
GM_addStyle('.__fb-light-mode {--card-background:green;}');
    ///////////////////////////////////////////////////////////////////////////////////////
       //rimuove sponsorizzati zona chat
(function() {var css = [
	"[role=complementary] ",
	"  > :nth-child(1) ",
	"  > :nth-child(1) ",
	"  > :nth-child(1) ",
	"  > :nth-child(2) ",
	"  > :nth-child(1)",
	"  {",
	"      display: none;",
	"  }"
].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);
	}
}
})();
/////////////////////////////////
 //watch marketplace groups gaming
GM_addStyle('div[role="navigation"][aria-label="Facebook"]>ul>li:nth-child(2){display:none!important;}');
GM_addStyle('div[role="navigation"][aria-label="Facebook"]>ul>li:nth-child(3){display:none!important;}');
GM_addStyle('div[role="navigation"][aria-label="Facebook"]>ul>li:nth-child(4){display:none!important;}');
GM_addStyle('div[role="navigation"][aria-label="Facebook"]>ul>li:nth-child(5){display:none!important;}');
  //////////////////////
 //nasconde pop up notifica a sinistra quando si gioca
GM_addStyle('ul[data-gt*=\"\\\"ref\\\":\\\"beeper\\\"\"] {display:none !important;}');
 //nasconde pop up notifica a sinistra sulla home
GM_addStyle('div[role="complementary"][aria-labelledby] {display:none!important;}');
/////////////////////////////////////////////////////////////////////////////////////////////////
 // ti piace questo gioco popup
GM_addStyle('._3mqg {display:none!important}');

///////////////////////crea una storia e pass con immagine dalla sez centrale rimosse
GM_addStyle('.sbcfpzgs.k4urcfbm.stjgntxs.ni8dbmo4.l82x9zwi.uo3d90p7.pw54ja7n.ue3kfks5.hybvsw6c.du4w35lb.l9j0dhe7.rq0escxv > .k4urcfbm{display:none!important}');
GM_addStyle('.gs1a9yip.j83agx80.btwxx1t3.owycx6da.jifvfom9.dlv3wnog.rl04r1d5.ni8dbmo4.stjgntxs.jbae33se.cxgpxx05.l9j0dhe7 {display:none!important}');
GM_addStyle('.m9osqain.m7msyxje.tmrshh9y.m7zwrmfr.taijpn5t.sk4xxmp2.agehan2d.n8ej3o3l.rt8b4zig.spb7xbtv.bkmhp75w.emlxlaya.s45kfl79.bp9cbjyn.p8dawk7l.abiwlrkh.l9j0dhe7.lzcic4wl.f1sip0of.esuyzwwr.i1ao9s8h.a8nywdso.qt6c0cv9.rz4wbd8a.jb3vyjys.hcukyx3x.oygrvhab.cxmmr5t8.kvgmc6g5.p7hjln8o.j83agx80.nhd2j8a9.rq0escxv.r7d6kgcz.e9989ue4.esr5mh6w.qu0x051f.hn33210v.oajrlxb2{display:none!important}');

////////////////////////////////////////////////////////////////////////////////////////////////
    //modifica colore home ottobre 2022
GM_addStyle('.x5e5rjt{fill: #1ef12e!important;}');
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//1 nov 2022 sidebar sinistra funziona su alcuni profili
GM_addStyle('div[data-pagelet="LeftRail"]{background-color:#494993!important;border-radius:14px;border-style:dashed;border-color:red;margin-top:0px!important;}');
GM_addStyle('div[data-pagelet="LeftRail"]:hover{background-image: url(https://media2.giphy.com/media/asG02gUfDyIxdODF76/giphy.gif);background-blend-mode: overlay;}');
    //sidebar sinistra visibile su tutti gli altri account ottobre 2022 -1nov si vede su alcuni profili in altri no
GM_addStyle('#ssrb_left_rail_start~[role="navigation"] {background-color:#494993!important;border-radius:14px;border:2px solid red!important;margin-top:0px;}');
GM_addStyle('#ssrb_left_rail_start~[role="navigation"]:hover{background-image: url(https://media2.giphy.com/media/asG02gUfDyIxdODF76/giphy.gif);background-blend-mode: overlay;}');
/////////////////////////////////////
                    //sidebar destra
GM_addStyle('div[role="complementary"]{background-color:#765414!important;border-radius:14px;border:2px solid red!important;margin-top:4px!important;}');
GM_addStyle('div[role="complementary"]:hover{background-image: url(https://media2.giphy.com/media/asG02gUfDyIxdODF76/giphy.gif);background-blend-mode: overlay;}');
//////////////////////////////////////////////////////////feed piu grandi
GM_addStyle('.x6o7n8i.x1unhpq9.x1hc1fzr > div{width:140%!important;margin-left:-100px;border-radius:14px;border:2px solid lime!important;margin-top:4px!important;}');
////////////////////////////////////////////////////////////////////////
                   //storie reels stanze all inizio feed funziona su tutti i profili
GM_addStyle('.x1y1aw1k.x1yztbdb.xl56j7k.x1q0g3np.x78zum5{display:none!important;}');
    //tasto menu accanto ha messaggi
GM_addStyle('.x9e5oc1 > .x1qrby5j.x7ja8zs.x1t2pt76.x1lytzrv.xedcshv.xarpa2k.x3igimt.x12ejxvf.xaigb6o.x1beo9mf.xv2umb2.x1jfb8zj.x1h9r5lt.x1h91t0o.x4k7w5x .x1qhmfi1.x100vrsf.x1vqgdyp.x1n2onr6.xkhd6sd.x18d9i69.x4uap5.xexx8yu.xl56j7k.x78zum5.x9f619.xm0m39n.x1qhh985.xcfux6l.x972fbf.xww2gxu.x18nykt9.xudhj91.x14yjl9h.x6s0dn4.x1a2a7pz.x1lku1pv.x87ps6o.xggy1nq.x1hl2dhg.x16tdsg8.x1mh8g0r.xat24cr.x11i5rnm.xdj266r.xe8uvvx.x1ypdohk.xav7gou.xaqea5y.x1b1mbwd.x6umtig.x1i10hfl{display:none!important;}');

    //////////////////no login recent
var $l = jQuery.noConflict();
$l(document).ready(function() {
if(!document.querySelectorAll('.removableItem a[role="button"][ajaxify^="/login/device-based"]').length)
	return;
var x=document.querySelectorAll('.removableItem a[role="button"][ajaxify^="/login/device-based"]');
  for(var i=0;i<x.length;i++)
	x[i].click();

})();

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址