It is first stage of the PSST feature implementation. The main goal was to make the existing code ready to the next implementation steps and be consistent with feature requirements. Resolves: https://github.com/brave/brave-browser/issues/46045 --------- Signed-off-by: Vadym Struts <vstruts@brave.com>
36 lines
697 B
JSON
36 lines
697 B
JSON
[
|
|
{
|
|
"name": "a",
|
|
"include": [
|
|
"https://a.test/*"
|
|
],
|
|
"exclude": [
|
|
],
|
|
"version": 1,
|
|
"user_script": "user.js",
|
|
"policy_script": "policy.js"
|
|
},
|
|
{
|
|
"name": "b",
|
|
"include": [
|
|
"https://b.test/*"
|
|
],
|
|
"exclude": [
|
|
],
|
|
"version": 1,
|
|
"user_script": "user.js",
|
|
"policy_script": "policy.js"
|
|
},
|
|
{
|
|
"name": "rule_with_wrong_script_path",
|
|
"include": [
|
|
"https://url.test/*"
|
|
],
|
|
"exclude": [
|
|
],
|
|
"version": 1,
|
|
"user_script": "user.js",
|
|
"policy_script": "policy.js"
|
|
}
|
|
]
|