違規內容
外掛程式可執行的功能受到一些限制。請避免這些陷阱,提升使用者的整體體驗。
一般限制
以下限制適用於所有外掛程式。請勿執行下列操作:
變更 Google Workspace 中的功能
外掛程式架構旨在強化 Google Workspace 應用程式,而非增加限制。因此,您無法變更現有功能或鎖定 Google Workspace 文件共用模式。
向使用者收取安裝費用
我們不會向使用者收取安裝外掛程式的費用,且外掛程式不得包含廣告。不過,您可以使用自己的付款系統,或呼叫現有的帳單資料庫。外掛程式可連結至向使用者收費的非 Google 服務。
偵測多個事件
除了特定觸發事件外,外掛程式無法得知使用者在外掛程式之外的行為。舉例來說,您無法偵測使用者點選主機應用程式工具列的時間。您可以透過側欄的用戶端程式碼,輪詢檔案內容是否有變更,但這會造成輕微延遲。
編輯器外掛程式
下列限制僅適用於編輯器外掛程式。請勿執行下列操作:
使用資訊卡服務定義 UI
編輯器外掛程式目前只能使用 HTML 和 CSS 定義 UI,無法使用資訊卡服務。
在行動裝置上使用編輯器外掛程式
編輯器外掛程式僅適用於電腦用戶端,不支援編輯器的行動應用程式。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-30 (世界標準時間)。
[null,null,["上次更新時間:2025-01-30 (世界標準時間)。"],[[["Google Workspace add-ons enhance existing features but cannot modify or restrict core functionalities or the sharing model."],["Add-ons cannot directly charge users for installation or contain ads, though external payment integrations are permitted."],["While add-ons can respond to specific triggers, they generally cannot detect user actions outside the add-on's scope."],["Editor add-ons are limited to desktop environments and utilize HTML/CSS for UI design instead of the Card service."]]],["Add-ons must not alter existing Google Workspace features or sharing models. They cannot charge users for installation or display ads. Add-ons have limited ability to detect user actions outside of the add-on, except for specific triggers, although content changes can be polled with a delay. Editor add-ons are restricted to HTML/CSS UIs (no Card service) and are only available on desktop, not mobile apps.\n"]]