Skip to content

Google Messages Userscripts

Install

  • Google Messages Latest Login Codev1.3.0

    Surface the most recent login / verification code from Google Messages for one-click copying

Userscripts run in a userscript manager such as Tampermonkey, Violentmonkey, or ScriptCat. With one installed, Install opens its install prompt.

Shows the newest login or verification code from Google Messages for web in a small floating card, so you can copy it with one click.

What it does

  • shows the newest verification or login code in a card at the bottom left of the page
  • shows the sender and send time under the code
  • click the card, or focus it and press Enter or Space, to copy the code
  • hides codes older than an hour
  • skips pinned conversations and your own replies
  • Option+Shift+C on macOS (Alt+Shift+C elsewhere) copies the code from anywhere on the page while a code is showing
  • the chip on the card shows the shortcut for your OS; click it to turn the shortcut off or back on
  • right-click the chip to switch between Mac and PC key names if detection guessed wrong
  • the shortcut setting and key names are remembered per site in localStorage (lb-otp-card-shortcut, lb-otp-card-key-style)

Questions or feedback about Google Messages Userscripts? Get in touch.

Support

Find Google Messages Userscripts useful?

Google Messages Userscripts has no paywall. A tip helps keep it running and pays for what we build next.

Checkout opens on Stripe, where you can change the amount. Why tips?

  • Two userscripts for Google: Booking and Super links on Google Travel hotel pages, and a redirect that skips the results page for "Feeling Lucky" searches.

    2 userscripts

  • Shows the newest login or verification code from your Google Voice texts in a small floating card, so you can copy it with one click.

    1 userscript

  • Shows Open Food Facts scores, allergens, additives, and nutrition on Walmart and H-E-B product pages, and compares Walmart products side by side per 100 g.

    1 userscript