问题
It's well known on how to make a custom upper menu item (https://developers.google.com/apps-script/guides/menus), but can you append a function to the context menu when right clicking a cell or item?
回答1:
No. Can't do it. There is no class or method to modify the right click context menu.
来源:https://stackoverflow.com/questions/27932041/is-it-possible-to-modify-the-google-docs-sheets-right-click-context-menu