diff --git a/3.1-User-Scripts.md b/3.1-User-Scripts.md index 505725c..5856237 100644 --- a/3.1-User-Scripts.md +++ b/3.1-User-Scripts.md @@ -42,22 +42,22 @@ You can test it at [JoDonym](http://ip-check.info/?lang=en) var _window={name: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 - 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 ''; - } + return _window.name; } + else + { + if(_window.name!='') + { + console.warn('Intercepted read access to window.name "'+_window.name+'" from '+window.location); + } + return ''; + } +} }); ```