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

105
Views
window.location.href.replace reemplaza/elimina parte de la URL cuando se trata de varios casos para reemplazar

Me pregunto cómo reemplazar/eliminar parte de la URL cuando se trata de varios casos para reemplazar. Intenté agregar cada línea, pero solo hace que la última funcione, así que supongo que necesito agruparlos de alguna manera.

¿Alguna idea? Gracias por adelantado

 function showFullPage(obj) { window.location.href = window.location.href.replace("?header=false", ""); window.location.href = window.location.href.replace("management?header=false", ""); window.location.href = window.location.href.replace("files?header=false", ""); // window.location.href = window.location.href.replace("events?header=false", ""); // window.location.href = window.location.href.replace("broadcasts?header=false", ""); // window.location.href = window.location.href.replace("network?header=false", ""); // window.location.href = window.location.href.replace("chat?header=false", "");

}

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!