diff --git a/public/scripts/cursor.js b/public/scripts/cursor.js new file mode 100644 index 0000000..b871a07 --- /dev/null +++ b/public/scripts/cursor.js @@ -0,0 +1,196 @@ +// 1 || Math.abs(y-oy)>1) { + ox=x; + oy=y; + for (c=0; c0) sw_min=document.documentElement.clientWidth; + if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight; + } + if (typeof(self.innerWidth)=='number' && self.innerWidth) { + if (self.innerWidth>0 && self.innerWidth0 && self.innerHeight0 && document.body.clientWidth0 && document.body.clientHeight \ No newline at end of file diff --git a/public/scripts/fuckchrome.js b/public/scripts/fuckchrome.js new file mode 100644 index 0000000..3bdc429 --- /dev/null +++ b/public/scripts/fuckchrome.js @@ -0,0 +1,7 @@ + +let chromium = /Chrome|Chromium|OPR|Opera|Edge|UC|QQ|Brave/.test( + navigator.userAgent + ); + let disclaimer = `
`; + if (chromium) + window.location.replace("/nochrome"); \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4b22e57..236121b 100755 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -23,13 +23,7 @@ const { title } = Astro.props;