highlight-keywords

高亮关键词,可设置关键词的样式,支持正则匹配

As of 08. 03. 2023. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
mudssky
Ocene
0 0 0
Verzija
2.0.0
Napravljeno
08. 03. 2023
Ažurirano
08. 03. 2023
Size
17,7 КБ
Licenca
MIT
Važi za
All sites

使用方法

脚本的作用是高亮关键词。

遍历页面所有的文本节点,通过修改标签的方法添加样式

在油猴脚本的菜单里面,打开配置面板,就可以配置脚本,配置信息使用油猴脚本的存储存在浏览器本地

配置文件的json需要满足下面的格式。


[
  {
    "keywords": ["watch"],
    "matchUrl": "cn.vuejs.org"
  }
]