-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError:Connot read property 'test' of undefined Chrome old versions <60 #615
Comments
Hi. Can you show me original source code of this part?
|
Hmm. This is invalid code. How did you obfuscate your code? |
I bumped into this error, too.
|
Probably something other breaks your code, because here
this line is invalid JS code.:
|
@JerryChan31 can you try to reproduce it here? |
var a0_0x39cc89 = a0_0x2ff663(this, function() {
var _0x3bc218 = function() {
var _0x1ea51c = _0x3bc218['constructor']('return\x20/\x22\x20+\x20this\x20+\x20\x22/')()['compile']('^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}');
return !_0x1ea51c['test'](a0_0x39cc89);
};
return _0x3bc218();
}); This is where my code throws error.It looks like regular expression I guess ? |
hi Timofey uncompacted code:
I think regular expressions can throw an error on old versions when we compact the code:
|
Bumped into this problem too. Here is the original code :
Here are the options:
|
Just have applied for a free opensource BrowserStack plan, so can test it. |
I have found the problem, the PR is ready. |
Fixed in |
Expected Behavior
Hi,
I noticed that my obfuscated code doesn't work on the old versions of Chrome.
I tested it on most of old versions. (versions: 32,42,43,44 .... 63);
Also I tried to check the other browsers (old versions); I got the same problem from Opera too.
Firefox had no problem.
it seems the problem is in this part:
var _0x581498 = function() {
var _0x50df5e = _0x581498[_0xa8ea('0x53e', '7]tY')](_0x2b610f[_0xa8ea('0x1b07', '%Rif')])()_0xa8ea('0x12c8', 'KvLJ')]);
return !_0x50df5e'test';
};
I'm trying to figure it out ,and also waiting your help.
thanks for making this amazing tool.
The text was updated successfully, but these errors were encountered: