feat: implement browser extension for media publishing and add backend support for media management
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
[
|
||||
{
|
||||
"id": 4,
|
||||
"priority": 1,
|
||||
"action": {
|
||||
"type": "modifyHeaders",
|
||||
"requestHeaders": [
|
||||
{
|
||||
"header": "Referer",
|
||||
"operation": "set",
|
||||
"value": "https://zhuanlan.zhihu.com"
|
||||
},
|
||||
{
|
||||
"header": "origin",
|
||||
"operation": "set",
|
||||
"value": "https://zhuanlan.zhihu.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"condition": {
|
||||
"urlFilter": "https://zhuanlan.zhihu.com/*",
|
||||
"resourceTypes": ["xmlhttprequest"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"priority": 1,
|
||||
"action": {
|
||||
"type": "modifyHeaders",
|
||||
"requestHeaders": [
|
||||
{
|
||||
"header": "Referer",
|
||||
"operation": "set",
|
||||
"value": "https://zhuanlan.zhihu.com"
|
||||
},
|
||||
{
|
||||
"header": "origin",
|
||||
"operation": "set",
|
||||
"value": "https://zhuanlan.zhihu.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"condition": {
|
||||
"urlFilter": "*://*.zhimg.com/*",
|
||||
"resourceTypes": ["xmlhttprequest"]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user