mirror of https://github.com/gorhill/uBlock.git
Use `trusted-` prefix for `replace-node-text`
The official name is `trusted-replace-node-text`. `replace-node-text` is demoted to alias. `trusted-rpnt` added asan alias. Aliases not prefixed with `trusted-` are deprecated and will be removed eventually. Related feedback: https://github.com/uBlockOrigin/uBlock-issues/discussions/2895#discussioncomment-7567863
This commit is contained in:
parent
6a9c69aa94
commit
28d92d38f3
|
@ -3726,9 +3726,11 @@ function multiup() {
|
||||||
**/
|
**/
|
||||||
|
|
||||||
builtinScriptlets.push({
|
builtinScriptlets.push({
|
||||||
name: 'replace-node-text.js',
|
name: 'trusted-replace-node-text.js',
|
||||||
requiresTrust: true,
|
requiresTrust: true,
|
||||||
aliases: [
|
aliases: [
|
||||||
|
'trusted-rpnt.js',
|
||||||
|
'replace-node-text.js',
|
||||||
'rpnt.js',
|
'rpnt.js',
|
||||||
],
|
],
|
||||||
fn: replaceNodeText,
|
fn: replaceNodeText,
|
||||||
|
|
Loading…
Reference in New Issue