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

72
Views
Getting the information of the site with the script tag added with Javascript

I'm not talking about pulling data from another site.

I am trying to make a micro saas tool.

When someone copies the script code and adds it to their site, I want to pull the title, link and meta tag image of that site.

And I want to retrieve and process that information with GET.

That's all.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can see the url of the site the js is working on with window.location.href. The title comes from document.title.

To make requests in JS it's recommended to use the fetch API. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

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!