// ==UserScript== // @name Whatsapp Tool all in one // @name:zh-TW Whatsapp Tool all in one Changue background chats and more // @name:zh-HK Whatsapp Tool all in one Changue background chats and more // @name:zh-CN Whatsapp Tool all in one Changue background chats and more // @name:ja Whatsapp Tool all in one Changue background chats and more // @name:kr Whatsapp Tool all in one Changue background chats and more // @name:ar Whatsapp Tool all in one Changue background chats and more // @name:bg Whatsapp Tool all in one Changue background chats and more // @name:cs Whatsapp Tool all in one Changue background chats and more // @name:da Whatsapp Tool all in one Changue background chats and more // @name:de Whatsapp Tool all in one Changue background chats and more // @name:el Whatsapp Tool all in one Changue background chats and more // @name:eo Whatsapp Tool all in one Changue background chats and more // @name:es Whatsapp Tool all in one Changue background chats and more // @name:fi Whatsapp Tool all in one Changue background chats and more // @name:fr Whatsapp Tool all in one Changue background chats and more // @name:fr-CA Whatsapp Tool all in one Changue background chats and more // @name:he Whatsapp Tool all in one Changue background chats and more // @name:hu Whatsapp Tool all in one Changue background chats and more // @name:id Whatsapp Tool all in one Changue background chats and more // @name:it Whatsapp Tool all in one Changue background chats and more // @name:ko Whatsapp Tool all in one Changue background chats and more // @name:nb Whatsapp Tool all in one Changue background chats and more // @name:nl Whatsapp Tool all in one Changue background chats and more // @name:pl Whatsapp Tool all in one Changue background chats and more // @name:pt-BR Whatsapp Tool all in one Changue background chats and more // @name:ro Whatsapp Tool all in one Changue background chats and more // @name:ru Whatsapp Tool all in one Changue background chats and more // @name:sk Whatsapp Tool all in one Changue background chats and more // @name:sr Whatsapp Tool all in one Changue background chats and more // @name:sv Whatsapp Tool all in one Changue background chats and more // @name:th Whatsapp Tool all in one Changue background chats and more // @name:tr Whatsapp Tool all in one Changue background chats and more // @name:uk Whatsapp Tool all in one Changue background chats and more // @name:ug Whatsapp Tool all in one Changue background chats and more // @name:vi Whatsapp Tool all in one Changue background chats and more // @description Whatsapp Tool all in one Changue background chats and moree // @description:ar Whatsapp Tool all in one Changue background chats and moree // @description:bg Whatsapp Tool all in one Changue background chats and moree // @description:da Whatsapp Tool all in one Changue background chats and moree // @description:de Whatsapp Tool all in one Changue background chats and moree // @description:el Whatsapp Tool all in one Changue background chats and moree // @description:eo Whatsapp Tool all in one Changue background chats and moree // @description:fi Whatsapp Tool all in one Changue background chats and moree // @description:fr-CA Whatsapp Tool all in one Changue background chats and moree // @description:he Whatsapp Tool all in one Changue background chats and moree // @description:hu Whatsapp Tool all in one Changue background chats and moree // @description:id Whatsapp Tool all in one Changue background chats and moree // @description:it Whatsapp Tool all in one Changue background chats and moree // @description:ko Whatsapp Tool all in one Changue background chats and moree // @description:nb Whatsapp Tool all in one Changue background chats and moree // @description:nl Whatsapp Tool all in one Changue background chats and moree // @description:pl Whatsapp Tool all in one Changue background chats and moree // @description:pt-BR Whatsapp Tool all in one Changue background chats and moree // @description:ro Whatsapp Tool all in one Changue background chats and moree // @description:ru Whatsapp Tool all in one Changue background chats and moree // @description:sk Whatsapp Tool all in one Changue background chats and moree // @description:sr Whatsapp Tool all in one Changue background chats and moree // @description:sv Whatsapp Tool all in one Changue background chats and moree // @description:th Whatsapp Tool all in one Changue background chats and moree // @description:tr Whatsapp Tool all in one Changue background chats and moree // @description:uk Whatsapp Tool all in one Changue background chats and moree // @description:ug Whatsapp Tool all in one Changue background chats and moree // @description:vi Whatsapp Tool all in one Changue background chats and moree // @homepage https://github.com/DeveloperMDCM/ // @version 1.4 // @description:zh-TW Whatsapp Tool all in one Changue background chats and moree // @description:zh-HK Whatsapp Tool all in one Changue background chats and moree // @description:zh-CN Whatsapp Tool all in one Changue background chats and moree // @description:ja Whatsapp Tool all in one Changue background chats and moree // @description:kr Whatsapp Tool all in one Changue background chats and moree // @description:fr Whatsapp Tool all in one Changue background chats and moree // @description:cs Whatsapp Tool all in one Changue background chats and moree // @description:en Whatsapp Tool all in one Changue background chats and moree // @description:es Whatsapp Tool all in one Changue background chats and moree // @author MDCM // @match *://*.whatsapp.com/ // @icon https://cdn-icons-png.flaticon.com/512/124/124034.png?w=360 // @grant GM_info // @grant GM_setValue // @grant GM_getValue // @grant unsafeWindow // @run-at document-end // @compatible chrome // @compatible firefox // @compatible opera // @compatible safari // @compatible edge // @connect https://web.whatsapp.com/ // @license MIT // @namespace https://github.com/DeveloperMDCM/ // @downloadURL https://update.greasyfork.icu/scripts/458979/Whatsapp%20Tool%20all%20in%20one.user.js // @updateURL https://update.greasyfork.icu/scripts/458979/Whatsapp%20Tool%20all%20in%20one.meta.js // ==/UserScript== (function () { // Whatsapp tools by: DeveloperMDCM MDCM //https://github.com/DeveloperMDCM/whatsapp-web-tools function cargarScript() { let htmlCss = ` Whataspp
WhatsApp Tools DeveloperMDCM💻

Configuracion para Whataspp

`; const addButtonFlotant = document.querySelector("#pane-side"); if (addButtonFlotant != undefined) { addButtonFlotant.insertAdjacentHTML("beforebegin", htmlCss); } let validoPrivacidad = 0; document.addEventListener("keydown", (e) => { if (e.ctrlKey && e.keyCode === 16) { const allDivs = document.querySelector("body"); validoPrivacidad += 1; switch (validoPrivacidad) { case 1: allDivs.style.filter = "blur(10px)"; break; case 2: allDivs.style.filter = "blur(0)"; validoPrivacidad = 0; break; } } }); const changeTheme = document.querySelector("#tema_sistema > p"); if(changeTheme != undefined) { changeTheme.addEventListener("click", () => { const bodytheme = document.querySelector("body"); const classNamesTheme = document.querySelector("body").classList; if (classNamesTheme[1] === "dark") { changeTheme.textContent = "Activate Theme Dark"; bodytheme.classList.remove("dark"); } else { bodytheme.classList.add("dark"); changeTheme.textContent = "Activate Theme Light"; } }); } const InputColorOpacity = document.querySelector("#colores"); if(InputColorOpacity != undefined) { InputColorOpacity.addEventListener("input", function () { document.body.style.setProperty( "--conversation-panel-background", InputColorOpacity.value ); }); } // // Función para cambiar los estados de un mensaje visto , entregado y leído commin soon // function cambiarvisto() { // let visto = document.querySelectorAll(".do8e0lj9.l7jjieqr.k6y3xtnu > span"); // let svgLeido = // ' '; // let svgEntregado = // ' '; // let svgEnviado = // ''; // for (let i = 1; i < visto.length; i++) { // visto[i].ariaLabel === " Entregado " // ? (visto[i].innerHTML = svgEntregado) // : visto[i].ariaLabel === " Enviado " // ? (visto[i].innerHTML = svgEnviado) // : (visto[i].innerHTML = svgLeido); // } // } // Función para cambiar el fondo de los chats let fondoEnriptado; function handleFileSelect(evt) { var files = evt.target.files; // FileList object // Loop through the FileList and render image files as thumbnails. for (let i = 0, f; (f = files[i]); i++) { // Only process image files. if (!f.type.match("image.*")) { continue; } let reader = new FileReader(); // Closure to capture the file information. reader.onload = (() => { return function (e) { // Render fondoEnriptado = e.target.result; let chatbg = document.querySelector( ".lhggkp7q.qq0sjtgm.tkdu00h0.ln8gz9je.ppled2lx.tbmiozwh.fq1kqmrp.shnvsdv4" ); // Fondo / bg chats const vista = document.querySelector("#main > header"); const ventaIzquierdaChats = document.querySelector("#side"); if ( chatbg != undefined && vista != undefined && ventaIzquierdaChats != undefined ) { document.body.style.setProperty( "--conversation-panel-background", "black" ); document.body.style.setProperty( "--conversation-panel-border", "#00f19ce8" ); document.querySelector( "#main > div._2gzeB > div > div._5kRIK" ).style.backgroundColor = ""; document .querySelector("html[dir] ._5kRIK") .style.setProperty( "background-image", `url('${fondoEnriptado}')` ); document .querySelector("html[dir] ._5kRIK") .style.setProperty("background-size", `cover`); } ventaIzquierdaChats.onclick = () => { document .querySelector("html[dir] ._5kRIK") .style.setProperty("background-size", `cover`); document .querySelector("html[dir] ._5kRIK") .style.setProperty( "background-image", `url('${fondoEnriptado}')` ); }; }; })(f); // Read in the image file as a data URL. reader.readAsDataURL(f); } } document .getElementById("files") .addEventListener("change", handleFileSelect, false); } let validoChats = 0; document.addEventListener("keydown", (e) => { if (e.ctrlKey && e.altKey) { const chats = document.querySelector("#app > div > div > div._2Ts6i._3RGKj"); validoChats += 1; switch (validoChats) { case 1: chats.style.display = "none"; break; case 2: chats.style.display = ""; validoChats = 0; break; } } }); setInterval(() => { const loadpague = document.querySelector('._1vjYt'); if(!loadpague) { setTimeout(() => { cargarScript(); document.querySelector("#app > div > div > div._2Ts6i._2xAQV > div > div > div._3q5qB > div._1vjYt > h1").textContent = 'WhatsApp Web Mod by: DeveloperMDCM' }, 1000); } }, 1000); // cargarScript(); })();