How to control the used Gmail account when using slides.new, docs.new, etc.
Written by Stefan Judis
- Published at
- Updated at
- Reading time
- 1min
This post is part of my Today I learned series in which I share all my web development learnings.
Thanks to the new
top-level domains, many companies provide short URLs to use their product quickly. CodePen has pen
, CodeSandbox has react
, GitHub has repo
, and they're many more out there. These URLs make the web feel very app-like, I like that!
And of course, Google is providing new
URLs with doc
or docs
and slide
and slides
, too. The problem with these URLs is that many people use Docs and Slides with multiple Gmail accounts.
Which account should be used when using docs
? And what happens if Google constantly chooses the wrong account to create a new document.
Today I learned, that Google's new
URLs support a URL parameter to specify the used Gmail account:
docs
– primary account.new/1 docs
- secondary account.new/2 - and so on...
That's pretty cool!
Was this TIL post helpful?
Yes? Cool! You might want to check out Web Weekly for more quick learnings. The last edition went out 18 days ago.
Yes? Cool! You might want to check out Web Weekly for more quick learnings. The last edition went out 18 days ago.