mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-03 19:15:30 +08:00
chrome extensions (#4308)
Build chrome extensions that allow interaction with browser content
This commit is contained in:
34
intergrations/extension_chrome/manifest.json
Normal file
34
intergrations/extension_chrome/manifest.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Ragflow Extension",
|
||||
"description": "Ragflow for Chrome",
|
||||
"version": "1.0",
|
||||
"options_page": "options.html",
|
||||
|
||||
"permissions": ["activeTab", "scripting", "storage"],
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
|
||||
"action": {
|
||||
"default_popup": "popup.html",
|
||||
"default_icon": {
|
||||
"16": "icons/icon-16x16.png",
|
||||
"48": "icons/icon-48x48.png",
|
||||
"128": "icons/icon-128x128.png"
|
||||
}
|
||||
},
|
||||
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["content.js"],
|
||||
"css": ["styles/popup.css"]
|
||||
}
|
||||
],
|
||||
"icons": {
|
||||
"16": "icons/icon-16x16.png",
|
||||
"48": "icons/icon-48x48.png",
|
||||
"128": "icons/icon-128x128.png"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user