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

217
Views
¿Cómo configurar el elemento localStorage con JS e IMACROS?

Mi código:

 SET !VAR2 EVAL ("var title = document.getElementById(\"meta\").innerText; localStorage.setItem(\"title\", title);")

Salida de la consola Imacros:

 TypeError: result is undefined, line: 13
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Esto funciona para mí:

 // get text from div with #divid TAG POS=1 TYPE=DIV ATTR=ID:divid EXTRACT=TXT SET !VAR2 {{!EXTRACT}} // set text to localStorage SET !VAR2 EVAL ("localStorage.setItem('title', \"{{!VAR2}}\"); \"{{!VAR2}}\";") // reset iMacros variables for later use SET !VAR2 NULL SET !EXTRACT NULL
about 4 years ago · Juan Pablo Isaza Report
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!