add proxy switch demo

This commit is contained in:
go0p
2026-08-06 15:11:35 +08:00
committed by go0p
parent 0407229e05
commit 57545ae80f
28 changed files with 12458 additions and 28 deletions
+17 -10
View File
@@ -3,36 +3,43 @@
"name": "Yakit Chrome Endpoint",
"version": "1.0",
"description": "A Endpoint for Yakit MITM or more",
"options_ui": {
"page": "proxy/options.html",
"open_in_tab": true
},
"action": {
"default_popup": "index.html",
"default_title": "Click to open panel",
"default_icon": {
"16": "/images/icon16.png",
"48": "/images/icon48.png",
"128": "/images/icon128.png"
}
},
"side_panel": {
"default_path" : "index.html"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"permissions": [
"webNavigation",
"activeTab",
"scripting",
"tabs",
"proxy",
"storage",
"webRequest"
"sidePanel"
],
"host_permissions": [
"<all_urls>"
"*://*/*"
],
"web_accessible_resources": [
{
"resources": ["inject.js"],
"matches": ["<all_urls>"],
"use_dynamic_url": true
"resources": [
"types/*.js",
"proxy/*.js",
"socket.js",
"proxy.js"
],
"matches": ["<all_urls>"]
}
],
"icons": {