Safari extension to click a link and wait for fully loading the content and save in webarchive

I want a safari extension so that one can click a link, then open the link in a new tab, wait the webpage fully load, save the complete page in webarchive, then remove the tab. Can this be done with a safari extension? If so, can anybody show me how to do it?

Safari extension to click a link and wait for fully loading the content and save in webarchive
 
 
Q