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

126
Views
¿Cómo uso Javascript para modificar la URL base de un sitio web a una personalizada con la ruta?

Por ejemplo, quiero convertir: https://google.com/A7239J en... https://example.com/google.com/A7239J Quiero poder hacer esto dentro del navegador, usando Javascript. ¡Gracias!

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Si quiere obtener recursos usando esa URL como la URL base, entonces puede usar el elemento <base> :

 <!-- every URL will be relative to this value --> <base href="https://upload.wikimedia.org/wikipedia/commons/"> <img src="./4/47/PNG_transparency_demonstration_1.png" width=300> <img src="./c/cf/Black_hole_-_Messier_87.jpg" width=300>

about 4 years ago · Santiago Gelvez 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!