can modularize
This commit is contained in:
		
							parent
							
								
									11202ba79f
								
							
						
					
					
						commit
						6cc6a61eee
					
				
					 1 changed files with 7 additions and 5 deletions
				
			
		|  | @ -4,23 +4,25 @@ | ||||||
| 	"description": "__MSG_manifest_description__", | 	"description": "__MSG_manifest_description__", | ||||||
| 	"version": "0", | 	"version": "0", | ||||||
| 	 | 	 | ||||||
| 	"permissions": [ "tabs", "activeTab", "storage"], | 	"permissions": [ "tabs", "activeTab", "storage", "unlimitedStorage"], | ||||||
| 	 | 	 | ||||||
| 	"action": { | 	"action": { | ||||||
| 	  "default_icon": "gui/icons/logo_no_tiny.png", | 	  "default_icon": "gui/icons/logo_no_tiny.png", | ||||||
|       "default_popup": "gui/popup.htm" |       "default_popup": "gui/popup.htm" | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
| 	"background": { |  | ||||||
| 		"service_worker": "scripts/ShopAI.js", |  | ||||||
| 		"type": "module" |  | ||||||
| 	}, |  | ||||||
| 	"content_scripts": [ | 	"content_scripts": [ | ||||||
| 		{ | 		{ | ||||||
| 			"matches": ["http://*/*", "https://*/*"], | 			"matches": ["http://*/*", "https://*/*"], | ||||||
| 			"js": ["scripts/watchman.js"] | 			"js": ["scripts/watchman.js"] | ||||||
| 		} | 		} | ||||||
| 	], | 	], | ||||||
|  | 	"web_accessible_resources": [ | ||||||
|  | 		{ | ||||||
|  | 			"matches": ["http://*/*", "https://*/*"], | ||||||
|  | 			"resources": ["scripts/secretariat.js", "scripts/reader.js", "gui/scripts/read.JS", "gui/scripts/alerts.js"] | ||||||
|  | 		} | ||||||
|  | 	], | ||||||
| 	 | 	 | ||||||
| 	"icons": { | 	"icons": { | ||||||
| 		"1024": "gui/icons/logo.png", | 		"1024": "gui/icons/logo.png", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue