Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
edited body
Source Link
Arun D
  • 2.4k
  • 5
  • 31
  • 41

In the new Gmail version, Thethe id available in the address bar is an encoded value. You can get the thread id from the HTML. Try searching "data-legacy-thread-id" in the HTML elements.

Or you can find it by running JavaScript code in the console:

document.querySelector('[data-legacy-thread-id]').getAttribute('data-legacy-thread-id') 

In the new Gmail version, The id available in the address bar is an encoded value. You can get the thread id from the HTML. Try searching "data-legacy-thread-id" in the HTML elements.

Or you can find it by running JavaScript code in the console:

document.querySelector('[data-legacy-thread-id]').getAttribute('data-legacy-thread-id') 

In the new Gmail version, the id available in the address bar is an encoded value. You can get the thread id from the HTML. Try searching "data-legacy-thread-id" in the HTML elements.

Or you can find it by running JavaScript code in the console:

document.querySelector('[data-legacy-thread-id]').getAttribute('data-legacy-thread-id') 
Source Link
Arun D
  • 2.4k
  • 5
  • 31
  • 41

In the new Gmail version, The id available in the address bar is an encoded value. You can get the thread id from the HTML. Try searching "data-legacy-thread-id" in the HTML elements.

Or you can find it by running JavaScript code in the console:

document.querySelector('[data-legacy-thread-id]').getAttribute('data-legacy-thread-id')