"Oops, an error occurred!"

TESTS :test_tube:
[Windows 7]:

  1. In Google Chrome version: “109.0.5414.120” does not work :no_entry_sign:
  2. In Mozilla Firefox version: “115.14.0esr” works :white_check_mark:

[Windows 11]:

  1. In Google Chrome version: “128.0.6613.7” works :white_check_mark:

[Android 10]:

  1. In Google Chrome version: “126.0.6478.122” works :white_check_mark:

PROBLEMS :supervillain:
Apparently the browser version requirements have increased. In Windows 7, Google Chrome no longer allows you to update beyond version: “109.0.5414.120”. Currently parts of the chatGPT javascript code are trying to use functionality that does not exist in older versions of browsers.

SOLUTIONS :monkey_face: ( “Javascript code answered by chatGPT” )
Only the following options remain:

  • #1 :sunglasses: . install another browser. For example Mozilla Firefox.
  • #2 :nerd_face: . (automatically inject method: “toSorted” to array prototype if not present) :
-- In Google Chrome install the extension: " https://chromewebstore.google.com/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii " (Resource Override) and configure the following -- :

1 - [Open: Resource Override] :

2 - [Press Button: Add Tab Group] :
Tab URL: " *chatgpt.com/* "

3 - [Press Button: Add Rule > Press Button: Inject File] :
Name: " ArrayPrototypeToSorted.js " 
File Type: " JS "
Inject into: " Head "

4 - [Press Button: Edit File] :
//copy this (ArrayPrototypeToSorted.js) . ini
if (!Array.prototype.toSorted) {
    Array.prototype.toSorted = function(compareFn) {
        compareFn = compareFn || ((a, b) => String(a).localeCompare(b));
        const arrayCopy = [...this];
        return arrayCopy.sort(compareFn);
    };
}
//copy this (ArrayPrototypeToSorted.js) . end
[Press Button: Save & Close] .

-- On page load: "*chatgpt.com/*" ; This will add the missing functionality. --

Resource Override Configuration . Capture:

  • #3 :cold_face: . Let’s let our beloved Windows 7 go once and for all so we can update Google Chrome
10 Likes