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

143
Views
Is there a javascript event to detect when a pdf is finished loading?

I'm trying to detect when my Chrome browser is finished loading a remote pdf, for instance from https://arxiv.org/pdf/2108.11353.pdf

The context is I'm working on a chrome extension and I'd like the content_script to execute some things only after the pdf is downloaded and displayed.

I'm open to using JQuery but

$(() => {})

is triggered too early and things like

window.addEventListener('load', function () {
    alert("Hello")
});

document.addEventListener("DOMContentLoaded", function(){
    alert("Hello")
});

Are not triggered at all

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!