Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Phoney

30 sites Security covered Drupal 11 · not 10
View on drupal.org

This module protects phone numbers from spam bots by encrypting and obscuring them, then using JavaScript in the browser to decode them into clickable links. It offers an input filter and a field formatter for telephone and text fields.

This module provides an input filter and field format that protects telephone numbers from spam bots while being visible by humans.

The filter encrypts and then obscures the phone number behind a data-attribute. The HTML is then decrypted and rewritten in the client browser via JavaScript back into a clickable phone link, (there is no non-JavaScript fallback).

A field formatter for telephone and/or text fields was added to the 2.1.x version, (Drupal 11 only).

Currently the display format used is compatible with US 10 digit telephone numbers, (234) 456-7890.

Original phone link:<a href="tel:2344567890">2344567890</a>

Encoded phone link: <a href="#" data-phone-to="EFGGHIJKLC" data-replace-inner="@phone">@phone</a>

JavaScript decoded link: <a href="tel:2344567890">(234) 456-7890</a> 

The Obfuscate Email module does something similar for email addresses, (and was an inspiration for this module).

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • filter Drupal core
  • text Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Oct 2024
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.1.0 Stable 11 Mar 10, 2026
2.1.0-beta1 Pre-release 11 Mar 8, 2026
2.1.0-alpha1 Pre-release 11 Feb 15, 2026
2.0.1 Stable 9–11 Oct 14, 2024