Is it possible to use the green bar in the Timeline to erase keyframes?
Is there someway to do something like erasing keyframes by scrolling over them instead of removing them one by one?
This is now possible. Keys are shown as diamonds, like in the dope sheet. Mark them and hit X to delete them.
No; not in the timeline.
This is done in the Dope Sheet.
Hit X to delete selected keyframes.
It is possible to delete the keyframes from the 3D view without having to have one of the animation views visible but it doesn't remove the problem of having to delete the keyframes one by one.
Move to the timeline marker to the frame that has the keyframe you want to delete.
With the cursor in the 3D view press Alt+I and choose 'Delete Keyframe'.
This will delete all keyframes on the current frame but still has to be done on every separate frame.
There is another way to erase keyframes (This method allows you to select precisely which property to delete key):
Right-click on it, and select Delete keyframes, or Delete Single Keyframe (the first will delete all 3 location property keys, and the second only the property you right-clicked on, i.e. X, Y, or Z).
The given answers are ok for a few objects with keyframes, but if you have a lot of objects. Then select all objects, go in the graph editor and hit A to select all keyframes. Then X to delete all selected. All keyframes are gone in more less steps.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?