Web platform features explorer

Custom highlights

Custom highlights style arbitrary text ranges, without adding extra elements to the DOM.

Status

Limited availability

MDN documentation

Browser support

  • Chrome 105 Released on 2022-09-02
  • Chrome Android 105 Released on 2022-09-02
  • Edge 105 Released on 2022-09-01
  • Firefox Vendor position : positive
  • Firefox for Android Vendor position : positive
  • Safari 17.2 Released on 2023-12-11
  • Safari on iOS 17.2 Released on 2023-12-11

Baseline availability blocked since December 2023 by Firefox (24 months)

Developer signals

Usage (according to Chrome Platform Status)

~0.014% of page loads. More data at chromestatus.com.

Developer signals

Votes: 0

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.