This uses the text fragment API to generate a fragment based on the search query; Chromium will then try to scroll to the correct place in the page when the URL is opened.
This may not work in all cases (eg for certain combinations of special characters it may fail), but it works on the pages I've tested so far.
This uses the text fragment API to generate a fragment based on the search query; Chromium will then try to scroll to the correct place in the page when the URL is opened.
This may not work in all cases (eg for certain combinations of special characters it may fail), but it works on the pages I've tested so far.
https://github.com/user-attachments/assets/8fd7b216-10df-4695-b3a2-5392f9812efb