avatar

foyer

scripts

It’s almost like they are trying to see how much more bullshit can they put in a browser before it breaks.

—Nikita Prokopov, JavaScript Bloat in 2024

JavaScript is often misused, adding complexity where it isn’t necessary when it should serve to enhance rather than hinder the viewing of content on the web. While it may be required to interact with a web app, it shouldn’t prevent you from reading a simple article.

There is also a lack of transparency in that the average user is oblivious as to what the various scripts in a website are doing in the background.

Here are the ways JavaScript is being used in this site.

timestamps

On project pages, there is time-tracker data. This includes the time and date the project was last updated. I added a label that displays the elapsed time between that last update and the current time.

Example:

You have JavaScript disabled

<output class="t" data-time="2022-08-18T08:23:11Z"></output>

tooltips

Tooltips are sprinkled throughout the site. They appear on mouseover and follow the cursor.

Example: Hover over me

<span data-tip="Hello!">Hover over me</span>

Tooltips are currently available for <abbr> elements, footnotes, and internal links.

numbers

Numbers are displayed according to the browser’s locale.

Example: 1.618 1234

<val-num>1.618</val-num>
<val-num>1234</val-num>

support

All the JavaScript features and Web APIs I may use in this site would be ones compatible with the latest stable release of Firefox.

I may continue to add or remove scripts as this site evolves and will update this page accordingly.