add userscript
This commit is contained in:
		
							parent
							
								
									d0e7e359e1
								
							
						
					
					
						commit
						3c45019850
					
				
					 3 changed files with 360 additions and 7 deletions
				
			
		|  | @ -5,7 +5,6 @@ import { bookPriceFor } from "./bookPriceFor"; | ||||||
| 
 | 
 | ||||||
| /* | /* | ||||||
| TODO: | TODO: | ||||||
| - publish to stores |  | ||||||
| - more durable source for rates | - more durable source for rates | ||||||
| - React for UI | - React for UI | ||||||
| - More informative UI, show loading progress | - More informative UI, show loading progress | ||||||
|  | @ -103,8 +102,4 @@ async function main() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| l("starting..."); | l("starting..."); | ||||||
| 
 | void main(); | ||||||
| window.onload = () => { |  | ||||||
|   l("page is fully loaded"); |  | ||||||
|   void main(); |  | ||||||
| }; |  | ||||||
|  |  | ||||||
							
								
								
									
										358
									
								
								lib/koboprice.user.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										358
									
								
								lib/koboprice.user.js
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -1,7 +1,7 @@ | ||||||
| { | { | ||||||
|   "name": "Kobo Price", |   "name": "Kobo Price", | ||||||
|   "description": "Find lowest book price on kobo.com", |   "description": "Find lowest book price on kobo.com", | ||||||
|   "version": "1.1.7", |   "version": "1.1.8", | ||||||
|   "manifest_version": 3, |   "manifest_version": 3, | ||||||
|   "content_scripts": [ |   "content_scripts": [ | ||||||
|     { |     { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue