.custom-font {
+ Fontlist - Toolz
#Changelog 8/05/2024 Updated hosts list Removed some advertising hosts that were used for administration and not to serve ads. Added details for cosmetic and script tests Moved warning card for better UX #Changelog 10/02/2024 Updated hosts list Added rules to .adblock file Removed partner.ads script Cosmetic and script tests set to 1 point each Improved hosts test with fake 404 page
Thank you! Until now, the number of people who got interested in my projects went way beyond my expectations, I'm so happy to see it grow daily! If you use any of them or find them valuable, I'll be grateful for your support!
You can support me for free in these ways :
Share the projects with others (friends, family or community)
Star and follow my projects
Contribute by opening issues or making PRs
Some of my projects have some costs to be kept online, which I can thankfully afford, but if you feel you want to contribute, here are some ways to do so.
Support me on Ko-fi If, on the other hand, you are a developer, try out Railway with the below link. For every referral who incurs more than $10 worth of usage and pays their first bill, I get credits to use on my projects. In addition, Railway provides $5 in credit each month for free!
Railway Railway Font Test Click on below text to edit abcde 12345
.custom-font {
font-family: Arial;
font-weight: 500;
font-size: 48px;
diff --git a/index.html b/index.html
index f2a757c..fdfec94 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
- Toolz by d3ward - Home
Thank you! Until now, the number of people who got interested in my projects went way beyond my expectations, I'm so happy to see it grow daily! If you use any of them or find them valuable, I'll be grateful for your support!
You can support me for free in these ways :
Share the projects with others (friends, family or community)
Star and follow my projects
Contribute by opening issues or making PRs
Some of my projects have some costs to be kept online, which I can thankfully afford, but if you feel you want to contribute, here are some ways to do so.
Support me on Ko-fi If, on the other hand, you are a developer, try out Railway with the below link. For every referral who incurs more than $10 worth of usage and pays their first bill, I get credits to use on my projects. In addition, Railway provides $5 in credit each month for free!
Railway Railway
#Changelog 10/02/2024 Updated hosts list Added rules to .adblock file Removed partner.ads script Cosmetic and script tests set to 1 point each Improved hosts test with fake 404 page Toolz Collection of browser testing tools.
This website use
Umami for privacy-focused analytics
\ No newline at end of file
+ Toolz by d3ward - Home
Thank you! Until now, the number of people who got interested in my projects went way beyond my expectations, I'm so happy to see it grow daily! If you use any of them or find them valuable, I'll be grateful for your support!
You can support me for free in these ways :
Share the projects with others (friends, family or community)
Star and follow my projects
Contribute by opening issues or making PRs
Some of my projects have some costs to be kept online, which I can thankfully afford, but if you feel you want to contribute, here are some ways to do so.
Support me on Ko-fi If, on the other hand, you are a developer, try out Railway with the below link. For every referral who incurs more than $10 worth of usage and pays their first bill, I get credits to use on my projects. In addition, Railway provides $5 in credit each month for free!
Railway Railway
#Changelog 8/05/2024 Updated hosts list Removed some advertising hosts that were used for administration and not to serve ads. Added details for cosmetic and script tests Moved warning card for better UX #Changelog 10/02/2024 Updated hosts list Added rules to .adblock file Removed partner.ads script Cosmetic and script tests set to 1 point each Improved hosts test with fake 404 page Toolz Collection of browser testing tools.
This website use
Umami for privacy-focused analytics
\ No newline at end of file
diff --git a/js/adblock.js b/js/adblock.js
index 52dad0a..6519578 100644
--- a/js/adblock.js
+++ b/js/adblock.js
@@ -1 +1 @@
-(()=>{var t,e,o={383:function(t){t.exports=function(){"use strict";var t=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function e(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function o(t,e){return o=(e||document).querySelectorAll(t),Array.prototype.slice.call(o);var o}function s(t){(t.querySelector("[autofocus]")||t).focus()}function n(){o("[data-a11y-dialog]").forEach((function(t){new e(t)}))}return e.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=o('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=o("[data-a11y-dialog-hide]",this.$el).filter((function(e){return e.closest('[aria-modal="true"], [data-a11y-dialog]')===t})).concat(o('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},e.prototype.show=function(t){return this.shown||(document.documentElement.style.overflowY="hidden",this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,s(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t)),this},e.prototype.hide=function(t){return this.shown?(document.documentElement.style.overflowY="",this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},e.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},e.prototype.on=function(t,e){return void 0===this._listeners[t]&&(this._listeners[t]=[]),this._listeners[t].push(e),this},e.prototype.off=function(t,e){var o=(this._listeners[t]||[]).indexOf(e);return o>-1&&this._listeners[t].splice(o,1),this},e.prototype._fire=function(t,e){var o=this._listeners[t]||[],s=new CustomEvent(t,{detail:e});this.$el.dispatchEvent(s),o.forEach(function(t){t(this.$el,e)}.bind(this))},e.prototype._bindKeypress=function(e){const s=document.activeElement;s&&s.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,s){var n=function(e){return o(t.join(","),e).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(e),a=n.indexOf(document.activeElement);s.shiftKey&&0===a?(n[n.length-1].focus(),s.preventDefault()):s.shiftKey||a!==n.length-1||(n[0].focus(),s.preventDefault())}(this.$el,e))},e.prototype._maintainFocus=function(t){!this.shown||t.target.closest('[aria-modal="true"]')||t.target.closest("[data-a11y-dialog-ignore-focus-trap]")||s(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):window.requestAnimationFrame?window.requestAnimationFrame(n):window.setTimeout(n,16)),e}()}},s={};function n(t){var e=s[t];if(void 0!==e)return e.exports;var a=s[t]={exports:{}};return o[t].call(a.exports,a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(o,s){if(1&s&&(o=this(o)),8&s)return o;if("object"==typeof o&&o){if(4&s&&o.__esModule)return o;if(16&s&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&s&&o;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,n.d(a,i),a},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";const t=JSON.parse('{"Ads":{"Amazon":["adtago.s3.amazonaws.com","analyticsengine.s3.amazonaws.com","analytics.s3.amazonaws.com","advice-ads.s3.amazonaws.com","advertising-api-eu.amazon.com"],"Google Ads":["pagead2.googlesyndication.com","adservice.google.com","pagead2.googleadservices.com","afs.googlesyndication.com"],"Doubleclick.net":["stats.g.doubleclick.net","ad.doubleclick.net","static.doubleclick.net","m.doubleclick.net","mediavisor.doubleclick.net"],"Adcolony":["ads30.adcolony.com","adc3-launch.adcolony.com","events3alt.adcolony.com","wd.adcolony.com"],"Media.net":["static.media.net","media.net","adservetx.media.net"]},"Analytics":{"Google Analytics":["analytics.google.com","click.googleanalytics.com","google-analytics.com","ssl.google-analytics.com"],"Hotjar":["adm.hotjar.com","identify.hotjar.com","insights.hotjar.com","script.hotjar.com","surveys.hotjar.com","careers.hotjar.com","events.hotjar.io"],"MouseFlow":["mouseflow.com","cdn.mouseflow.com","o2.mouseflow.com","gtm.mouseflow.com","api.mouseflow.com","tools.mouseflow.com","cdn-test.mouseflow.com"],"FreshWorks":["freshmarketer.com","claritybt.freshmarketer.com","fwtracks.freshmarketer.com"],"Luckyorange":["luckyorange.com","api.luckyorange.com","realtime.luckyorange.com","cdn.luckyorange.com","w1.luckyorange.com","upload.luckyorange.net","cs.luckyorange.net","settings.luckyorange.net"],"Stats WP Plugin":["stats.wp.com"]},"Error Trackers":{"Bugsnag":["notify.bugsnag.com","sessions.bugsnag.com","api.bugsnag.com","app.bugsnag.com"],"Sentry":["browser.sentry-cdn.com","app.getsentry.com"]},"Social Trackers":{"Facebook":["pixel.facebook.com","an.facebook.com"],"Twitter":["static.ads-twitter.com","ads-api.twitter.com"],"LinkedIn":["ads.linkedin.com","analytics.pointdrive.linkedin.com"],"Pinterest":["ads.pinterest.com","log.pinterest.com","analytics.pinterest.com","trk.pinterest.com","widgets.pinterest.com"],"Reddit":["events.reddit.com","events.redditmedia.com"],"YouTube":["ads.youtube.com"],"TikTok":["ads-api.tiktok.com","analytics.tiktok.com","ads-sg.tiktok.com","analytics-sg.tiktok.com","business-api.tiktok.com","ads.tiktok.com","log.byteoversea.com"]},"Mix":{"Yahoo":["ads.yahoo.com","analytics.yahoo.com","geo.yahoo.com","udc.yahoo.com","udcm.yahoo.com","advertising.yahoo.com","analytics.query.yahoo.com","partnerads.ysm.yahoo.com","log.fc.yahoo.com","gemini.yahoo.com","adtech.yahooinc.com"],"Yandex":["extmaps-api.yandex.net","appmetrica.yandex.ru","adfstat.yandex.ru","metrika.yandex.ru","advertising.yandex.ru","offerwall.yandex.net","adfox.yandex.ru"],"Unity":["auction.unityads.unity3d.com","webview.unityads.unity3d.com","config.unityads.unity3d.com","adserver.unityads.unity3d.com"]},"OEMs":{"Realme":["iot-eu-logser.realme.com","iot-logser.realme.com","bdapi-ads.realmemobile.com","bdapi-in-ads.realmemobile.com"],"Xiaomi":["api.ad.xiaomi.com","data.mistat.xiaomi.com","data.mistat.india.xiaomi.com","data.mistat.rus.xiaomi.com","sdkconfig.ad.xiaomi.com","sdkconfig.ad.intl.xiaomi.com","tracking.rus.miui.com"],"Oppo":["adsfs.oppomobile.com","adx.ads.oppomobile.com","ck.ads.oppomobile.com","data.ads.oppomobile.com"],"Huawei":["metrics.data.hicloud.com","metrics2.data.hicloud.com","grs.hicloud.com","logservice.hicloud.com","logservice1.hicloud.com","logbak.hicloud.com"],"OnePlus":["click.oneplus.cn","open.oneplus.net"],"Samsung":["samsungads.com","smetrics.samsung.com","nmetrics.samsung.com","samsung-com.112.2o7.net","analytics-api.samsunghealthcn.com"],"Apple":["advertising.apple.com","iadsdk.apple.com","metrics.icloud.com","metrics.mzstatic.com","api-adservices.apple.com","books-analytics-events.apple.com","weather-analytics-events.apple.com","notes-analytics-events.apple.com"]}}');var e=n.t(t,2);const o={download:" ",delete:" ",cdot:" ",v:" ",x:" ",Ads:" ",Analytics:" ","Error Trackers":" ",Mix:" ",OEMs:" ","Social Trackers":" ",OnePlus:" ",Xiaomi:" ",Huawei:" ",Samsung:" ",Apple:" ",Facebook:" ",Twitter:" ",Sentry:" ",Bugsnag:" ",LinkedIn:" ",Pinterest:" ",Reddit:" ",TikTok:" ",Yahoo:" ",Hotjar:" ",YouTube:" ",Unity:" ","Google Ads":" ","Google Analytics":" ",Adcolony:" "};function s(){var t=this;t.n=document.querySelector("nav"),t.close=function(){document.body.style.overflow="auto",t.n.classList.remove("active")},t.open=function(){document.body.style.overflow="hidden",t.n.classList.add("active")},t.n&&(document.querySelector("nav>button").addEventListener("click",(()=>{console.log("toggleNav"),t.n.classList.contains("active")?t.close():t.open()})),document.querySelector("nav>.nav-overlay").addEventListener("click",(()=>{t.close()})),document.querySelectorAll("nav ul > a").forEach((e=>e.addEventListener("click",(()=>{t.close()})))))}var a=n(383),i=n.n(a);function c(){var t=document.getElementsByClassName("theme-toggle");if(window.CSS&&CSS.supports("color","var(--bg)")&&t){var e=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");e&&document.documentElement.setAttribute("data-theme",e);for(var o=0;o{window.scrollY>0?t.gt.classList.remove("hidden"):t.gt.classList.add("hidden")})),t.gt.onclick=function(e){e.preventDefault(),(document.documentElement.scrollTop||document.body.scrollTop>0)&&t.scrollToTop()}},t.gt&&t.listeners()}function l(){let t=document.querySelectorAll("[class*=_aos]");if(IntersectionObserver&&t){let e=new IntersectionObserver((function(t){t.forEach((t=>{t.isIntersecting&&!t.target.classList.contains("_aos-done")?t.target.classList.add("_aos-done"):t.target.classList.remove("_aos-done")}))}),{root:null,threshold:0});t.forEach((t=>{e.observe(t)}))}}function d(t,e){t.style.opacity=0,t.style.display=e||"block",function e(){var o=parseFloat(t.style.opacity);(o+=.1)>1||(t.style.opacity=o,requestAnimationFrame(e))}()}class h{constructor(t){this.LS=null,this.name=t,this.checkLS(),this.init(t)}clearAll(){this.LS.clear()}checkLS(){window&&window.localStorage?this.LS=window.localStorage:console.log("localStorage is there?")}init(t){this.LS&&(this.LS[t]?this.data=JSON.parse(this.LS[t]):this.data={})}set(t,e){this.data[t]=e,this.LS&&(this.LS[this.name]=JSON.stringify(this.data))}get(t){return!!this.data[t]&&this.data[t]}}const u=document.querySelector("#dlg_changelog"),m=new(i())(u);var p=new h("toolz");const v="3.1.0",g=p.get("version");g!==v&&(console.log(v,g),m.show(),p.set("version",v));var w=new h("adb_tool"),y=w.get("results"),f=w.get("settings");f&&null!=f.showCF||(f={collapseAll:!0,showCF:!0,showSL:!0},w.set("settings",f));var b="";y||(y=[]);var k=document.getElementById("test_log"),x=new function(t){const e=this;e.snack=document.createElement("div"),e.snack.className="snackbar",e.message=document.createElement("div"),e.snack.appendChild(e.message),document.body.appendChild(e.snack),e.top=t.topPos,e.classNames=t.classNames,e.autoClose="boolean"==typeof t.autoClose&&t.autoClose,e.autoCloseTimeout=t.autoClose&&"number"==typeof t.autoCloseTimeout?t.autoCloseTimeout:3e3,e.reset=function(){e.message.innerHTML="",e.snack.classList.remove(e.classNames)},e.show=function(t,o){e.hide(),e.message.innerHTML=t,e.snack.style.top=e.top,e.snack.classList.add(o||e.classNames),e.autoClose&&setTimeout((function(){e.hide()}),e.autoCloseTimeout)},e.hide=function(){e.snack.style.top="-100%",e.reset()}}({topPos:"10px",classNames:"success",autoClose:!0,autoCloseTimeout:2e3});async function _(t){try{await navigator.clipboard.writeText(t).then((()=>{x.show("URL copied to clipboard !")}))}catch(e){const o=document.createElement("textarea");o.value=t,o.setAttribute("readonly",""),o.style.position="absolute",o.style.left="-9999px",document.body.appendChild(o),o.select(),o.setSelectionRange(0,99999),document.execCommand("copy"),o.remove(),x.show("URL copied to clipboard !")}}var M={total:0,blocked:0,notblocked:0,cosmetic_test:{static:null,dynamic:null},script:{ads:null,pagead:null,partnerads:null},hosts:{}};const L=document.getElementById("test");async function C(t,e,s,n,a){const i=new AbortController,c={method:"HEAD",mode:"no-cors",signal:i.signal},r=setTimeout((()=>{i.abort()}),8e3);M.total+=1;var l=document.createElement("div");l.onclick=()=>{_(t)},e.appendChild(l);try{await fetch("https://"+t+"/fakepage.html",c,r,s,e).then((e=>{console.log(e),"basic"==e.type&&200==e.status?(l.innerHTML=o.v+""+t+" ",M.blocked+=1,Object.assign(M.hosts[n][a],{[t]:!0}),b+=" "+t+" - blocked"):(s.style.background="var(--red)",l.innerHTML=o.x+""+t+" ",M.notblocked+=1,Object.assign(M.hosts[n][a],{[t]:!1}),b+=" "+t+" - not blocked")})).catch((e=>{console.log(e),console.log(e.message),l.innerHTML=o.v+""+t+" ",M.blocked+=1,Object.assign(M.hosts[n][a],{[t]:!0}),b+=" "+t+" - blocked"}))}catch(t){console.log(t)}}function E(t,e){document.querySelectorAll(".test_collapse").forEach((o=>{1==t?o.parentElement.classList.add("show"):o.parentElement.classList.remove("show"),1==e&&o.addEventListener("click",(()=>{o.parentElement.classList.toggle("show")}))}))}const S=document.querySelector("#ctd_test");const z=document.querySelector(".lt_particles"),H=document.querySelector(".lt_cwrap");async function A(){document.querySelector(".lt_wrap").classList.add("start"),H.classList.add("start");let t=[];return 1==f.showCF?(M.total+=2,t.push(void setTimeout((function(){const t=document.querySelector("#cts_test");M.cosmetic_test.static=!t.clientHeight&&!t.offsetHeight&&"block"!=window.getComputedStyle(t,null).getPropertyValue("display"),M.blocked+=M.cosmetic_test.static?1:0,M.notblocked+=M.cosmetic_test.static?0:1,document.querySelector("#ct_static").classList.add(M.cosmetic_test.static?"_bg-green":"_bg-red");let e=document.createElement("div");k.appendChild(e),e.innerHTML=" cosmetic_static_ad : "+M.cosmetic_test.static+" ------------------------- ",T()}),500)),t.push(function(){let t=document.createElement("div"),e=document.createElement("div");e.id="ad_ctd",e.className="textads banner-ads banner_ads ad-unit afs_ads ad-zone ad-space adsbox",e.innerHTML=" ",S.appendChild(e),setTimeout((function(){let e=document.querySelector("#ad_ctd");M.cosmetic_test.dynamic=!e.offsetHeight&&!e.clientHeight&&"block"!=window.getComputedStyle(e,null).getPropertyValue("display"),M.blocked+=M.cosmetic_test.dynamic?1:0,M.notblocked+=M.cosmetic_test.dynamic?0:1,k.appendChild(t),t.innerHTML=" cosmetic_dynamic_ad : "+M.cosmetic_test.dynamic+" ------------------------- ",document.querySelector("#ct_dynamic").classList.add(M.cosmetic_test.dynamic?"_bg-green":"_bg-red"),T()}),500)}())):document.querySelector("#cf_wrap").style.display="none",1==f.showSL?(M.total+=2,t.push(function(){let t=document.createElement("div");const e=document.querySelector("#sfa_1"),o=document.querySelector("#sfa_2");M.script.ads="undefined"==typeof s_test_ads,M.script.pagead="undefined"==typeof s_test_pagead,M.script.partnerads="undefined"==typeof s_test_partnerads,e.classList.add(M.script.ads?"_bg-green":"_bg-red"),o.classList.add(M.script.pagead?"_bg-green":"_bg-red"),M.blocked+=(M.script.ads?1:0)+(M.script.pagead?1:0),M.notblocked+=(M.script.ads?0:1)+(M.script.pagead?0:1),k.appendChild(t),t.innerHTML="script_ads : "+M.script.ads+"
script_pagead : "+M.script.pagead+"
------------------------- ",T()}())):document.querySelector("#sl_wrap").style.display="none",t.push(async function(){let t=[];return Object.keys(e).forEach((s=>{if("default"!=s){var n=document.createElement("div");n.className="grid",n.id=s,n.innerHTML=""+o[s]+" "+s+" ",L.appendChild(n);var a=e[s],i=0;M.hosts[s]={};var c=document.createElement("div");c.classList.add("col-6");var r=document.createElement("div");r.classList.add("col-6"),n.appendChild(r),n.appendChild(c);var l=0;Object.keys(a).forEach((e=>{var n=document.createElement("div"),d=0,h=document.createElement("div");const u=document.createElement("div");h.classList.add("test"),h.id=e,h.style.background="var(--green)";let m=null!=o[e]?o[e]+" ":"";if(h.innerHTML="
"+m+e+" ",h.appendChild(u),l%2==0?r.appendChild(h):c.appendChild(h),l++,Object.assign(M.hosts[s],{[e]:{}}),Object.prototype.hasOwnProperty.call(a,e)){var p=a[e];for(let o=0;o
{T()}))),d++}n.innerHTML=e+" => n° tests => "+d,k.appendChild(n),i+=d}));var d=document.createElement("div");d.innerHTML=s+" => Total n° tests => "+i+" ------------------------- ",k.appendChild(d)}})),await Promise.all(t)}()),await Promise.all(t)}function T(){var t=100/M.total*M.blocked,e=t>30?t>60?"var(--green)":"var(--orange)":"var(--red)";document.body.style.setProperty("--liquid-percentage",45-t+"%"),document.body.style.setProperty("--liquid-color",e),document.body.style.setProperty("--liquid-title","'"+Math.round(t)+"%'")}function j(){!function(t,e){t.style.opacity=1,function o(){(t.style.opacity-=.1)<0?(t.style.display="none",e&&e()):requestAnimationFrame(o)}()}(z,(()=>{document.querySelector(".lt_wrap").classList.remove("start"),d(z,"flex"),document.body.classList.remove("_overflowhidden")})),H.classList.remove("start"),console.log(M)}function O(){var t=document.querySelector(".r_wrap");t.innerHTML="",y.forEach(((e,s)=>{var n=document.createElement("div");n.className="col-6";var a=y[s].abt,i=""+o.cdot+"Total : "+a.total+" "+o.x+" "+a.notblocked+" not blocked "+o.v+" "+a.blocked+" blocked ";n.innerHTML=""+i+"
"+e.date+' -1&&this._listeners[t].splice(o,1),this},e.prototype._fire=function(t,e){var o=this._listeners[t]||[],s=new CustomEvent(t,{detail:e});this.$el.dispatchEvent(s),o.forEach(function(t){t(this.$el,e)}.bind(this))},e.prototype._bindKeypress=function(e){const s=document.activeElement;s&&s.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,s){var n=function(e){return o(t.join(","),e).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(e),a=n.indexOf(document.activeElement);s.shiftKey&&0===a?(n[n.length-1].focus(),s.preventDefault()):s.shiftKey||a!==n.length-1||(n[0].focus(),s.preventDefault())}(this.$el,e))},e.prototype._maintainFocus=function(t){!this.shown||t.target.closest('[aria-modal="true"]')||t.target.closest("[data-a11y-dialog-ignore-focus-trap]")||s(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):window.requestAnimationFrame?window.requestAnimationFrame(n):window.setTimeout(n,16)),e}()}},s={};function n(t){var e=s[t];if(void 0!==e)return e.exports;var a=s[t]={exports:{}};return o[t].call(a.exports,a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(o,s){if(1&s&&(o=this(o)),8&s)return o;if("object"==typeof o&&o){if(4&s&&o.__esModule)return o;if(16&s&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&s&&o;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,n.d(a,i),a},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";const t=JSON.parse('{"Ads":{"Amazon":["adtago.s3.amazonaws.com","analyticsengine.s3.amazonaws.com","analytics.s3.amazonaws.com","advice-ads.s3.amazonaws.com"],"Google Ads":["pagead2.googlesyndication.com","adservice.google.com","pagead2.googleadservices.com","afs.googlesyndication.com"],"Doubleclick.net":["stats.g.doubleclick.net","ad.doubleclick.net","static.doubleclick.net","m.doubleclick.net","mediavisor.doubleclick.net"],"Adcolony":["ads30.adcolony.com","adc3-launch.adcolony.com","events3alt.adcolony.com","wd.adcolony.com"],"Media.net":["static.media.net","media.net","adservetx.media.net"]},"Analytics":{"Google Analytics":["analytics.google.com","click.googleanalytics.com","google-analytics.com","ssl.google-analytics.com"],"Hotjar":["adm.hotjar.com","identify.hotjar.com","insights.hotjar.com","script.hotjar.com","surveys.hotjar.com","careers.hotjar.com","events.hotjar.io"],"MouseFlow":["mouseflow.com","cdn.mouseflow.com","o2.mouseflow.com","gtm.mouseflow.com","api.mouseflow.com","tools.mouseflow.com","cdn-test.mouseflow.com"],"FreshWorks":["freshmarketer.com","claritybt.freshmarketer.com","fwtracks.freshmarketer.com"],"Luckyorange":["luckyorange.com","api.luckyorange.com","realtime.luckyorange.com","cdn.luckyorange.com","w1.luckyorange.com","upload.luckyorange.net","cs.luckyorange.net","settings.luckyorange.net"],"Stats WP Plugin":["stats.wp.com"]},"Error Trackers":{"Bugsnag":["notify.bugsnag.com","sessions.bugsnag.com","api.bugsnag.com","app.bugsnag.com"],"Sentry":["browser.sentry-cdn.com","app.getsentry.com"]},"Social Trackers":{"Facebook":["pixel.facebook.com","an.facebook.com"],"Twitter":["static.ads-twitter.com","ads-api.twitter.com"],"LinkedIn":["ads.linkedin.com","analytics.pointdrive.linkedin.com"],"Pinterest":["ads.pinterest.com","log.pinterest.com","analytics.pinterest.com","trk.pinterest.com","widgets.pinterest.com"],"Reddit":["events.reddit.com","events.redditmedia.com"],"YouTube":["ads.youtube.com"],"TikTok":["ads-api.tiktok.com","analytics.tiktok.com","ads-sg.tiktok.com","analytics-sg.tiktok.com","business-api.tiktok.com","ads.tiktok.com","log.byteoversea.com"]},"Mix":{"Yahoo":["ads.yahoo.com","analytics.yahoo.com","geo.yahoo.com","udc.yahoo.com","udcm.yahoo.com","analytics.query.yahoo.com","partnerads.ysm.yahoo.com","log.fc.yahoo.com","gemini.yahoo.com","adtech.yahooinc.com"],"Yandex":["extmaps-api.yandex.net","appmetrica.yandex.ru","adfstat.yandex.ru","metrika.yandex.ru","offerwall.yandex.net","adfox.yandex.ru"],"Unity":["auction.unityads.unity3d.com","webview.unityads.unity3d.com","config.unityads.unity3d.com","adserver.unityads.unity3d.com"]},"OEMs":{"Realme":["iot-eu-logser.realme.com","iot-logser.realme.com","bdapi-ads.realmemobile.com","bdapi-in-ads.realmemobile.com"],"Xiaomi":["api.ad.xiaomi.com","data.mistat.xiaomi.com","data.mistat.india.xiaomi.com","data.mistat.rus.xiaomi.com","sdkconfig.ad.xiaomi.com","sdkconfig.ad.intl.xiaomi.com","tracking.rus.miui.com"],"Oppo":["adsfs.oppomobile.com","adx.ads.oppomobile.com","ck.ads.oppomobile.com","data.ads.oppomobile.com"],"Huawei":["metrics.data.hicloud.com","metrics2.data.hicloud.com","grs.hicloud.com","logservice.hicloud.com","logservice1.hicloud.com","logbak.hicloud.com"],"OnePlus":["click.oneplus.cn","open.oneplus.net"],"Samsung":["samsungads.com","smetrics.samsung.com","nmetrics.samsung.com","samsung-com.112.2o7.net","analytics-api.samsunghealthcn.com"],"Apple":["iadsdk.apple.com","metrics.icloud.com","metrics.mzstatic.com","api-adservices.apple.com","books-analytics-events.apple.com","weather-analytics-events.apple.com","notes-analytics-events.apple.com"]}}');var e=n.t(t,2);const o={download:" ",delete:" ",cdot:" ",v:" ",x:" ",Ads:" ",Analytics:" ","Error Trackers":" ",Mix:" ",OEMs:" ","Social Trackers":" ",OnePlus:" ",Xiaomi:" ",Huawei:" ",Samsung:" ",Apple:" ",Facebook:" ",Twitter:" ",Sentry:" ",Bugsnag:" ",LinkedIn:" ",Pinterest:" ",Reddit:" ",TikTok:" ",Yahoo:" ",Hotjar:" ",YouTube:" ",Unity:" ","Google Ads":" ","Google Analytics":" ",Adcolony:" "};function s(){var t=this;t.n=document.querySelector("nav"),t.close=function(){document.body.style.overflow="auto",t.n.classList.remove("active")},t.open=function(){document.body.style.overflow="hidden",t.n.classList.add("active")},t.n&&(document.querySelector("nav>button").addEventListener("click",(()=>{console.log("toggleNav"),t.n.classList.contains("active")?t.close():t.open()})),document.querySelector("nav>.nav-overlay").addEventListener("click",(()=>{t.close()})),document.querySelectorAll("nav ul > a").forEach((e=>e.addEventListener("click",(()=>{t.close()})))))}var a=n(383),i=n.n(a);function c(){var t=document.getElementsByClassName("theme-toggle");if(window.CSS&&CSS.supports("color","var(--bg)")&&t){var e=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");e&&document.documentElement.setAttribute("data-theme",e);for(var o=0;o{window.scrollY>0?t.gt.classList.remove("hidden"):t.gt.classList.add("hidden")})),t.gt.onclick=function(e){e.preventDefault(),(document.documentElement.scrollTop||document.body.scrollTop>0)&&t.scrollToTop()}},t.gt&&t.listeners()}function l(){let t=document.querySelectorAll("[class*=_aos]");if(IntersectionObserver&&t){let e=new IntersectionObserver((function(t){t.forEach((t=>{t.isIntersecting&&!t.target.classList.contains("_aos-done")?t.target.classList.add("_aos-done"):t.target.classList.remove("_aos-done")}))}),{root:null,threshold:0});t.forEach((t=>{e.observe(t)}))}}function d(t,e){t.style.opacity=0,t.style.display=e||"block",function e(){var o=parseFloat(t.style.opacity);(o+=.1)>1||(t.style.opacity=o,requestAnimationFrame(e))}()}class h{constructor(t){this.LS=null,this.name=t,this.checkLS(),this.init(t)}clearAll(){this.LS.clear()}checkLS(){window&&window.localStorage?this.LS=window.localStorage:console.log("localStorage is there?")}init(t){this.LS&&(this.LS[t]?this.data=JSON.parse(this.LS[t]):this.data={})}set(t,e){this.data[t]=e,this.LS&&(this.LS[this.name]=JSON.stringify(this.data))}get(t){return!!this.data[t]&&this.data[t]}}const u=document.querySelector("#dlg_changelog"),m=new(i())(u);var p=new h("toolz");const v="3.1.2",g=p.get("version");g!==v&&(console.log(v,g),m.show(),p.set("version",v));var w=new h("adb_tool"),y=w.get("results"),f=w.get("settings");f&&null!=f.showCF||(f={collapseAll:!0,showCF:!0,showSL:!0},w.set("settings",f));var b="";y||(y=[]);var k=document.getElementById("test_log"),_=new function(t){const e=this;e.snack=document.createElement("div"),e.snack.className="snackbar",e.message=document.createElement("div"),e.snack.appendChild(e.message),document.body.appendChild(e.snack),e.top=t.topPos,e.classNames=t.classNames,e.autoClose="boolean"==typeof t.autoClose&&t.autoClose,e.autoCloseTimeout=t.autoClose&&"number"==typeof t.autoCloseTimeout?t.autoCloseTimeout:3e3,e.reset=function(){e.message.innerHTML="",e.snack.classList.remove(e.classNames)},e.show=function(t,o){e.hide(),e.message.innerHTML=t,e.snack.style.top=e.top,e.snack.classList.add(o||e.classNames),e.autoClose&&setTimeout((function(){e.hide()}),e.autoCloseTimeout)},e.hide=function(){e.snack.style.top="-100%",e.reset()}}({topPos:"10px",classNames:"success",autoClose:!0,autoCloseTimeout:2e3});async function x(t){try{await navigator.clipboard.writeText(t).then((()=>{_.show("URL copied to clipboard !")}))}catch(e){const o=document.createElement("textarea");o.value=t,o.setAttribute("readonly",""),o.style.position="absolute",o.style.left="-9999px",document.body.appendChild(o),o.select(),o.setSelectionRange(0,99999),document.execCommand("copy"),o.remove(),_.show("URL copied to clipboard !")}}var M={total:0,blocked:0,notblocked:0,cosmetic_test:{static:null,dynamic:null},script:{ads:null,pagead:null,partnerads:null},hosts:{}};const L=document.getElementById("test");async function C(t,e,s,n,a){const i=new AbortController,c={method:"HEAD",mode:"no-cors",signal:i.signal},r=setTimeout((()=>{i.abort()}),8e3);M.total+=1;var l=document.createElement("div");l.onclick=()=>{x(t)},e.appendChild(l);try{await fetch("https://"+t+"/fakepage.html",c,r,s,e).then((e=>{console.log(e),"basic"==e.type&&200==e.status?(l.innerHTML=o.v+""+t+" ",M.blocked+=1,Object.assign(M.hosts[n][a],{[t]:!0}),b+=" "+t+" - blocked"):(s.style.background="var(--red)",l.innerHTML=o.x+""+t+" ",M.notblocked+=1,Object.assign(M.hosts[n][a],{[t]:!1}),b+=" "+t+" - not blocked")})).catch((e=>{console.log(e),console.log(e.message),l.innerHTML=o.v+""+t+" ",M.blocked+=1,Object.assign(M.hosts[n][a],{[t]:!0}),b+=" "+t+" - blocked"}))}catch(t){console.log(t)}}function E(t,e){document.querySelectorAll(".test_collapse").forEach((o=>{1==t?o.parentElement.classList.add("show"):o.parentElement.classList.remove("show"),1==e&&o.addEventListener("click",(()=>{o.parentElement.classList.toggle("show")}))}))}const S=document.querySelector("#ctd_test");const z=document.querySelector(".lt_particles"),H=document.querySelector(".lt_cwrap");async function A(){document.querySelector(".lt_wrap").classList.add("start"),H.classList.add("start");let t=[];return 1==f.showCF?(M.total+=2,t.push(void setTimeout((function(){const t=document.querySelector("#cts_test");M.cosmetic_test.static=!t.clientHeight&&!t.offsetHeight&&"block"!=window.getComputedStyle(t,null).getPropertyValue("display"),M.blocked+=M.cosmetic_test.static?1:0,M.notblocked+=M.cosmetic_test.static?0:1,document.querySelector("#ct_static").classList.add(M.cosmetic_test.static?"_bg-green":"_bg-red");let e=document.createElement("div");k.appendChild(e),e.innerHTML=" cosmetic_static_ad : "+M.cosmetic_test.static+" ------------------------- ",T()}),500)),t.push(function(){let t=document.createElement("div"),e=document.createElement("div");e.id="ad_ctd",e.className="textads banner-ads banner_ads ad-unit afs_ads ad-zone ad-space adsbox",e.innerHTML=" ",S.appendChild(e),setTimeout((function(){let e=document.querySelector("#ad_ctd");M.cosmetic_test.dynamic=!e.offsetHeight&&!e.clientHeight&&"block"!=window.getComputedStyle(e,null).getPropertyValue("display"),M.blocked+=M.cosmetic_test.dynamic?1:0,M.notblocked+=M.cosmetic_test.dynamic?0:1,k.appendChild(t),t.innerHTML=" cosmetic_dynamic_ad : "+M.cosmetic_test.dynamic+" ------------------------- ",document.querySelector("#ct_dynamic").classList.add(M.cosmetic_test.dynamic?"_bg-green":"_bg-red"),T()}),500)}())):document.querySelector("#cf_wrap").style.display="none",1==f.showSL?(M.total+=2,t.push(function(){let t=document.createElement("div");const e=document.querySelector("#sfa_1"),o=document.querySelector("#sfa_2");M.script.ads="undefined"==typeof s_test_ads,M.script.pagead="undefined"==typeof s_test_pagead,M.script.partnerads="undefined"==typeof s_test_partnerads,e.classList.add(M.script.ads?"_bg-green":"_bg-red"),o.classList.add(M.script.pagead?"_bg-green":"_bg-red"),M.blocked+=(M.script.ads?1:0)+(M.script.pagead?1:0),M.notblocked+=(M.script.ads?0:1)+(M.script.pagead?0:1),k.appendChild(t),t.innerHTML="script_ads : "+M.script.ads+"
script_pagead : "+M.script.pagead+"
------------------------- ",T()}())):document.querySelector("#sl_wrap").style.display="none",t.push(async function(){let t=[];return Object.keys(e).forEach((s=>{if("default"!=s){var n=document.createElement("div");n.className="grid",n.id=s,n.innerHTML=""+o[s]+" "+s+" ",L.appendChild(n);var a=e[s],i=0;M.hosts[s]={};var c=document.createElement("div");c.classList.add("col-6");var r=document.createElement("div");r.classList.add("col-6"),n.appendChild(r),n.appendChild(c);var l=0;Object.keys(a).forEach((e=>{var n=document.createElement("div"),d=0,h=document.createElement("div");const u=document.createElement("div");h.classList.add("test"),h.id=e,h.style.background="var(--green)";let m=null!=o[e]?o[e]+" ":"";if(h.innerHTML="
"+m+e+" ",h.appendChild(u),l%2==0?r.appendChild(h):c.appendChild(h),l++,Object.assign(M.hosts[s],{[e]:{}}),Object.prototype.hasOwnProperty.call(a,e)){var p=a[e];for(let o=0;o
{T()}))),d++}n.innerHTML=e+" => n° tests => "+d,k.appendChild(n),i+=d}));var d=document.createElement("div");d.innerHTML=s+" => Total n° tests => "+i+" ------------------------- ",k.appendChild(d)}})),await Promise.all(t)}()),await Promise.all(t)}function T(){var t=100/M.total*M.blocked,e=t>30?t>60?"var(--green)":"var(--orange)":"var(--red)";document.body.style.setProperty("--liquid-percentage",45-t+"%"),document.body.style.setProperty("--liquid-color",e),document.body.style.setProperty("--liquid-title","'"+Math.round(t)+"%'")}function j(){!function(t,e){t.style.opacity=1,function o(){(t.style.opacity-=.1)<0?(t.style.display="none",e&&e()):requestAnimationFrame(o)}()}(z,(()=>{document.querySelector(".lt_wrap").classList.remove("start"),d(z,"flex"),document.body.classList.remove("_overflowhidden")})),H.classList.remove("start"),console.log(M)}function O(){var t=document.querySelector(".r_wrap");t.innerHTML="",y.forEach(((e,s)=>{var n=document.createElement("div");n.className="col-6";var a=y[s].abt,i=""+o.cdot+"Total : "+a.total+" "+o.x+" "+a.notblocked+" not blocked "+o.v+" "+a.blocked+" blocked ";n.innerHTML=""+i+"
"+e.date+' -1&&this._listeners[t].splice(i,1),this},e.prototype._fire=function(t,e){var i=this._listeners[t]||[],n=new CustomEvent(t,{detail:e});this.$el.dispatchEvent(n),i.forEach(function(t){t(this.$el,e)}.bind(this))},e.prototype._bindKeypress=function(e){const n=document.activeElement;n&&n.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,n){var o=function(e){return i(t.join(","),e).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(e),s=o.indexOf(document.activeElement);n.shiftKey&&0===s?(o[o.length-1].focus(),n.preventDefault()):n.shiftKey||s!==o.length-1||(o[0].focus(),n.preventDefault())}(this.$el,e))},e.prototype._maintainFocus=function(t){!this.shown||t.target.closest('[aria-modal="true"]')||t.target.closest("[data-a11y-dialog-ignore-focus-trap]")||n(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,16)),e}()}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(){var t=this;t.n=document.querySelector("nav"),t.close=function(){document.body.style.overflow="auto",t.n.classList.remove("active")},t.open=function(){document.body.style.overflow="hidden",t.n.classList.add("active")},t.n&&(document.querySelector("nav>button").addEventListener("click",(()=>{console.log("toggleNav"),t.n.classList.contains("active")?t.close():t.open()})),document.querySelector("nav>.nav-overlay").addEventListener("click",(()=>{t.close()})),document.querySelectorAll("nav ul > a").forEach((e=>e.addEventListener("click",(()=>{t.close()})))))}var e=i(383),n=i.n(e);function o(){var t=document.getElementsByClassName("theme-toggle");if(window.CSS&&CSS.supports("color","var(--bg)")&&t){var e=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");e&&document.documentElement.setAttribute("data-theme",e);for(var i=0;i{window.scrollY>0?t.gt.classList.remove("hidden"):t.gt.classList.add("hidden")})),t.gt.onclick=function(e){e.preventDefault(),(document.documentElement.scrollTop||document.body.scrollTop>0)&&t.scrollToTop()}},t.gt&&t.listeners()}function r(){let t=document.querySelectorAll("[class*=_aos]");if(IntersectionObserver&&t){let e=new IntersectionObserver((function(t){t.forEach((t=>{t.isIntersecting&&!t.target.classList.contains("_aos-done")?t.target.classList.add("_aos-done"):t.target.classList.remove("_aos-done")}))}),{root:null,threshold:0});t.forEach((t=>{e.observe(t)}))}}const a=document.querySelector("#dlg_changelog");new(n())(a);const d="3.1.0";var c=new class{constructor(t){this.LS=null,this.name=t,this.checkLS(),this.init(t)}clearAll(){this.LS.clear()}checkLS(){window&&window.localStorage?this.LS=window.localStorage:console.log("localStorage is there?")}init(t){this.LS&&(this.LS[t]?this.data=JSON.parse(this.LS[t]):this.data={})}set(t,e){this.data[t]=e,this.LS&&(this.LS[this.name]=JSON.stringify(this.data))}get(t){return!!this.data[t]&&this.data[t]}}("toolz").get("version");console.log(c,d),document.addEventListener("DOMContentLoaded",(()=>{new o,new t,new s,new r}))})()})();
\ No newline at end of file
+(()=>{var t={383:function(t){t.exports=function(){"use strict";var t=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function e(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function i(t,e){return i=(e||document).querySelectorAll(t),Array.prototype.slice.call(i);var i}function n(t){(t.querySelector("[autofocus]")||t).focus()}function o(){i("[data-a11y-dialog]").forEach((function(t){new e(t)}))}return e.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=i('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=i("[data-a11y-dialog-hide]",this.$el).filter((function(e){return e.closest('[aria-modal="true"], [data-a11y-dialog]')===t})).concat(i('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},e.prototype.show=function(t){return this.shown||(document.documentElement.style.overflowY="hidden",this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,n(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t)),this},e.prototype.hide=function(t){return this.shown?(document.documentElement.style.overflowY="",this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},e.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},e.prototype.on=function(t,e){return void 0===this._listeners[t]&&(this._listeners[t]=[]),this._listeners[t].push(e),this},e.prototype.off=function(t,e){var i=(this._listeners[t]||[]).indexOf(e);return i>-1&&this._listeners[t].splice(i,1),this},e.prototype._fire=function(t,e){var i=this._listeners[t]||[],n=new CustomEvent(t,{detail:e});this.$el.dispatchEvent(n),i.forEach(function(t){t(this.$el,e)}.bind(this))},e.prototype._bindKeypress=function(e){const n=document.activeElement;n&&n.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,n){var o=function(e){return i(t.join(","),e).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(e),s=o.indexOf(document.activeElement);n.shiftKey&&0===s?(o[o.length-1].focus(),n.preventDefault()):n.shiftKey||s!==o.length-1||(o[0].focus(),n.preventDefault())}(this.$el,e))},e.prototype._maintainFocus=function(t){!this.shown||t.target.closest('[aria-modal="true"]')||t.target.closest("[data-a11y-dialog-ignore-focus-trap]")||n(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,16)),e}()}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(){var t=this;t.n=document.querySelector("nav"),t.close=function(){document.body.style.overflow="auto",t.n.classList.remove("active")},t.open=function(){document.body.style.overflow="hidden",t.n.classList.add("active")},t.n&&(document.querySelector("nav>button").addEventListener("click",(()=>{console.log("toggleNav"),t.n.classList.contains("active")?t.close():t.open()})),document.querySelector("nav>.nav-overlay").addEventListener("click",(()=>{t.close()})),document.querySelectorAll("nav ul > a").forEach((e=>e.addEventListener("click",(()=>{t.close()})))))}var e=i(383),n=i.n(e);function o(){var t=document.getElementsByClassName("theme-toggle");if(window.CSS&&CSS.supports("color","var(--bg)")&&t){var e=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");e&&document.documentElement.setAttribute("data-theme",e);for(var i=0;i{window.scrollY>0?t.gt.classList.remove("hidden"):t.gt.classList.add("hidden")})),t.gt.onclick=function(e){e.preventDefault(),(document.documentElement.scrollTop||document.body.scrollTop>0)&&t.scrollToTop()}},t.gt&&t.listeners()}function r(){let t=document.querySelectorAll("[class*=_aos]");if(IntersectionObserver&&t){let e=new IntersectionObserver((function(t){t.forEach((t=>{t.isIntersecting&&!t.target.classList.contains("_aos-done")?t.target.classList.add("_aos-done"):t.target.classList.remove("_aos-done")}))}),{root:null,threshold:0});t.forEach((t=>{e.observe(t)}))}}const a=document.querySelector("#dlg_changelog");new(n())(a);const d="3.1.2";var c=new class{constructor(t){this.LS=null,this.name=t,this.checkLS(),this.init(t)}clearAll(){this.LS.clear()}checkLS(){window&&window.localStorage?this.LS=window.localStorage:console.log("localStorage is there?")}init(t){this.LS&&(this.LS[t]?this.data=JSON.parse(this.LS[t]):this.data={})}set(t,e){this.data[t]=e,this.LS&&(this.LS[this.name]=JSON.stringify(this.data))}get(t){return!!this.data[t]&&this.data[t]}}("toolz").get("version");console.log(c,d),document.addEventListener("DOMContentLoaded",(()=>{new o,new t,new s,new r}))})()})();
\ No newline at end of file
diff --git a/units.html b/units.html
index a8724ed..18de016 100644
--- a/units.html
+++ b/units.html
@@ -1 +1 @@
- Units - Toolz
Thank you! Until now, the number of people who got interested in my projects went way beyond my expectations, I'm so happy to see it grow daily! If you use any of them or find them valuable, I'll be grateful for your support!
You can support me for free in these ways :
Share the projects with others (friends, family or community)
Star and follow my projects
Contribute by opening issues or making PRs
Some of my projects have some costs to be kept online, which I can thankfully afford, but if you feel you want to contribute, here are some ways to do so.
Support me on Ko-fi If, on the other hand, you are a developer, try out Railway with the below link. For every referral who incurs more than $10 worth of usage and pays their first bill, I get credits to use on my projects. In addition, Railway provides $5 in credit each month for free!
Railway Railway
#Changelog 10/02/2024 Updated hosts list Added rules to .adblock file Removed partner.ads script Cosmetic and script tests set to 1 point each Improved hosts test with fake 404 page Units innerHeight property returns the height of the content area of a window vh = 1% of the height of the viewport size 5 Units can be used with CSS to fix mobile issues; if you use a unit that does not match the innerheight, the user visiting your site may not see some absolute or fixed buttons because they are hidden by the navigation bar. One of the browsers most affected by this problem is Webkit-based, so several units have been introduced over the years to compensate for the problem. These tests can be used to check the value of each unit.
This website use
Umami for privacy-focused analytics
\ No newline at end of file
+ Units - Toolz
Thank you! Until now, the number of people who got interested in my projects went way beyond my expectations, I'm so happy to see it grow daily! If you use any of them or find them valuable, I'll be grateful for your support!
You can support me for free in these ways :
Share the projects with others (friends, family or community)
Star and follow my projects
Contribute by opening issues or making PRs
Some of my projects have some costs to be kept online, which I can thankfully afford, but if you feel you want to contribute, here are some ways to do so.
Support me on Ko-fi If, on the other hand, you are a developer, try out Railway with the below link. For every referral who incurs more than $10 worth of usage and pays their first bill, I get credits to use on my projects. In addition, Railway provides $5 in credit each month for free!
Railway Railway
#Changelog 8/05/2024 Updated hosts list Removed some advertising hosts that were used for administration and not to serve ads. Added details for cosmetic and script tests Moved warning card for better UX #Changelog 10/02/2024 Updated hosts list Added rules to .adblock file Removed partner.ads script Cosmetic and script tests set to 1 point each Improved hosts test with fake 404 page Units innerHeight property returns the height of the content area of a window vh = 1% of the height of the viewport size 5 Units can be used with CSS to fix mobile issues; if you use a unit that does not match the innerheight, the user visiting your site may not see some absolute or fixed buttons because they are hidden by the navigation bar. One of the browsers most affected by this problem is Webkit-based, so several units have been introduced over the years to compensate for the problem. These tests can be used to check the value of each unit.
This website use
Umami for privacy-focused analytics
\ No newline at end of file