max / Tenor GIF Search for Twitter/X

Install steps: Install a userscript manager, select Install, then open a website matched by the script.

ئىشلەتكۈچى قوللانغۇچىلىرى HOWTO Chrome Edge Firefox

ئېلان قىلىندى:

نەشرى: 1.1+6b49db2

خۇلاسە: Replaces Twitter/X's native GIF system with a custom Tenor GIF search system

ئىجازەتنامە: MIT

Antifeature: ئېنىق ئەمەس

Source and freshness

The following figures come from the original source and are separate from activity on this site.

Original script: Tenor GIF Search for Twitter/X

Source version: 1.0

Last source check:

Last successful check:

Source daily installs
0
Source total installs
0
OpenUserJS install requests
0

Requests received by this site are not proof that a user completed installation.

Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues

Tenor GIF Search for Twitter/X

A lightweight Tampermonkey userscript that replaces Twitter/X's native GIF system with a fully custom, client-side Tenor GIF search popover.

This userscript runs 100% client-side and does not require any local backend server. It dynamically scrapes the active Web API credentials from the Tenor website to ensure continuous, uninterrupted access even after the official developer API deprecation on June 30, 2026.


Features

  • 100% Client-Side Operation: Queries Tenor directly via Tampermonkey's cross-origin capabilities (GM_xmlhttpRequest), bypassing all CORS blockages.
  • Dynamic Credential Scraping: On launch, the script retrieves and decodes the active Google API Key used by the Tenor website, making it resilient to API key rotations.
  • Twitter-Styled Popover: Renders a centered dark mode modal (#000000 background, #202327 card containers) with category buttons that blend seamlessly with X's UI.
  • Automatic 15MB Upload Protection: Twitter/X enforces a strict 15MB media limit. The script automatically checks the size of the original GIF and falls back to compressed formats (mediumgif or tinygif) if it exceeds the limit, ensuring your GIF always uploads successfully.
  • Keyboard Shortcut Override: Captures and blocks key events (keypress, keydown, keyup with e.stopPropagation()) in the search input so that typing doesn't trigger Twitter's global hotkeys (like opening new composers or navigating).
  • Infinite Scrolling: Automatically fetches and appends the next page of GIFs as you scroll down the picker.
  • Programmatic File Injection: Fetches the selected GIF as a blob and injects it directly into Twitter's file upload system using the HTML5 DataTransfer API.

باھا: 0