Gelbooru Visited and Type Highlighter

Marks previously visited images on Gelbooru, marks gifs as well similar to the built-in webm highlighting, and makes webm highlighting work in more places.

These are versions of this script where the code was updated. Show all versions.

  • v14.13.0 2023-06-27

    Add animated png detection (conditional on proper tagging) to More Like This links.
    Tweak to improve compatibility with Gelbooru Show Tags on Hover Everywhere.

  • v14.12.0 2023-06-25

    Replaced the method for detecting animations for More Like This on image pages with a more modern and efficient approach.

  • v14.11.0 2022-10-06

    Fixed rare possible false positives for video detection on some page types.

  • v14.10.0 2022-09-04

    Fixed webm detection broken by site change.

  • v14.9.0 2022-04-15

    Fix broken displaying images as visited on the Comments page due to page structure change.

  • v14.8.0 2021-02-11 Fix for change to thumbnails that broke animation type detection on More Like This.
  • v14.7.2 2021-01-16 Finishing up that tweak.
  • v14.7.1 2021-01-16 Tweak to improve visibility.
  • v14.7.0 2021-01-16 Updated to fit in more with new site redesign overall.
  • v14.6.0 2021-01-15 Updated for insanely poorly made new image page layout.
  • v14.5.3 2021-01-08 More fixes to alignment for new search page redesign.
  • v14.5.0 2021-01-08 Compatibility with new saved searches layout.
  • v14.4.6 2021-01-04 Properly fix flicker on new search page design.
  • v14.4.5 2021-01-04 Fix flicker on new search page design.
  • v14.4.1 2021-01-03 Fix comment typo.
  • v14.4.0 2021-01-03 Further compatibility with further new search page layout.
  • v14.3.0 2021-01-03 Compatibility with new search page layout.
  • v14.2.2 2020-12-29 Small visual fix to profile pages.
  • v14.2.1 2020-12-27 Visual tweak to settings dialog.
  • v14.2.0 2020-12-27 Extend functionality where visited highlighting is disabled on own profile page by default but can be enabled by settings from the option for your own favorites page.
  • v14.1.1 2020-12-11 Fix for animated gif being marked as webm on More Like This links on image pages in one very specific legacy situation.
  • v14.1.0 2020-12-07 Made settings interface better when not in a large window.
  • v14.0.1 2020-12-04 Just a quick comments tweak.
  • v14.0.0 2020-12-02 Added support for the comments tab.
  • v13.0.1 2020-11-30 Minor visual tweak to settings dialog.
  • v13.0.0 2020-11-29 Added GUI for settings. Side Effect 1: You can now change settings without breaking automatic updates. Side Effect 2: Manual updates will no longer reset your settings.
  • v12.1.0 2020-11-28 After extensive testing, experimental support for animation type highlighting on Gelbooru's experimental More Like This feature is now enabled by default.
  • v12.0.0 2020-11-26 Added experimental GIF/WebM highlighting to the "More Like This" links below the image on image pages. This is fairly resource-intensive and is guaranteed to always show messages that look like errors in your JavaScript console by design (you can safely ignore them if you ever actually check the console, they aren't really errors), so it is disabled by default. Set "displayMoreLikeThisAnimatedTypes" to true to enable.
  • v11.2.0 2020-11-23 Use site-native scripts where possible and remove redundancies in this script.
  • v11.1.4 2020-11-11 Workaround for a bug on wiki pages causing highlighting to fail due to the newly added "feature" where wiki searches automatically redirect to entries depending on the search contents being broken and poorly thought out altogether, creating malformed URLs.
  • v11.1.3 2020-11-09
  • v11.1.3 2020-11-09 Fixed "more like this" highlighting on image pages for removed images.
  • v11.1.2 2020-11-03 Small tweak to previous update.
  • v11.1.1 2020-11-03 Slight performance improvement when opening hundreds of images in tabs in a row.
  • v11.1.0 2020-11-02 Now possible to at least distinguish between images in this script's visited history and links in the browser's temporary visited history that are not accounted for by this script yet.
  • v11.0.2 2020-11-01 Accidentally removed a comment describing a major function.
  • v11.0.1 2020-11-01 Reworded text in the brand new backup interface a bit.
  • v11.0.0 2020-11-01 Added feature to export and import backups of visited images history. Worked out some kinks in the algorithm for inserting new images into history that could occasionally cause duplicates.
  • v10.1.1 2020-10-30 Debug STUFF!! again
  • v10.1.0 2020-10-30 Fixed "more like this" highlighting on webm pages. Now absolutely ensures all loaded images are added to long-term storage even when loaded via machine gun. Removed sort-term storage-related code that is now obsolete, and now only makes a temporary visible difference in an extremely niche situation.
  • v10.0.0 2020-10-28 Added support for profile pages. Maintainability improvements to code. No longer runs on irrelevant pages, not that it did anything on those pages before.
  • v9.3.1 2020-10-25 Quick fix for visited indicators not updating in real time only on pool pages when opening images in new windows or tabs. Visited status was still marked, it just wasn't visible until reload.
  • v9.3.0 2020-10-25 Further optimizations to efficiency, it should only fail to register a newly visited image as visited now if you're opening many images at the speed of a bot.
  • v9.2.1 2020-10-25 Missed a spot.
  • v9.2.0 2020-10-25 Efficiency boost for pages with lots of images when the user has visited lots and lots of images.
  • v9.1.1 2020-10-25 Left a bit of debug in again.
  • v9.1.0 2020-10-24 Storage memory optimization.
  • v9.0.1 2020-10-24 The updater managed to somehow screw up the alignment on one line of code.
  • v9.0.0 2020-10-24 Going forward, newly visited images should stay marked as visited for longer than 90 days.
  • v8.0.0 2020-08-31 Added support for wiki entries.

Show all script versions