popup bypass

Started by nullmein, 10-02-2020

22
0
popup bypass
  10-02-2020, 03:13 AM
#1
I built a site that unfortunately seems to lose the 80% of the traffic at the landing page. I changed the landing page multiple times without success. As last resort i though what if a user by pressing the button to close the page automatically opens the main page in a new tab. I tried this

Code:
window.onbeforeunload = function () {
  window.open("example.com", "_blank");
  return "wait...";
};

Code:
window.onbeforeunload = function () {
  document.getElementById("mainsite").click();
  return "wait...";
};

Both don't work. The first get blocked by the Firefox popup blocker. I thought they maybe flag window.open

so i made a button that open the main site and i click it instead of the window.open which also dosen't work.

How i can achieve this ?

« Next Oldest | Next Newest »


Possibly Related Threads…
Thread Author Replies Views Last Post
How to bypass snapchat's suspicious login? bri8dri 0 431 07-24-2020, 07:54 PM
Last Post: bri8dri
Popup ads blocker simransingh 0 280 03-21-2020, 07:58 PM
Last Post: simransingh
remove alert popup wanny86xxx 0 667 09-05-2019, 12:26 PM
Last Post: wanny86xxx
How Bypass two factor Authentication Google Account siddiquemoti 0 770 08-01-2019, 09:12 AM
Last Post: siddiquemoti



1 Guest(s)