meta title is given but finally not shown

Just starting out? Need help? Post your questions and find answers here.
menschmarkus
Posts: 54
Joined: Thu Apr 10, 2014 3:35 pm

meta title is given but finally not shown

Post 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
as soon you do it right, it works !
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: meta title is given but finally not shown

Post 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.
menschmarkus
Posts: 54
Joined: Thu Apr 10, 2014 3:35 pm

Re: meta title is given but finally not shown

Post 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
as soon you do it right, it works !
Post Reply