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

265
Views
Toma parte de la URL con la extensión de Chrome

He estado jugando con las extensiones de Chrome. Sin embargo, no estoy seguro de qué función llamar para capturar parte de una URL y ajustarla a otra URL, luego guardarla en el almacenamiento del navegador.

Problema: necesita tomar 123-event-id de https://ab.website/`123-event-id` y un botón activador para guardarlo como https:// portal.website/events/ 123-event-id / resumen con una opción (botón) para eliminar más tarde.

Realmente agradecería cualquier ayuda.

almost 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Cómo obtener la URL de la pestaña activa

 chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => {
 let url = tabs[0].url;
});

Puede usar localStorage o chrome.storage para almacenar datos.

almost 4 years ago · Santiago Trujillo 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!