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

286
Views
How to redirect/open an external link without referer in header

How Can I Emulate A Website Visit Within The html/js Script

The Purpose is To Visit the url without referer or host header because the website/API I visited only gives the json response if the header has no referer/host else if the refer/host is that website's domain

When a user copy the url and paste it on browser it will return the json results but if the url is being redirected the header will have my websites as referer and the website refuses to return results

I also tried opening new tab using js but still it didn't work

<button class="savetodiskbtn" onclick="window.open('https://doodstream.com/?add_my_acc=1&op=videos_json&token=ak1b55nfbm2bbohgqu4dly30')"><i class="fa fa-upload"></i> Save To Disk</button>

If the referer is from another website The website returns As In This Image

And if the user copy the url and open The website returns json (or the website login page if user is not loggedin) As In This Image

I Just Need a js or anything that helps me to emulate the action just like a user copy url and browse it (to be used in a website)

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!