Callback when refresh browser

Good morning.

I want to know if it is possible to create a callback that executes when user refresh the browser or access for first time in the day to the app.

I try to use a button that update my data, without use an if statement for n_clicks > 0, or something else, so I thought that this callback should work either the user click the button and refresh the browser, but it only works it the button is clicked.

Thanks you very much in advance!