文 件上传
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function init() {
|
||||
if (window.location.href.startsWith('https://www.aliexpress.us/item/')) {
|
||||
if (window.location.href.startsWith('https://www.aliexpress.com/item/')) {
|
||||
const popup = document.createElement("div")
|
||||
popup.innerText = "下载图片"
|
||||
const styles = {
|
||||
|
||||
24
public/rules_3.json
Normal file
24
public/rules_3.json
Normal file
@@ -0,0 +1,24 @@
|
||||
[
|
||||
{
|
||||
"id": 12,
|
||||
"priority": 1,
|
||||
"action": {
|
||||
"type": "modifyHeaders",
|
||||
"requestHeaders": [
|
||||
{
|
||||
"header": "Origin",
|
||||
"operation": "set",
|
||||
"value": "https://www.aliexpress.com"
|
||||
},
|
||||
{
|
||||
"header": "Referer",
|
||||
"operation": "set",
|
||||
"value": "https://www.aliexpress.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"condition": {
|
||||
"urlFilter": "||aeproductsourcesite.alicdn.com"
|
||||
}
|
||||
}
|
||||
]
|
||||
24
public/rules_4.json
Normal file
24
public/rules_4.json
Normal file
@@ -0,0 +1,24 @@
|
||||
[
|
||||
{
|
||||
"id": 12,
|
||||
"priority": 1,
|
||||
"action": {
|
||||
"type": "modifyHeaders",
|
||||
"requestHeaders": [
|
||||
{
|
||||
"header": "Origin",
|
||||
"operation": "set",
|
||||
"value": "https://kuajing.pinduoduo.com"
|
||||
},
|
||||
{
|
||||
"header": "Referer",
|
||||
"operation": "set",
|
||||
"value": "https://kuajing.pinduoduo.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"condition": {
|
||||
"urlFilter": "||kuajing-file.pinduoduo.com"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user