mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
Github Action: Auto Minified JS and CSS files
This commit is contained in:
parent
4494b2700b
commit
2ba177e05a
1
js/min/ajax.min.js
vendored
Normal file
1
js/min/ajax.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
function delay(a){return new Promise(b=>{setTimeout(b,a)})}var year=new Date().getFullYear(),userip=0;$.getJSON("https://europe-central2-portfolio-website-374313.cloudfunctions.net/getip",function(a){userip=a.ip});var screenWidth=window.innerWidth,responsiveElements=document.getElementsByClassName("responsive");if(resppage=!0)for(var i=0;i<responsiveElements.length;i++)responsiveElements[i].style.width=screenWidth/responsiveElements.length+"px";
|
||||
0
js/min/counter.min.js
vendored
Normal file
0
js/min/counter.min.js
vendored
Normal file
1
js/min/down.min.js
vendored
Normal file
1
js/min/down.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
function delay(a){return new Promise(b=>{setTimeout(b,a)})}window.onload=async function(){const a=new AbortController,b=setTimeout(()=>a.abort(),1e4);for(;;)await fetch("https://t0m0t0w.github.io/backuprr/history.dat",{cache:"no-store"},{signal:a.signal}).then(()=>{})},window.onload=async function(){await delay(6e4),location.reload()};
|
||||
Loading…
x
Reference in New Issue
Block a user