diff --git a/frontend/about.html b/frontend/about.html index 1e2a66d..e753a3b 100644 --- a/frontend/about.html +++ b/frontend/about.html @@ -20,14 +20,16 @@ -

Welcome to EveryTab, a collection of every site on the web.

+

Welcome to EveryTab, a collection of every site on the web!

-

Click on a tab to visit the site. Scroll down for more tabs. Some sites, marked with an ↗, do not allow embedding and will open externally.

+

Click on a tab to visit the site and scroll down for more tabs.

The web data come from Common Crawl, a free, open archive of the web.

Note that, like the web itself, some sites are broken, profane, pornographic, trying to harvest your data, serving malware, or an affront to humanity itself. But some of them are pretty cool too.

-

EveryTab just shows a random slice of the web, in all its messy and beautiful glory. Enjoy!

+

EveryTab just shows a random slice of the web, in all its messy and beautiful glory.

+ +

Enjoy!

diff --git a/frontend/site.js b/frontend/site.js index 9856185..d32fa61 100644 --- a/frontend/site.js +++ b/frontend/site.js @@ -13,6 +13,7 @@ const rng = mulberry32(Date.now()); const loadedBundles = new Set(); const container = document.getElementById("tab-container"); const loadingEl = document.getElementById("loading"); +const showAll = new URLSearchParams(window.location.search).has("all"); // Detect browser and OS, set classes on body for tab styling function detectBrowser() { @@ -203,7 +204,8 @@ async function loadMore() { const idx = pickBundle(); if (idx === -1) break; try { - const bundleEntries = await fetchBundle(idx); + let bundleEntries = await fetchBundle(idx); + if (!showAll) bundleEntries = bundleEntries.filter(e => e.iframe_ok); entries = entries.concat(bundleEntries); } catch (e) { console.error("Failed to load bundle:", e);