Google 文档查看器 url 参数
是否有任何类型的文档说明您可以在 Google 查看器的网址中放入哪些参数?
最初,我以为这只是 url、embedded、chrome,但我最近遇到了其他有趣的内容,例如 a、pagenumber,以及其他一些用于身份验证的内容等。
有任何线索吗?
Is there any sort of documentation on exactly what parameters you can put in the url of Google viewer?
Originally, I thought it was just url,embedded,chrome, but I've recently come accross other funny ones like a,pagenumber, and a few others for authentication etc.
Any clues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我知道的一个是“chrome”
如果你有 https: //docs.google.com/viewer?........;chrome=true
然后你会看到该文档的相当重的 UI 版本,但是使用“chrome=false”你会得到一个紧凑的版本。
但事实上,我自己想要一份完整的清单!
One I know is "chrome"
If you've got https://docs.google.com/viewer?........;chrome=true
then you see a fairly heavy UI version of that doc, however with "chrome=false" you get a compact version.
But indeed, I'd like a complete list myself!
来源:为方便起见,这是唯一的完整引用答案(来自用户 k3david)到 @Doc 已于 2011 年将这个问题的 crosspost 发布到 Google 支持论坛。
Source: For convenience, this is a full quote of the sole answer (it is from user k3david) to the crosspost of this question @Doc has posted to the Google support forum in 2011.
我知道这个问题很老了,也许你已经解决了你的问题,但对于互联网上可能正在寻找答案的任何人来说......
我最近一直在寻找这个问题,遵循我在 GitHub Gist
https://gist.github.com/tzmartin/1cf85dc3d975f94cfddc04bc0dd399be
更具体地说,嵌入特定页面的选项 我能找到的
最好的就是这篇文章(我想已经很长时间了)
https://weekly-geekly.github.io/articles/111647/index.html
但是,我尝试修改属性,结果只是重定向到
https://drive.google.com/file/d/[ID]/edit
https://drive.google.com/file/d/[ID]/preview
或https://drive.google.com/file/d/[ID]/view
截至 2020 年 5 月,此解决方案可能不起作用
I know this question is very old and perhaps you already solved your issue, but for anyone on the internet who might be looking for an answer...
I have been looking for this recently, following a guide I found on GitHub Gist
https://gist.github.com/tzmartin/1cf85dc3d975f94cfddc04bc0dd399be
More specifically, the option to embed a certain page of pdf using
The best I could fing was this article (I suppose from a long time now)
https://weekly-geekly.github.io/articles/111647/index.html
HOWEVER, I tried modifying the attributes and the result was simply a redirect to
https://drive.google.com/file/d/[ID]/edit
https://drive.google.com/file/d/[ID]/preview
orhttps://drive.google.com/file/d/[ID]/view
AS OF MAY 2020, THIS SOLUTION PROBABLY DOESN'T WORK
您可以传递 q=whatever 将搜索查询传递给查看器。
You can pass q=whatever to pass a search query to the viewer.