Adds an "Add to Watch Later" button on video thumbnails for Invidious
A userscript to add an "add to watch later" button on video thumbnails in Invidious

The script matchs all https type instances listed in https://api.invidious.io on May 5, 2024:
If your instance isn't listed, you can add it in Tampermonkey after installing the script:
settings tabIncludes/Excludes sectionUsers Matches, click the Add... button and type or paste the URL of your instance (don't forget to replace http or https with *, leaving the :// and to add /* at the end to match every page of your instance, like this *://myinstance.tld/*)Note that the script will also work with the http protocol as of version 1.1.
In Tampermonkey, go to the Utilities tab and paste this URL https://github.com/WalsGit/Add2WL-for-Invidious/raw/main/Add2WL-for-Invidious.user.js in the Import from URL field and click on install.
IMPORTANT: your chosen playlist must have at least 1 video in it for the script to work because of an api bug. Until it's fixed, please make sure to add a video to the playlist the traditional way and make sure to always have at least one video for everything to work properly)This script was created with the help of Gemini as I'm not (yet) that fluent in JS.