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

158
Views
__vue__ object undefined on content_script but present on browser console

First of all I'm not developing on Vue, I'm writing some code and injecting it on a Vue developed website through a chrome extension. I tested first with Tampermonkey injecting a script and accesing the vue object of a chat window and a button so i could simulate sending messages, and it worked perfectly. So I proceded to port the code to a "content script" that is injected into the site by chrome and so far so good, except that for some reason when i try accessing the vue object it's undefined. If i go to the console and query the element of the page and check the object it's in fact there while the script is running. So any idea why i can see it on a script injected with TamperMonkey, on the browsers console, but not on the content script of a chrome extension?

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!