TESTS
[Windows 7]:
- In Google Chrome version: “109.0.5414.120” does not work
- In Mozilla Firefox version: “115.14.0esr” works
[Windows 11]:
- In Google Chrome version: “128.0.6613.7” works
[Android 10]:
- In Google Chrome version: “126.0.6478.122” works
PROBLEMS
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 ( “Javascript code answered by chatGPT” )
Only the following options remain:
- #1
. install another browser. For example Mozilla Firefox.
- #2
. (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
. Let’s let our beloved Windows 7 go once and for all so we can update Google Chrome