Jun 24, 2018

Javascript: Not allow user to open website in multiple windows

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

I have published the source code at github: https://github.com/nitinjs/jquery-duplicatewindow
Download(4kb)


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.