v0.10.2 - #45
This commit is contained in:
		
							parent
							
								
									ba78222c03
								
							
						
					
					
						commit
						1bbc3a16f0
					
				
					 3 changed files with 14 additions and 4 deletions
				
			
		
							
								
								
									
										14
									
								
								dist/main.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								dist/main.js
									
										
									
									
										vendored
									
									
								
							|  | @ -5,7 +5,7 @@ | |||
| // @supportURL   https://github.com/Xmader/musescore-downloader/issues
 | ||||
| // @updateURL    https://msdl.librescore.org/install.user.js
 | ||||
| // @downloadURL  https://msdl.librescore.org/install.user.js
 | ||||
| // @version      0.10.1
 | ||||
| // @version      0.10.2
 | ||||
| // @description  download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
 | ||||
| // @author       Xmader
 | ||||
| // @match        https://musescore.com/*/*
 | ||||
|  | @ -26456,7 +26456,7 @@ Please pipe the document into a Node stream.\ | |||
|         const _fn = target[method]; | ||||
|         // This script can run before anything on the page,  
 | ||||
|         // so setting this function to be non-configurable and non-writable is no use.
 | ||||
|         target[method] = function (i) { | ||||
|         const hookFn = function (i) { | ||||
|             const m = this.match(MAGIC_REG); | ||||
|             if (m) { | ||||
|                 resolve(m[2]); | ||||
|  | @ -26465,6 +26465,16 @@ Please pipe the document into a Node stream.\ | |||
|             } | ||||
|             return _fn.call(this, i); | ||||
|         }; | ||||
|         target[method] = hookFn; | ||||
|         // make hooked methods "native"
 | ||||
|         const _toString = Function.prototype['toString']; | ||||
|         Function.prototype.toString = function s() { | ||||
|             if (this === hookFn || this === s) { | ||||
|                 // "function () {\n    [native code]\n}"
 | ||||
|                 return _toString.call(parseInt); | ||||
|             } | ||||
|             return _toString.call(this); | ||||
|         }; | ||||
|     }); | ||||
|     const getFileUrl = (type, index = 0) => __awaiter(void 0, void 0, void 0, function* () { | ||||
|         const fileUrlModule = webpackHook(FILE_URL_MODULE_ID, { | ||||
|  |  | |||
							
								
								
									
										2
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|   "name": "musescore-downloader", | ||||
|   "version": "0.10.1", | ||||
|   "version": "0.10.2", | ||||
|   "lockfileVersion": 1, | ||||
|   "requires": true, | ||||
|   "dependencies": { | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|   "name": "musescore-downloader", | ||||
|   "version": "0.10.1", | ||||
|   "version": "0.10.2", | ||||
|   "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", | ||||
|   "main": "dist/main.js", | ||||
|   "repository": { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue