Each time the page is requested,
useragentstores the same value that was first received, for example, immediately after installing the script, the script returns the
useragentof the client, but when the request is repeated from another browser
useragentreturns the previous value. The variable is updated after any editing of the script.
The question is how to get rid of it?
This can’t be. Most likely you just display it after submit or other action.