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

211
Views
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 answers
Answer question

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 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!