Cam4 Clean figuccio

cam colorato 2022

Ekde 2022/12/14. Vidu La ĝisdata versio.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name		   Cam4 Clean figuccio
// @description    cam colorato 2022
// @version		   10.1
// @author         figuccio
// @match          https://*.cam4.com/*
// @grant          GM_addStyle
// @grant          GM_setValue
// @grant          GM_getValue
// @grant          GM_registerMenuCommand
// @run-at         document-end
// @require        https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @namespace      https://greasyfork.org/users/237458
// @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=cam4.com
// @license        MIT
// ==/UserScript==
                         //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('.SponsoredAds__premiumAds__6ubBS {display: none!important}');//cam4 premium
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}');
////////////////////////////////////////////////////////////////
  //x dentro video
GM_addStyle('.index__closeButton__2hQ9F {display:none!important}');
   //ricordamelo dopo in chat  funziona
GM_addStyle('.TokenAwarenessDesktop__container__2wAV- {display:none!important}');
//pulsante scritta scorrevole rifunziona
GM_addStyle('.CampaignCTAButton__offer__2taf9{display:none!important}');
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
//popup badoo allinterno della cam
GM_addStyle('.AdEmbeded__AddWrapperNoButton__28ZlR {display:none!important}');
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//current page color red
GM_addStyle('.Pagination__pagination__1dy6N li.Pagination__active__1xHxz a {background-color:red!important}');

 //login autoclick 10 secondi
setTimeout(function(){document.getElementById("loginButton").click();}, 10000);
//////////////////////////////////login2
setTimeout(function(){document.querySelector("#tUZ2be9k_loginFrom_submitButton").click();}, 15000);
//////////////////////////////////////////////////////////////////////////////////////
/*
 //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();

         }
});
*/
///////////////////////////////////////////color picker
(function() {
   'use strict';
var $ = window.jQuery;
var j5= $.noConflict();
var body=document.body;
var style=" position:fixed; top:-23px;left:729px;background:;z-index: 99999;"
var box=document.createElement("div");

box.id="mycam";
box.style=style;
j5(box).draggable();
body.append(box);

function prova(){
if(mycam.style.display = (mycam.style.display!='none') ? 'none' : 'block');}
GM_registerMenuCommand("nascondi/mostra box",prova);
///////////////////////////////test funzione chiudi menu da close funziona
function myFunction() {
document.getElementById("mycam").style.display = "none";
}
//////////////////////////////////////////////////
 //dati per la conservazione
        var userdata = {color: 'camcolor', }

        var mycolor;//dichiarare la variabile colore

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

        else {mycolor="#000000"; }
            ///////////////////////////////////////////////////////////
            //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;}

                .button {padding: 3px 6px; line-height:16px;margin-top:-19px;display:inline-block;border:1px solid yellow;border-radius:3px;cursor:pointer;background:chocolate;}

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

                #seletcolor{margin-top:-47px; margin-left:5px;}

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

                #colorinput{ margin-left:4px; margin-top:4px;height:20px;background-color:#3b3b3b;color:red; border:1px solid yellow;border-radius:5px;}
                input[type="datetime-local"] {background:#3b3b3b;color:lime;border:1px solid yellow; border-radius:5px;margin:9px;text-align:center;}
            `);
setInterval(function(){
let today = new Date();
today.setMinutes(today.getMinutes() - today.getTimezoneOffset());
document.getElementById('datePicker1').value = today.toISOString().slice(0, -1);
}, 70);
  //elemento html nel div   readonly datatime non fa comparire licona del calendario
   box.innerHTML=`
                      </p>
                       <fieldset style="background:#3b3b3b; border:2px solid red;color:lime;border-radius:7px;text-align:center;height:0px;">
                       <legend>Clock<input readonly id="datePicker1" type="datetime-local" /></legend>
   <div id=setui>
  HEX <button id="colorspan">${mycolor}</button> color picker <input type="color" list="colors" id="colorinput" value="${mycolor}" title="color picker">
  <span class="button" title="chiudi" id='close'>x</span>

                                    </p>
                    </div>
                    </fieldset>
            `;

            //////////////////////////////
            //aggiunta span close per chiudere il box direttamente
            var colorinputsetMenuClose=document.querySelector('#close');
            colorinputsetMenuClose.addEventListener('click',myFunction,false);

            ////////////////////////////////////////
            var colorinput=document.querySelector('#colorinput');
            var colorspan = document.querySelector('#colorspan');
            ////////////////////////////////////////
           //evento della tavolozza dei colori
            function colorChange (e) {
            mycolor = e.target.value;
            colorspan.innerHTML=e.target.value;
            }

                 colorinput.addEventListener('input', function(event){colorChange(event)},false);
                 $('body').css("background-color", mycolor);
                 document.getElementById('colorinput').value =mycolor;
                  colorinput.addEventListener('input', function(){
                             GM_setValue(userdata.color, mycolor);
console.log(this.value);

 $('body').css("background-color",mycolor);
        });

})();
//////////////////////pulsante torna in alto
$(document).ready(function() {
 $('body').append('<img class="toPageTop1" title="Sali in alto" style="position:fixed;z-index:999999999999999999;bottom:320px;right:0px;cursor:pointer;border-radius:100%;width:70px;height:70px" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABINJREFUeF7tmkFy2koQhv9W7PeWT3CBQFXE9vmdIPYJQk4QvIxYBJ8gzglMFihL804QcgKTE8TZIleZdwFQlrFd6lejWCmFCNQjzWBTwI6anp7ub3p6emZE2PIfbbn/2AHYRcCWE9gtgS0PgF0SXNsScM+uXezfPXee4AAxN5iokY0+Yp7CoWnMGOP73tfopBmtIzqtAnA/XDcQ374goENEBzoOMfMlA0M4+5+i182pTl8dWSsA3A/hoRPzKxB1dIxZKss8jIH3Ubd1aURfRolRACrMnT9uz4w5vuitAnGzf2JyeRgD4AZXbWI+J4Jrepay+pgRMdFx5D8bmRjHCIB6EJ4B6JkwSENHf+Z7JxryuaKVAdQHk3NrIV/kHfNw1m0dF4mtaq8E4EGdT72qCKE0gEfh/E8I9H7WfVZqCZYC4A4mHYfovErome4bg16WSYzaAFRxQ/HdF9vZXhdQsjvc7DV1t0htALUg/EhAW9fAdcgzMJr73kudsbQAJBUe40IyADP+A8FMCctoEOGpZNyYcBS99sYSWSWjBaAWhBcEHBYpZ/DXud/Sqv2LdNaCySWB/i6SY2A8972jIrm0XQzAHUwOHKIvUsUA+iCYOdFxUl2Ks3xMe03pAUoMoD646oP4jQaAhxNl+bYoBlALJteEX8/wVT2MgaSUdQBVShv7MXg691tNiUIRALX1OXx3LVEolYmZj6Nua6jkbdQV0mUgA2C48Mk6nwIzDSFvjLzJEQGoD8JTEN5KZ3eVXGqYSqpZOXXZYRQC492s650W2SwCUAvCMQHPi5QVtWedJ9AFO0iKForxkcFHJiEw49O86xUWbGsDsOi8KqVV0ZIkQcZFUsoahMDA57nvFdYsawGQ57xyPAtA/TcJ4dEAWOZ8HgCTEB4HgPuCRCU8teYXT5CLEZDmkGwklC3AHgWA5G6fnD4x9/OOz8sA/IwEoh5x3NN9U0j6m8wBZWehcFfIJMEiWe12k9ugG4Q90+Xqshyg7eiSDqrMjnyvX6RPtAuUOAkWjZu0r1oCIgUrhGLmfyQvSSIAapxaEEYE/FXVsGx/WwDUZcy86/3y+LrMbjGAejAZAvRqEwDAxnHYxjKwFQHS8E/KcJ0ZlV5LSXXaACDd/lIbtQAYPa0lezUnl6YmL1qsXoreJ0MjJ0NplOjI6c6+9hJQHWzkAh0nV8lKb4GyOrSWQNrR5AWJMeeFhc/ieKUAJEthEI6I8MKUA9X08L8zv1Xqc5zSANTnMPTn7VjyWFHNudW91SMMf98/1H0TLLULLJry0BCqOl8qCeZDuBuZuDPUiRR158c3e52yM28kArIGrzUxCo+6EqClc0Ce8uTmhzC0lRfUPs/MPckpT+K8kSWwBESHQKfSJ+0iY9XpjsGn6UtSkbxOu9EI+C0/BFdtB3GbQW3dozQD3wg8iuGMynz6IoVgFUDWiB+fz+IQxA2+f2RNE6cK7R/hyFMwTWMHY52PHKTO5smtDUAVI2323QGwSXcTdO8iYBNmyaaNuwiwSXcTdO8iYBNmyaaNWx8B/wMj7yxftxxt6gAAAABJRU5ErkJggg==";/>');

        $(".toPageTop1").hide(0);
        $(window).scroll(function(){
            if($(window).scrollTop() >= 100){
                $(".toPageTop1").fadeIn(600);
            }else{
                $(".toPageTop1").stop(true,true).fadeOut(600);
            }
        });
        $(".toPageTop1").click(function(){
            $("html,body").animate({
                scrollTop:0
            },300);
        });

    });

//////////////////////////////
//passa alla pagina successiva richiede jquery
$(window).scroll(function() {
       if($(window).scrollTop() + $(window).height() == $(document).height()) {

       if ("window.location.href") window.location.href = "https://it.cam4.com/donne?";//ok
       ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
       if (document.URL == "https://it.cam4.com/") window.location.href = "/donne?page=2";
       if (document.URL == "https://it.cam4.com/donne") window.location.href = "/donne?page=2";
       if (document.URL == "https://it.cam4.com/donne?page=2") window.location.href = "/donne?page=3";
       if (document.URL == "https://it.cam4.com/donne?page=3") window.location.href = "/donne?page=4";
       if (document.URL == "https://it.cam4.com/donne?page=4") window.location.href = "/donne?page=5";
       if (document.URL == "https://it.cam4.com/donne?page=5") window.location.href = "/donne?page=6";
       if (document.URL == "https://it.cam4.com/donne?page=6") window.location.href = "/donne?page=7";
       if (document.URL == "https://it.cam4.com/donne?page=7") window.location.href = "/donne?page=8";
       if (document.URL == "https://it.cam4.com/donne?page=8") window.location.href = "/donne?page=9";
       if (document.URL == "https://it.cam4.com/donne?page=9") window.location.href = "/donne?page=10";
       if (document.URL == "https://it.cam4.com/donne?page=10") window.location.href = "/donne?page=11";
       if (document.URL == "https://it.cam4.com/donne?page=11") window.location.href = "/donne?page=12";
       if (document.URL == "https://it.cam4.com/donne?page=12") window.location.href = "/donne?page=13";
       if (document.URL == "https://it.cam4.com/donne?page=13") window.location.href = "/donne?page=14";
       if (document.URL == "https://it.cam4.com/donne?page=14") window.location.href = "/donne?page=15";
       if (document.URL == "https://it.cam4.com/donne?page=15") window.location.href = "/donne?page=16";
       if (document.URL == "https://it.cam4.com/donne?page=16") window.location.href = "/donne?page=17";
       if (document.URL == "https://it.cam4.com/donne?page=17") window.location.href = "/donne?page=18";
       if (document.URL == "https://it.cam4.com/donne?page=18") window.location.href = "/donne?page=19";
       if (document.URL == "https://it.cam4.com/donne?page=19") window.location.href = "/donne?page=20";
       if (document.URL == "https://it.cam4.com/donne?page=20") window.location.href = "/donne?page=21";

//////////////////////////////////sezione uomini//////////
       if (document.URL == "https://it.cam4.com/ragazzi") window.location.href = "/ragazzi?page=2";
       if (document.URL == "https://it.cam4.com/ragazzi?page=2") window.location.href = "/ragazzi?page=3";
       if (document.URL == "https://it.cam4.com/ragazzi?page=3") window.location.href = "/ragazzi?page=4";
       if (document.URL == "https://it.cam4.com/ragazzi?page=4") window.location.href = "/ragazzi?page=5";
       if (document.URL == "https://it.cam4.com/ragazzi?page=5") window.location.href = "/ragazzi?page=6";
       if (document.URL == "https://it.cam4.com/ragazzi?page=6") window.location.href = "/ragazzi?page=7";
       if (document.URL == "https://it.cam4.com/ragazzi?page=7") window.location.href = "/ragazzi?page=8";
           //sezione trans
       if (document.URL == "https://it.cam4.com/transgender") window.location.href = "/transgender?page=2";
       if (document.URL == "https://it.cam4.com/transgender?page=2") window.location.href = "/transgender?page=3";
       if (document.URL == "https://it.cam4.com/transgender?page=3") window.location.href = "/transgender?page=4";
              //coppie
       if (document.URL == "https://it.cam4.com/coppie") window.location.href = "/coppie?page=2";
       if (document.URL == "https://it.cam4.com/coppie?page=2") window.location.href = "/coppie?page=3";
       if (document.URL == "https://it.cam4.com/coppie?page=3") window.location.href = "/coppie?page=4";
           // tutto
       if (document.URL == "https://it.cam4.com/all") window.location.href = "/all?page=2";
       if (document.URL == "https://it.cam4.com/all?page=2") window.location.href = "/all?page=3";
       if (document.URL == "https://it.cam4.com/all?page=3") window.location.href = "/all?page=4";
       if (document.URL == "https://it.cam4.com/all?page=4") window.location.href = "/all?page=5";
       if (document.URL == "https://it.cam4.com/all?page=5") window.location.href = "/all?page=6";
       if (document.URL == "https://it.cam4.com/all?page=6") window.location.href = "/all?page=7";
       if (document.URL == "https://it.cam4.com/all?page=7") window.location.href = "/all?page=8";
       if (document.URL == "https://it.cam4.com/all?page=8") window.location.href = "/all?page=9";
   }
});