You are not logged in.
Hay!
I updated the OS at Friday (17. 03.). Since then some sites (redmenta.com, start.me) javascript fails to run with weird errors: illegal escape character or illegal character. I use Seamonkey and the js related progs are:
$ pacman -Qs javascript
local/duktape 2.7.0-5
Embeddable Javascript engine
local/qt5-declarative 5.15.8+kde+r24-2 (qt qt5)
Classes for QML and JavaScript languages
local/qt5-webchannel 5.15.8+kde+r3-1 (qt qt5)
Provides access to QObject or QML objects from HTML clients for seamless
integration of Qt applications with HTML/JavaScript clients
local/webkit2gtk 2.38.5-1
Web content engine for GTK
Why is this error here, when previously weren't?
Offline
seamonkey uses a built-in javascript engine, other updates should not be relevant.
It also comes w/ a javascript debugger to narrow down on the issue.
redmenta checks the user agent, so it might even discriminate on that basis.
Online
SyntaxError: invalid identity escape in regular expression
Now I try to find out how to use debugger.
Offline
The error is in this part:
concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u)
Offline
In what file, context?
Online
SyntaxError: invalid identity escape in regular expression application-be36419e0b2330d33fde.js:1:1049927
Offline
Neither redmenta.com nor start.me source such (or even similarily named) file here.
Edit: I'd try to spoof the useragent, pretend to be some firefox version.
Last edited by seth (2023-03-22 13:36:53)
Online
I tried as SM, as SM with FF comp and as FF, both won't do it. The error comes when I try to sign in, but before I choose the method (Google/FaceBook/else).
Offline
It is a very long oneliner, 1049927 sized.
Offline
From another machine with Google Chrome, I get the following tip:
A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown.
Seems like the problem is with the useragent string, but I don't know, why, because SM didn't updated since 01:25, and the error arriced last week...
Offline
I don't know, why, because SM didn't updated since 01:25, and the error arriced last week...
The page/script might have changed.
Does chrome complain about the script?
Does it load that script?
Did you try to spoof a chrome UA?
Chromium loads some scripts w/ hash-value-like names when I pretend to login at redmenta - and they do have some concat calls (unsurprisingly), but not the one you posted.
Online
I don't know, why, because SM didn't updated since 01:25, and the error arriced last week...
The page/script might have changed.
Does chrome complain about the script?
Does it load that script?
Did you try to spoof a chrome UA?Chromium loads some scripts w/ hash-value-like names when I pretend to login at redmenta - and they do have some concat calls (unsurprisingly), but not the one you posted.
Chrome didn't complain this script. And some misunderstood: this script is in start.me, not in redmenta. I will look for redmenta later., that is less important. How to spoof seamonkey UA to chrome?
Offline
redmenta.com drops:
TypeError: asm.js type error: Disabled by debugger
vendor.js
SyntaxError: illegal character
[Learn More]
vendor.js:1:2628448
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
Offline
How to spoof seamonkey UA to chrome?
You'll need an extension like https://chrome.google.com/webstore/deta … pkjnoahfmg and the UA string from SeaMonkey
Online
Looked for extensions, but they are incompatible with my version... The I try By hand...
Offline
https://chrome.google.com/webstore/deta … pkjnoahfmg is provided by google, how is that incompatible w/ what version of chrome specifically??
Online
No, no, for seamonkey to lie itself as chrome...
Offline
https://addons.thunderbird.net/en-US/se … -switcher/
https://addons.thunderbird.net/en-US/se … t-changer/
Never used seamonkey. Can't you get to settings on about:config
http://forums.mozillazine.org/viewtopic … p=14894541
Offline
I can get to about:config, now I need a proper UA string.
Offline
Offline
Thanx. I tried some, the issue is the same - I contacted the start.me team if they have something to do.
Offline