Add the .setXFrameOptionsMode() method to your HtmlService call: javascript
Google assigns specific CSS classes to the iframe container holding the banner (historically .apps-share-banner or .script-application-banner ). Applying display: none !important forces the browser to skip rendering the element entirely. Add the
: The banner is often hidden when you embed the script's URL as an within a Google Site or your own website. Add the