NotHereToPlayGames Posted May 6, 2023 Author Share Posted May 6, 2023 The problem is going to be in one of these scripts. I can dig into it deeper over the weekend but I'd start with just blocking one at a time via uMatrix/uBlock and see if that restores website functionality. Link to comment Share on other sites More sharing options...
NotHereToPlayGames Posted May 6, 2023 Author Share Posted May 6, 2023 Could also be this script - Link to comment Share on other sites More sharing options...
NotHereToPlayGames Posted May 6, 2023 Author Share Posted May 6, 2023 Found the culprit. It is this script - www.gwr.com/_next/static/chunks/main-a1ce463ca4bb7b12.js Figures it had to be the "main" .js as the web site doesn't really "do" anything without it. Link to comment Share on other sites More sharing options...
Dave-H Posted May 6, 2023 Share Posted May 6, 2023 Thanks for the analysis! What I'm seeing is this - If I click on 'Go to the Home page' the page loads for an instant, and then goes back to the same error message. Other parts of the site, such as the pages for booking tickets, still seem to work. The problem with https://www.lner.co.uk/ is different, it's just not formatted properly, but I think this was a different problem. If I go to the GWR site with Firefox 52.9, it does display, but completely mis-formatted too. I guess these are unresolvable problems which will start to affect more and more sites as time goes on. Whether it's due to the out of date Chromium version or JavaScript incompatibilities, it will only get worse. 1 Link to comment Share on other sites More sharing options...
UCyborg Posted May 6, 2023 Share Posted May 6, 2023 Does no one read the console errors anymore? Object.hasOwn() is required, implemented since Chrome 93. 3 Link to comment Share on other sites More sharing options...
Dave-H Posted May 6, 2023 Share Posted May 6, 2023 Thank you, that explains it. 1 Link to comment Share on other sites More sharing options...
NotHereToPlayGames Posted May 6, 2023 Author Share Posted May 6, 2023 1 hour ago, UCyborg said: Does no one read the console errors anymore? Object.hasOwn() is required, implemented since Chrome 93. lol, a bad habit. I generally jump straight to making a site "readable" and I can do that most of the time just by blocking scripts or letting a few in without letting all in. I wonder of Object.hasOwn() can be injected the same way we inject structuredClone? 1 Link to comment Share on other sites More sharing options...
UCyborg Posted May 6, 2023 Share Posted May 6, 2023 I don't know, it does exist on GitHub, but I'm not familiar with npm and whether compiling it would give an injectable version. 1 Link to comment Share on other sites More sharing options...
NotHereToPlayGames Posted May 7, 2023 Author Share Posted May 7, 2023 (edited) This works at least in the case of https://www.gwr.com/ // ==UserScript== // @name Inject Object.hasOwn Polyfill // @version 0.0.1 // @match *://*/* // @run-at document-start // @grant none // ==/UserScript== if (!Object.hasOwn) { Object.defineProperty(Object, "hasOwn", { value: function (object, property) { if (object == null) { throw new TypeError("Cannot convert undefined or null to object") } return Object.prototype.hasOwnProperty.call(Object(object), property) }, configurable: true, enumerable: false, writable: true }) } Source: https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js Another read: https://stackoverflow.com/questions/69561596/object-hasown-vs-object-prototype-hasownproperty Edited May 7, 2023 by NotHereToPlayGames 5 Link to comment Share on other sites More sharing options...
Dave-H Posted May 7, 2023 Share Posted May 7, 2023 That's brilliant, thank you so much! 2 Link to comment Share on other sites More sharing options...
xjani Posted January 12 Share Posted January 12 How can I manually add a password to the 360Chrome password manager. For example: - https://msfn.org/ - https://www.deepl.com/ Maybe someone has a proven method, because those found on the Internet - do not work with this browser. Link to comment Share on other sites More sharing options...
rereser Posted January 14 Share Posted January 14 in 360chrome you can't do that. run the shortcut to the 360loader.exe in windows 2000 compatibility mode. that way you will get the "save password" prompt on many more sites like msfn and deepl. 1 Link to comment Share on other sites More sharing options...
xjani Posted January 14 Share Posted January 14 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now