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

187
Views
Greasemonkey script won't run on the Warning: Potential Security Risk Ahead page in FireFox

I've written a little bit of JS code to click on the Accept the Risk and Continue button in FF however, Greasemonkey won't run it. The code works fine in the console. I'd appreciate any help in this regard.

if (window.location.href.substring(0,16) == "https://10.10.10") {
var myElement = document.getElementById('exceptionDialogButton');
 if(myElement){
     document.getElementById('exceptionDialogButton').click();
     }
}

Here's an image of the page in question.

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!