Jun 24, 2018

Javascript: Not allow user to open website in multiple windows

Source code is published at github: https://github.com/nitinjs/jquery-duplicatewindow
Download(4kb)

jQuery plugin to check if current window is duplicate window,
"Stop people having my website loaded on multiple tabs"

This plugin works across all browsers IE, Firefox, Microsoft Edge & Google chrome
It checks GUID of the window against value in cookie


Sample usage:


    
    Multi window
    
    


    This is test page,
Click here to open another window
    


No comments:

Post a Comment

Be the first to comment on this post.