Click here to Skip to main content
15,911,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to avoid to open same window of existing website(window) in new tab

for eg..
if i have a page www.mysite.com/page1.aspx if i copy this URL and paste in new tab of

the browser than a popup or message should be appear(alert-- you have already open this website)

Noe:-- if we reload or refresh the previous page than alter should not be appear .means only one page can be open at a time in should be done in scripting only

i need your valuable advice thanks in advance
Posted

1 solution

http://jsbin.com/vinaraki/1/edit[^]. Try to open the link in multiple tab.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900