create and test initial extension pop-up interface
It is not referring to what's injected, but the way this'll happen will be a bit relevant to it…
This commit is contained in:
		
							parent
							
								
									a34b1beddf
								
							
						
					
					
						commit
						291c8a24e8
					
				
					 2 changed files with 11 additions and 6 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| <html>
<head> | ||||
|   <script type="module" src="scripts/external/jquery.js"></script> | ||||
|   <script type="module" src="scripts/popup.js">
</script> | ||||
| </head></html> | ||||
|  |  | |||
|  | @ -1,12 +1,16 @@ | |||
| /* Popup.js | ||||
|   Build the interface for popup | ||||
| */ | ||||
| 
 | ||||
| // Import modules.
 | ||||
| import compat from "./compat.js"; | ||||
| import texts from "./read.JS"; | ||||
| 
 | ||||
| // Call the main function.
 | ||||
| function main() { | ||||
|    | ||||
| } | ||||
| 
 | ||||
| /* Run detection */ | ||||
| import {restrict} from "./compat.js"; | ||||
| 
 | ||||
| if (!restrict()) { | ||||
| if (compat.restrict()) { | ||||
|   main(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue