I can't believe that no web browser has implemented turning JavaScript off after perhaps 10 seconds
Disabling and then re-enabling Javascript will cause my bank's web site to log you out, requiring full 2FA to log in again.