I am using Safari v17+ but still not working for me.
[
{
"id" : 1,
"priority" : 1,
"action" : {
"type" : "redirect",
"redirect": {
"regexSubstitution": "xy.abc.net"
}
},
"condition" :
{
"regexFilter": "(m\\/)",
"resourceTypes" : [ "main_frame" ]
}
}
]
This is not working but the redirect supports "url" .
I have already added the below permissions.
"host_permissions": [
"<all_urls>"
],
"permissions": [ "activeTab", "scripting", "declarativeNetRequestWithHostAccess" ]
Can anyone share some snippet for whom it is working. Am I missing anything?
Topic:
Safari & Web
SubTopic:
General
Tags: