跳转到没有锚点的网站

Jump to string an website without an anchor

可能使用 javascript,通过网站上的 link 跳转到特定的句子(字符串)吗?

像主播一样,只是没有HTML中的主播。

这是搜索结果的示例,搜索字符串为 "content directory":

Result: <a href="https://aaa.de/sss/planets/">planets/</a> on line 20: <br>
If you create a folder within the content directory (e.g. <code class="hljs lua">content/<span class="hljs-built_in">sub</span></code>) and...

打开link后,浏览器应该跳转到这一行(行号当然只是搜索到的文本文件中的那一行。)并且喜欢给搜索字符串着色。

我找到了一些有用的脚本:http://www.seabreezecomputers.com/tips/find6.htm
它提供了一个侧面搜索按钮