Juno<p>Recently I set up UBlock Origin to have JavaScript disabled by default.</p><p>Right now, I have to manually allow each page to run JavaScript, either permanently or for the current session.</p><p>While an extra nuisance at times, stuff I trust is already allowed, so most of the time it is not an issue.</p><p>Also, many pages do work without JavaScript. Particularly if you are there just to read something. But the other thing is that it gives you an extra layer of control similar to how you can weigh if it's worth it or not to turn off ad blocking for a certain website.</p><p>A great example of trivial JavaScript is Imgur. Believe it or not, you need JavaScript to view an image. That is the whole thing Imgur does, and it will not work without JavaScript.</p><p>Never mind keeping it simple, reducing attack surface, minimizing dependencies.</p><p>Another example is my own blog.</p><p>Because I intended it to be multilingual, I use JavaScript to detect the user's language and render the appropriate index for the given language, including the proper RSS feed link.</p><p>I also wanted to run it entirely without a static site engine, so between those two requirements JavaScript ended up being the engine to allow for multiple languages.</p><p>So I get it that JavaScript can be a useful tool to simplify some things. But for this use case - a static blog - placing the engine a step back and using a static site engine is just so much better.</p><p>What convinced me was the experience with Zola (<a href="https://getzola.org" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">getzola.org</span><span class="invisible"></span></a>) when creating tori's home page (<a href="https://tori.jutty.dev" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">tori.jutty.dev</span><span class="invisible"></span></a>). It has support for multilingual sites, can generate RSS feeds at very granular levels, and will accomplish what I was doing without any JS.</p><p>So here's me giving in to an SSG after all.</p><p><a href="https://mastodon.bsd.cafe/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.bsd.cafe/tags/NoScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoScript</span></a> <a href="https://mastodon.bsd.cafe/tags/hypertext" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hypertext</span></a> <a href="https://mastodon.bsd.cafe/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.bsd.cafe/tags/Privacy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Privacy</span></a> <a href="https://mastodon.bsd.cafe/tags/UBlock" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UBlock</span></a></p>