diff --git a/.assets/storage/misc/png/4.png b/.assets/storage/misc/png/4.png new file mode 100644 index 0000000..92596dc Binary files /dev/null and b/.assets/storage/misc/png/4.png differ diff --git a/.assets/storage/misc/png/5.png b/.assets/storage/misc/png/5.png new file mode 100644 index 0000000..4edb936 Binary files /dev/null and b/.assets/storage/misc/png/5.png differ diff --git a/.assets/storage/misc/png/6.png b/.assets/storage/misc/png/6.png new file mode 100644 index 0000000..dd14ed0 Binary files /dev/null and b/.assets/storage/misc/png/6.png differ diff --git a/browse/index.html b/browse/index.html index 3db4a09..357e87e 100644 --- a/browse/index.html +++ b/browse/index.html @@ -98,6 +98,9 @@

+ @@ -196,6 +199,7 @@

${product.name}
param('1', 'n') a.innerHTML = ".filter-themes { display: none }"; } + byteconfused() } function handleExtensionFilter() { var a = document.getElementById("css-filter-extensions"); @@ -205,7 +209,16 @@
${product.name}
} else { param('2', 'n'); a.innerHTML = ".filter-extensions { display: none }"; - } + } + byteconfused() + } + + function byteconfused() { + var byte = document.getElementById("byte-confused") + var url = new URL(window.location.href) + + if(url.searchParams.get('1') == 'n' && url.searchParams.get('2') == 'n') { byte.style.display = "inline" } + else { byte.style.display = "none" } } filterThemes.addEventListener('change', handleThemeFilter) @@ -225,6 +238,7 @@
${product.name}
if(url.searchParams.get('2') == 'y') { b.innerHTML = ""; d.checked = true } else if(url.searchParams.get('2') == 'n') { b.innerHTML = ".filter-extensions { display: none }"; d.checked = false } else { b.innerHTML = ""; d.checked = true } + byteconfused() } filter()