2024-09-22 - Cannot login anymore
On 2024-09-22, all of a sudden, I was unable to login to my ChatGPT account with Firefox using the URL
https://chatgpt.com/auth/login: when clicking on
Log in, nothing would happen, not even an error message would be displayed.
Using ctrl+shift+e
, under the network tab, I found the error message Uncaught TypeError: Intl.Segmenter is not a constructor.
// ==UserScript==
// @name Intl.Segmenter Polyfill for ChatGPT
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Fix missing Intl.Segmenter in Firefox ESR
// @match https://chatgpt.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
if (!Intl.Segmenter) {
Intl.Segmenter = function() {
return {
segment: () => [{segment: 'fallback'}]
};
};
}
})();