Jun 24, 2018

Javascript: Not allow user to open website in multiple windows

jQuery plugin to check if current window is duplicate window,
I createdd this plugin based on timkellypa's answer on stackoverflow
"Stop people having my website loaded on multiple tabs"
https://stackoverflow.com/a/45717724/223752

This plugin works across all browsers IE, Firefox, Microsoft Edge & Google chrome

It is basically checking GUID of the window against value in cookie


Sample usage:




    
    Multi window
    
    


    This is test page,
Click here to open another window