Alert() doesn't work on chatgpt.com
Briefly

The issue with alerts not working in Tampermonkey on chatgpt.com may stem from the timing at which the script is executed, as 'document-start' runs before the page loads its content.
Using @run-at document-start can occasionally prevent certain functions like alert() from executing properly because the DOM might not be fully accessible or ready for interactions.
Another reason could be that modern browsers, particularly with security measures in place, may restrict or limit pop-up functionality for scripts running in userscripts.
If your script is set up correctly yet still fails, try adjusting the @run-at parameter or using an event listener to ensure the script runs when the DOM is ready.
Read at SitePoint Forums | Web Development & Design Community
[
|
]