Desktop GIFs
Post GIFs in YouTube comments and replies from a desktop browser.
Install · Use · Troubleshooting · Limits · How it works · Privacy
YouTube's mobile app can attach a GIF to a comment; the desktop site has no button for it. Desktop GIFs adds one, next to the emoji button:
- Everyone sees your GIF. It is posted as an ordinary YouTube GIF comment, so viewers do not need the extension.
- Three clicks. Open a comment box, click GIF, click the one you want.
- Search or paste. Search Tenor, or paste a Tenor link.
- Favorites. Star the GIFs you use often and find them behind one button.
- Nothing to set up. No account, no API key, no tracking.
The screenshots show the extension's own interface on a test page that stands in for YouTube's comment box.
Install
Desktop GIFs is not on the Chrome Web Store or addons.mozilla.org yet, so it is loaded from a ZIP. There is one for each browser on the latest release.
Chrome, Edge, Brave
- Download
desktop-gifs-chromium.zipand unzip it. - Open
chrome://extensionsand turn on Developer mode. - Click Load unpacked and choose the unzipped folder, the one that has
manifest.jsondirectly inside it.
YouTube tabs that are already open get the button without a refresh.
Only Chrome is tested. Edge, Brave and other Chromium browsers should work the same way.
Firefox
- Download
desktop-gifs-firefox.zip. There is no need to unzip it. - Open
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on… and choose the ZIP.
YouTube tabs that are already open get the button without a refresh.
Note
Firefox removes an add-on loaded this way when it closes. That is how Firefox treats every temporary add-on. Repeat steps 2 and 3 after a restart.
From the source
The extension folder of this repository is the extension, and it loads in both browsers as it is: choose that folder in Chrome, or the manifest.json inside it in Firefox. Chromium browsers then list one harmless error about background.scripts; see Troubleshooting.
Use
- On a video or a Short, click Add a comment… or Reply.
- Click the GIF button next to the emoji button.
- Click a GIF. It is posted straight away, there is no preview step.
Anything you typed in the comment box is posted together with the GIF.
The picker opens with Tenor's featured GIFs. To find another one:
- type to search Tenor, or
- paste a Tenor link: a
tenor.com/view/…page, amedia.tenor.comfile, or a bare Tenor ID.
To keep a GIF, point at it and click the star in its corner. The ★ button next to the search field shows your favorites; click it again to go back to the search. Click a favorite's star to remove it. Favorites are shared by all your YouTube tabs and are still there after a browser restart, in Firefox too, once the add-on is loaded again. Removing the extension from the browser deletes them.
| Key | What it does |
|---|---|
| Enter | In the search field, posts the GIF when the picker shows exactly one, as it does after pasting a link |
| Esc | Closes the picker |
Troubleshooting
| What you see | What to do |
|---|---|
| No GIF button in the comment box | Refresh the YouTube tab. |
| "Not ready in this tab yet" | The tab was open before the install and the extension is still checking that it can post from it. Try again in a few seconds, or refresh the tab. |
| "The page hook is not running" or "The extension was reloaded" | Refresh the YouTube tab. |
| "Press Comment to send the GIF" | YouTube did not send the comment by itself. Press its Comment button. |
| The post fails | Nothing is published and your text stays in the box. Try again. |
| "YouTube does not accept this GIF" | YouTube only takes GIFs that Tenor rates G, its rating for all audiences. The picker leaves the others out, but one can get through when Tenor's ratings cannot be read. Pick a different GIF. |
| "YouTube only takes GIFs that Tenor rates G" | The link you pasted points at a GIF with another rating. Pick a different GIF. |
| "YouTube did not accept this GIF comment" | YouTube turned the comment down without giving a reason. Try another GIF or another video. |
| Search finds nothing in Firefox | Open about:addons, select Desktop GIFs, and check under Permissions that access to tenor.com is on. |
| "Manifest file is missing or unreadable" | The wrong folder was chosen. Choose the folder that has manifest.json directly inside it. |
Chrome, Edge or Brave lists the error 'background.scripts' requires manifest version of 2 or lower |
The extension is installed and works. The message appears when the extension folder is loaded from the source; that key is there for Firefox. desktop-gifs-chromium.zip does not have it. |
| Clicking GIF does nothing in Firefox | Update to 0.1.1 or newer. |
Limits
- Unofficial. This project is not affiliated with YouTube, Google or Tenor. It sends a field that YouTube's desktop site does not use itself, so it can stop working whenever YouTube changes something, and using it is at your own risk under YouTube's Terms of Service.
- Tenor only. YouTube's GIF comments take Tenor GIFs, so a GIF file from your computer cannot be posted.
- G-rated GIFs only. YouTube turns down every GIF that Tenor does not rate G, so the picker shows only those, and a pasted link to any other GIF is not offered.
- Search depends on Tenor's website. Tenor closed its public API in June 2026. Search and ratings come from the API that tenor.com itself uses, with the key its pages carry, and fall back to the results in Tenor's web pages, which have no ratings. Either can break when Tenor changes its site.
- GIFs only. Stickers and still images are left out of the results.
- New comments and replies only. You cannot add a GIF while editing a comment or writing a channel post.
How it works
When you pick a GIF, the content script adds a one-time marker to the comment box and presses YouTube's own Comment button. YouTube builds and signs the request as usual. The main-world script catches that request, removes the marker and adds the GIF's Tenor ID. A marker that cannot be turned into a GIF is blocked, so it never appears as comment text.
| File | Runs in | Job |
|---|---|---|
src/content.js, src/content.css |
YouTube page, isolated world | Adds the GIF button and the picker |
src/main.js |
YouTube page, main world | Rewrites the comment request so it carries the GIF |
src/sw.js |
Service worker (background script in Firefox) | Fetches G-rated search results from Tenor; on install, adds the two scripts above to YouTube tabs that are already open |
There is no build step and there are no dependencies: the extension folder is the extension. python3 tools/package.py writes the two release ZIPs, which are that folder with the other browser's background key taken out of the manifest.
Privacy
- YouTube and Tenor, nothing else:
youtube.com, where it adds the button, and for searchtenor.comand Tenor's API attenor.googleapis.com. - Nothing collected. No analytics, no account.
- Favorites stay in your browser. They are kept in the extension's own local storage and are not sent anywhere.
- Search goes to Tenor without your cookies, and GIF previews load from Tenor's media servers.
- Your YouTube credentials are never read. YouTube's own page sends the comment.
License
Copyright (C) 2026 rayytor
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. It is distributed without any warranty. See LICENSE.
