Save all pages in Safari

I sometimes need to save every webpage i surf. I think AppleScript could automate this. Has anybody done something similar?

AppleScript grabs current tabs source and saves it as html or even better, as webarchive. This should happen automatically while surfing web without using save-dialog.

I just posted this in code exchange, it will help with save as webarchive, try here. Best is to have it on keystroke and choice what to save.

Safari 2 you have to GUI tabs, But in Safari 3 Beta you can script tabs, see here

See if you can put the two scripts together, need help just ask.