Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

212
Visualizações
Remove %20 from generated tel: links

I'm using an saas crm system that allows click 2 dial function.

Crm generates tel: links as following: https://office.crm.com/_module/crm/view/account_view/tel:+373%20699%2066%20299

The only link format which is working with the softphone is: https://office.crm.com/_module/crm/view/account_view/tel:+37369966299

Following question. Is it possible with a code injector chrome/firefox extension to automatically remove the %20 value from all links that contain "tel:"?

Thank you.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Something like this should do it for you:

document
    .querySelectorAll('a[href]')
    .forEach(
        (link) => {
            if(link.href.includes('tel:')) {
                link.href = link.href.replace(/%20/g, '');
            }
        }
    )
;

Demo here: https://jsfiddle.net/k0pjv65m/1/

It is pretty straightforward, grab all links with an href, if it includes the tel: string, remove any url-encoded spaces.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda