Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
For redirection timer, Getting Pop-up blocker for new Tab in JS

On a modal, To redirect on a new tab I have a redirection timer and a continue button to redirect on click.

When timer gets completed I have targeted the continue btn to Hit and open new tab. On click continue btn, redirection to new tab is happening but on timer completion, redirection is blocked by "pop-up block".

var countDown = function () {
var modaltimer = countdownContainer.find(".timer");
countdownContainer.removeClass('dn');
/* istanbul ignore else */
if (timer > 0) {
    timer--;
    modaltimer.html("00:" + (timer > 9 ? timer : ("0" + timer)));
    timeOut = setTimeout(countDown, 1000);
}
else {
    $(modalContainer).find('.deepLink-Content a[class*="submit"]')[0].click();
}
};

What possible solution can I use to bypass popup blocker ??enter code here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!