TL;DR: How can I take advantage of QuickLook to preview hyperlinks to Google Doc recordsdata which require login to Google account?
I’ve a relatively particular workflow: I take advantage of Rclone to have my Google Drive mounted as community drive, which makes all my Drive paperwork accessible from Finder. Now, with something besides Google Paperwork (e.g. picture, textual content, pdf, music, video), urgent Spacebar will open macOS QuickLook and it’ll properly show the file.
However when a file is definitely a Google Doc (i.e. Google Sheet, Google Doc, Google Presentation), Rclone provides you a *.webloc file – that’s, a hyperlink to a doc URL. That is good, as a result of you possibly can truly view any Google doc in a QuickLook preview with out even bothering to open a browser. However that solely works when the doc is about to be accessible from anyone with out login (Normal Entry is about to “Anybody with the hyperlink”).
When I attempt to preview with QuickLook a Google Doc file which has Normal Entry sharing settings set to “Restricted” (and thus the file is simply accessible to particular folks with which it’s shared), the preview opens a Google login web page:
That might be OK, however I can not work together with the shape in (nearly) any approach,* so I can not login to my Google account inside QuickLook. Thus the doc is unviewable until I open it in actual browser. [* It is actually funny. I am able to write the first letter into the login page, but any consecutive keyboard presses are ignored. Neither was I able to paste the login data using Cmd+V, because those are actually two keyboard presses.]
So, briefly:
- My aim is to make use of QuickLook to preview Google Doc recordsdata which require login to Google account.
And my associated questions are:
- Is it attainable to permit interacting with the QuickLook preview of a webpage? (in order that I can login to my Google account)
- If not, what “login” data does QuickLook use? Can I set the cookies/logged-in state someplace manually? (what I undoubtedly know and examined is that being logged in my Google account in Safari does not enable me to view the doc in QuickLook)
In an effort to enable anybody to check it, I’ve created an instance Google Doc and right here is an uploaded *.webloc file which hyperlinks to it: https://filedn.com/lBtqBYO8yCdFJh26oPQwkFj/Googlepercent20Documentpercent20withpercent20Restrictedpercent20Access.webloc
Downloading the file and easily urgent the Spacebar will present you a Google login web page.

