Call a function on page refresh using Javascript

Hello friends, welcome to my blog. Today I will show you how to call a function on page refresh using Javascript. This is a very vital script and save my life when I was working for a client. Client requirement was that when anyone navigate to another page of his website, audio player automatically pushed. So I use my logic and call a javascript function to pushed the audio on page refresh. By default audio player is on auto play mood. So when user goes to another page after page refresh the audio automatically start. Read more