Javascript window.open() function opens link without popup blocker

前端 未结 3 1197
离开以前
离开以前 2021-01-20 06:07

Javascript window.open() function opens link without popup blocker, I want to open some links from javascript window.open() function but it get blo

3条回答
  •  离开以前
    2021-01-20 06:46

    Just found the answer from a different thread, thought I shared this one with you guys, the ONLY way to bypass the popup blocker is through the onclick event, the problem I was having was that I had onmousedown instead, I just simply changed it to onclick, and boom! worked instantly!

提交回复
热议问题