@m4zuper Please understand the problem.
Slow proxy can also be with a slow internet.
And I don't understand why this affects.
I'm sure it never happened in version 23.2.2, even though I haven't used it in a long time.
@yourfriendkarol
This code contains an event handler. It should be added to the page before it is downloaded (preferably). Use "Browser -> execute every time the page loads". From "Tools -> execute the code" access to the root object "windows" is not. From this error there is - no "windows.document"