mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-10-31 05:45:27 +01:00 
			
		
		
		
	Updated 3.1 User Scripts (markdown)
| @@ -42,22 +42,22 @@ You can test it at [JoDonym](http://ip-check.info/?lang=en) | |||||||
|  |  | ||||||
| var _window={name:window.name}; | var _window={name:window.name}; | ||||||
| Object.defineProperty(window,'name',{ | Object.defineProperty(window,'name',{ | ||||||
| 	get:function() |     get:function() | ||||||
|  |     { | ||||||
|  | 	//No CAPTCHA reCAPTCHA | ||||||
|  | 	if(/^https:\/\/www\.google\.com\/recaptcha\/api2\/(?:anchor|frame)\?.+$/.test(window.location.href)&&/^I[0-1]_[1-9][0-9]+$/.test(_window.name)) | ||||||
| 	{ | 	{ | ||||||
| 		//No CAPTCHA reCAPTCHA | 		return _window.name; | ||||||
| 		if(/^https:\/\/www\.google\.com\/recaptcha\/api2\/(?:anchor|frame)\?.+$/.test(window.location.href)&&/^I[0-1]_[1-9][0-9]+$/.test(_window.name)) |  | ||||||
| 		{ |  | ||||||
| 			return _window.name; |  | ||||||
| 		} |  | ||||||
| 		else |  | ||||||
| 		{ |  | ||||||
| 			if(_window.name!='') |  | ||||||
| 			{ |  | ||||||
| 				console.warn('Intercepted read access to window.name "'+_window.name+'" from '+window.location); |  | ||||||
| 			} |  | ||||||
| 			return ''; |  | ||||||
| 		} |  | ||||||
| 	} | 	} | ||||||
|  | 	else | ||||||
|  | 	{ | ||||||
|  | 		if(_window.name!='') | ||||||
|  | 		{ | ||||||
|  | 		console.warn('Intercepted read access to window.name "'+_window.name+'" from '+window.location); | ||||||
|  | 		} | ||||||
|  | 		return ''; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| }); | }); | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Thorin-Oakenpants
					Thorin-Oakenpants