How To Interact With Browser Events Using Javascript

How To Interact With Browser Events Using Javascript