Page 1 of 1

meta title is given but finally not shown

Posted: Tue May 21, 2024 8:01 am
by menschmarkus
Hi,
I compiled my program. I have given the App.name at compilation time which is noted in the startup html file as <title> correctly. As soon I start the App this Title flashes for a very short time in the Browsers TAB but then is overwritten by complete url.
I checked the site by browsers inspector and found that no title is given (<title></title>)
Where can I set up the title for permanent appearence?

Thanks for hints.

[Edit 21.05.2024 10:44h]
For now I just have given at the beginning of my code the js codeline

Code: Select all

!document.title="New Title"
Now title is correct.
However I think it may be a bug

Re: meta title is given but finally not shown

Posted: Tue May 21, 2024 10:26 am
by Peter
No bug.

The 'startup' html is regenerated each time the app is started. Any changes you have previously made in it will be overwritten.

Re: meta title is given but finally not shown

Posted: Tue May 21, 2024 3:44 pm
by menschmarkus
Peter wrote: Tue May 21, 2024 10:26 am The 'startup' html is regenerated each time the app is started.
This is OK with me. But I do not make any change neither in 'startup' html nor in 'program.js' file.
I can recall it as often I want, the effect is always the same. App Name will appear at reloading the site ('F5' button or 'strg+F5' button combination)
As soon the js is loaded, the SB blue background disappears and the app fullscreen window appears (#PB_Window_Background), the App name disappears in Browsers TAB and the complete url is shown.
Peter wrote: Tue May 21, 2024 10:26 amAny changes you have previously made in it will be overwritten.
which changes ???
I just call the app on my server or reload it without changing something.
It seems the meta title from startup html is not picked up by programs.js