1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

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:
Raymond Hill 2023-11-14 13:53:29 -05:00
parent 6a9c69aa94
commit 28d92d38f3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -3726,9 +3726,11 @@ function multiup() {
**/
builtinScriptlets.push({
name: 'replace-node-text.js',
name: 'trusted-replace-node-text.js',
requiresTrust: true,
aliases: [
'trusted-rpnt.js',
'replace-node-text.js',
'rpnt.js',
],
fn: replaceNodeText,