News for hackers. Stuff that matters.
Re:Why Gov.uk's Exit this Page component doesn't use the Esc... by echoangle on Thursday October 10, 2024 @12:48AM (#41795611)

  window.onload = function(){}
Shouldn’t this be addEventHandler? Otherwise, you can only have a single onload callback, right?
Re:Why Gov.uk's Exit this Page component doesn't use the Esc... by marcosdumay on Thursday October 10, 2024 @08:44AM (#41798249)
It should be addEventHandler if you want to have more than one handler, yes.

Otherwise, it's fine.