Dheeraj Pandey
Dheeraj Pandey

Reputation: 125

Lock browser Current tab URL Bar through Jquery during open the tab

I need to lock browser current opened tab url bar so any user can not change url from currently opened page.

For you reference screen shot is attached

Upvotes: 0

Views: 232

Answers (1)

Dheeraj Pandey
Dheeraj Pandey

Reputation: 125

I have used this script to open tab in new windpow where user can't change

window.open(document.URL, '_blank', 'location=yes,scrollbars=yes,status=yes')

Upvotes: 1

Related Questions