1.0.2 • Published 1 year ago

@webceterauk/secure-tel-link v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Dynamically add telephone number

This script is design to take the text content of a div and replace it with a telephone number.

The idea is that a JavaScript added tel number is less prone to being scraped.

The telephone number is hard coded into the script at this point in time.

TODO

It would be better to have the number added via an attribute, so you just ned to have, eg:

'tel-number = 01234123345'

We could even add some checks and measures for the number.

1.0.2

1 year ago