Cam4 Clean figuccio

cam colorato 2022

Από την 25/08/2022. Δείτε την τελευταία έκδοση.

// ==UserScript==
// @name		   Cam4 Clean figuccio
// @description    cam colorato 2022
// @version		   8.2
// @author         figuccio
// @match          https://*.cam4.com/*
// @grant          GM_addStyle
// @grant          GM_setValue
// @grant          GM_getValue
// @run-at         document-end
// @namespace      https://greasyfork.org/users/237458
// @require        https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @icon           https://www.google.com/s2/favicons?domain=cam4.com
// @license        MIT
// ==/UserScript==
//GM_addStyle(' body {background-color:#202124!important;}');//cambio colore pagina
                         //continua cookie
document.cookie = "disclaimer18=Accepted; domain=.cam4.com;max-age=315360000"; //ok cookie continua
document.cookie = "disclaimerMobile18=adult; domain=.cam4.com;max-age=315360000"; //ok cookie
 if(!localStorage.reload) {
        setTimeout("document.location.reload()",2000);
        localStorage.reload = 1;
    }

//popup questo sito utilizza cookie visibile senza estensione blocca publicita rifunziona
GM_addStyle('.CookieConsent__wrapper__3TWbZ {display: none!important}');
//foto publicita in alto prova un esperienza piu intima rifunziona
GM_addStyle('.PageHeaders__wrapper__3I9TX .PageHeaders__title__Wms1b {display: none!important}');

//parte inutile sotto i numeri rifunziona
GM_addStyle('.Footer__footer__2mMwb  {display: none!important}');//1
GM_addStyle('.Directory__aboveFooterWrap__hDD7a {display: none!important}');//2
//parte inutile in fondo alla chat sotto categorie funziona
GM_addStyle('.LegalArea__legalWrapper__3dQoq {display: none!important}');
////////////////////////////////////////////////////////////////
   //ricordamelo dopo in chat  funziona
 GM_addStyle('.TokenAwarenessDesktop__container__2wAV- {display: none!important}');

 //login autoclic 10 secondi
 setTimeout(function(){
 document.getElementById("loginButton").click();}, 10000);

//////////////////////////////////login2
setTimeout(function(){
document.querySelector("#tUZ2be9k_loginFrom_submitButton").click();}, 15000);

//pulsante scritta scorrevole rifunziona
GM_addStyle('.CampaignCTAButton__offer__2taf9{display: none!important}');

 //funziona intercezza lultima pagina
setTimeout(function(){
document.querySelector("#Ayg3aS21_paginationWrap_pagination > ul > li:nth-child(6) > a").click();}, 6000);

//donne uomini e tutto
$(window).scroll(function() {
       if($(window).scrollTop() + $(window).height() == $(document).height()) {
document.querySelector("#Ayg3aS21_paginationWrap_pagination > ul > li.Pagination__linkNextPrev__36dEK > a").click();

         }
});

///////////////////////////////////////////
(function () {
  'use strict';
   var body = document.body;
   var colorPicker = document.createElement('div');
   colorPicker.setAttribute('id', '_color-picker');
   colorPicker.setAttribute('title', 'color Picker');
   var inputColor = document.createElement('input');
   inputColor.setAttribute('id', '_input-color');
   inputColor.setAttribute('class', 'test');
   inputColor.setAttribute('style',"position:fixed;top:15%;right:5px;  border:3px solid green; border-radius: 6px;");
   inputColor.setAttribute('type', 'color');
   inputColor.setAttribute('value','#FF0000');
   colorPicker.appendChild(inputColor);
   body.appendChild(colorPicker);
 document.getElementById("_input-color").addEventListener("input", function() {

     GM_setValue('bg', this.value);

 console.log(this.value);

 document.body.style.backgroundColor = this.value;
});

     })();

////////////////////////////////
 if (GM_getValue('bg') !==null){
     document.getElementById('_input-color').value =GM_getValue('bg');
  document.body.style.backgroundColor=GM_getValue('bg');
}