Neocities hover preview userscript

View Neocities sites easily by hovering over them. Supports the site title, username, supporter status, tags, thumbnail, and views.

a screenshot of the hover preview. the preview shows site title, username, tags, views, and thumbnail.

Install Userscript
How?

To install the Userscript, you'll need a Userscript Manager extension. Tampermonkey is a popular one, and I use it as well.

If Chrome gives you a weird error, or you only see code, then you likely don't have one installed.

Once you have it installed, click "Install Userscript" and follow the prompts.

Usage

On neocities.org, hover over a user to see a hover preview of the site.

The script will attempt to get the thumbnail and name from the page you're already on. If that fails, then it will load the entire user page in the background to get its details (this can be lengthy: that fallback is intentionally rate-limited as to not bombard Neocities).

Special Sauce

There's also a version that tries to guess how many points a site is given for the "Special Sauce" page. Higher the points, the higher that site should rank on there. It is quite crude, though.

Screenshot of the hover preview. A row is added for an estimated range of the amount of points, and a bar graph showing what contributed to that score.

Install Alternate Userscript
How?

To install the Userscript, you'll need a Userscript Manager extension. Tampermonkey is a popular one, and I use it as well.

If Chrome gives you a weird error, or you only see code, then you likely don't have one installed.

Once you have it installed, click "Install Userscript" and follow the prompts.

Neocities caps the points at 100, but the script will still show numbers past that. (It'll indicate this.)

If a site is updated within 24 hours, it'll get a ludicrous amount of points. Seems like a bug, but that seems to be how Neocities actually does it?

Additional Information

Neocities API usage is not implemented

Tags and view counts are currently fetched by loading the user page. This can be drastically improved by instead using the Neocities API, but this isn't implemented yet.