Here is the structure of my project:
Project:
Default.aspx
Reports.aspx
Scripts:
myscript.js
I have a situation, when I'm navigating from Reports.aspx page to Default.aspx page, which is loading in new tab, and in this situation, only in this situation I want to run myscript.js at Default.aspx page.
How can I do this?