Remove This Application Was Created By A Google Apps Script User Today



Remove This Application Was Created By A Google Apps Script User Today

Use code with caution.

This is a that Google automatically adds to Apps Script web apps when certain conditions are met. According to a Google Issue Tracker entry from July 2017, Google intentionally expanded this banner to all cases where:

To prevent this, Google forces a sandboxed environment ( IFRAME ) for Apps Script web deployments. The banner is injected outside of your HTML code’s scope. It serves as a visual indicator that the script developer—not Google—is responsible for the application's content and data handling practices. The Myth of the CSS and JavaScript "Fix"

If you are developing tools exclusively for corporate use within your own business, you can make the banner disappear naturally by managing deployment configurations. Open your code project in the Google Apps Script Editor . Click > New deployment . Use code with caution

Here is a guide on how to troubleshoot and remove this, depending on what exactly you are seeing.

while (files.hasNext()) var file = files.next(); // Check if it is the correct file before deleting // Note: .setTrashed(true) moves it to the Trash bin file.setTrashed(true); // Logger.log('Moved to trash: ' + file.getId());

We can explore any of these deployment architectures further depending on your specific needs. Please select one of the options below to continue: The banner is injected outside of your HTML code’s scope

Use code with caution.

: Google uses this banner to prevent malicious actors from creating fake login pages or data-collection forms that look like official Google products.

Under the dropdown configuration, change the setting from "Anyone with a Google account" to "Anyone within [Your Organization Name]" . Open your code project in the Google Apps Script Editor

If you only want to hide the banner for yourself, you can use browser extensions like uBlock Origin

: Host your HTML, CSS, and JavaScript frontend on Firebase Hosting or Vercel .

If you are using a free @gmail.com account to share an Apps Script web app with the public, you cannot remove the warning. You must upgrade to a Google Workspace account or migrate the project to a GCP project under a verified domain.

: You can host a simple HTML file on your own domain (e.g., via GitHub Pages) and embed the Apps Script URL within an . While the banner may still technically exist within the frame, it is isolated from your main site's branding.