🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

duplicateWindow is a small jQuery plugin that checks if the current window is duplicate window to prevent your webpage from being opened in multiple browser tabs.

window Browser

Documentation

jquery-duplicatewindow

Not allow user to open website in multiple windows

jQuery plugin to check if current window is duplicate window,

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

It is checking GUID of the window against value in cookie

Sample usage:

    <script type="text/javascript">         $(document).ready(function () {             if (window.IsDuplicate()) {                 alert("this is duplicate window\n\n closing...");                 window.close();             }         });     </script> 

demo

click here to donate if you find this project helpful


You May Also Like