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

189
Views
Can not access document from background js in chrome plugin version 3

I couldn't access document from background.js when migrated to V3. I want to save some data to clipboard. Anyone have idea about this issue? i tried with severel ways to do this.

   var copyFrom = document.createElement("textarea");
   copyFrom.textContent = "data to copy";
   document.body.appendChild(copyFrom);
   copyFrom.select(); 
   document.execCommand('copy');  
   copyFrom.blur(); 
   document.body.removeChild(copyFrom);

I got this error error in console

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!