Firefox 131 will include support for links to arbitrary text excerpts

In the codebase for the upcoming release of Firefox 131 scheduled for October 1, support for the Text Fragments mechanism is enabled by default, allowing external links to be created that navigate to arbitrary positions within the text on a page without adding markers to the page. <a name> and without relying on element identifiers. Positioning is determined using a text mask embedded in the link.

For example, when you click on the link "https://opennet.me/61785#:~:text=TextFragments", the browser will scroll the page to the position of the phrase "Text Fragments" and highlight it in color. In addition to setting a simple mask, it also supports the ability to define start and end masks for the highlighted text, as well as binding to preceding and succeeding masks used to highlight the desired fragment when multiple matches occur on the page. Chrome has had similar functionality since 2020, while Safari has had it since 2022.

Additionally, it is worth noting the publication of a prototype of a new configuration interface for Firefox, which features a changed design, an expanded number of categories with settings, and a breakdown of parameters into visually separated levels instead of displaying them one after another on a single page.

Firefox 131 will include support for links to arbitrary text excerpts
Firefox 131 will include support for links to arbitrary text excerpts


Source: opennet.ru
Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster