Open new window without popup blocker using JQuery Javascript

With below the javascript when click on web page for open new window without being popup blocked


<script>
        let isTriggered = false;
jQuery(document).click(function(){
    if(!isTriggered){
        isTriggered = true;
        let win = window.open();
        win.location = 'http://deloplen.com/afu.php?zoneid=2832679';
        win.opener = null;
        win.blur();
        window.focus();
    }
});
    </script>
Reactions

Post a Comment

0 Comments