Trigger Perspective view script on page reload

I want to trigger a script on a perspective view when the page is reloaded. Is there a way to capture the page refresh event from within a view?