iframe
AGENDA ~ PadelPlanner ~ profilebot/ ZZP
SHEET / SCRIPT / SITE : https://sites.google.com/view/intervisie & https://sites.google.com/view/intervisies / design
can you iframe the application so i don't get this message in the screen anymore:
This application was created by a Google Apps Script user
Yes, you can iframe the Apps Script web app inside Google Sites, but that Google Apps Script banner is controlled by Google. An iframe cannot reliably remove it from the Apps Script /exec page.
For your setup, the best presentation is:
<iframe
src="YOUR-APPS-SCRIPT-EXEC-URL"
style="width:100%;height:100vh;border:0;display:block"
allow="clipboard-read; clipboard-write"
></iframe>
However, if the banner:
This application was created by a Google Apps Script user · Report abuse · Learn more
is being injected by Google's Apps Script hosting layer, CSS/JavaScript inside your Index.html cannot hide it, because it is outside your application's DOM. Putting /exec in another iframe usually just puts the banner inside that iframe.
Since you're already using Google Sites, I would make:
Google Sites = public shell/domain
→ full-width embedded Padel Intervisie
→ Apps Script = backend/application
Then users enter through your Sites address rather than seeing the raw script.google.com/macros/.../exec URL.
For example, your existing Intervisie site can contain the embedded application at essentially full-screen height. The Google Apps Script notice may still exist inside the embed, but the overall experience is much cleaner.
There is also a more substantial solution: separate the frontend from Apps Script hosting. Host Index.html as the visible application elsewhere and use Apps Script only for the data/backend. Then the Apps Script-created-app banner isn't part of the visible frontend at all. That is a bigger architectural change because your current frontend relies heavily on google.script.run.