简体   繁体   中英

Open a link in Google Document with one click using google apps script

When You make a link in a google document it takes two steps to open the link. (First click on the link and then click once again to open it.)

Is it possible to make a script that opens the link right away when you just click on the link in the document?

Here is the link to the sample sheet with a link in it: https://docs.google.com/document/d/1o0hE6fy2DFRvIddj10H1jECl4ALbs3JxweS8qm63sIc/edit

A script can only allow you to perform actions for which the endpoint is implemented in the UI

Given that the UI of Google Documents is set up in a way that after clicking on a link text you have to click a second time on the actual URL showing up - unfortunately there is no way to modify this default behavior programmatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM