: If you are using a standard @gmail.com account, you will still see the banner unless you use the iframe method mentioned above. 4. Browser-Side Hiding (For Personal Use)
Create a new HTML file to act as your host page. You can host this file on , Firebase Hosting , GitHub Pages , WordPress , or any standard web server. This page will contain the IFrame that loads your Google Apps Script web app.
/** * @OnlyCurrentDoc */
Ensure your app complies with Google's commercial use rules if you are monetizing the service. : If you are using a standard @gmail
Google introduced this warning after several high-profile phishing campaigns where malicious actors used Apps Script to impersonate legitimate tools. The warning protects users, especially those who are not technical.
Click and enter the Project Number of a standard GCP project you control. 3. Configure the OAuth Consent Screen Go to the Google Cloud Console.
The short answer is . You cannot remove this banner by injecting custom CSS ( display: none; ) or using JavaScript to manipulate the DOM within your HTML file. You can host this file on , Firebase
The warning appears because your app is . To remove it for all users, you must complete Google’s verification process. And yes, this can be done for free if you meet the requirements.
Click on the gear icon () in the left sidebar.
When you embed a web app in an IFrame, the surrounding parent page "covers" the banner, or the banner is prevented from displaying altogether. This workaround is considered the standard, free method for developers publishing apps with free accounts. Use code with caution.
For developers using a free version of Google Apps Script, this notice is intentionally challenging to remove. It is designed as a security and transparency feature. However, a clever, free, and purely technical workaround allows you to hide it completely without compromising your app's functionality.
If your web app requires the user to log in ("Execute as: user accessing the app"), an iframed version may fail to show the login screen due to security restrictions.
: Click Deploy > New Deployment . Set "Who has access" to Anyone . Copy the Web App URL provided after deployment. Phase 2: Choose an Embedding Method Method A: Using Google Sites (Easiest)
function doPost(e) var data = JSON.parse(e.postData.contents); // Perform your Google Sheets or Drive actions here return ContentService.createTextOutput(JSON.stringify( status: "success" )) .setMimeType(ContentService.MimeType.JSON); Use code with caution. Step 3: Fetch data from your frontend
Are you using a or a paid Google Workspace account ?
Sign up to get the latest on sales, new releases and more …