Quote:i want to implement local file will open when open the url in browser please help me on this issue.
By design, you can't without user consent. It is a security feature.
To load a file to local storage, you have to ask the user, and you have no way to force a particular destination or execution, both are user choice.
The feature you want is a dream for any malware.