Setup is just one step - copy the JavaScript code below and paste it into a new bookmark on your browser's bookmarks bar. as well as move the Delete button back to its rightful position. Fortunately, with a little JavaScript, you can remove the Archive button. This adjustment is a minor inconvenience to some, and a major headache to others.
But for some reason, Yahoo! decided to place the Archive button exactly where the Delete button used to be on the inbox toolbar - so now when veteran Yahoo! Mail users try to delete an email, they often find themselves archiving it instead.
Yahoo! Mail recently introduced its new 'archive' feature, which is nothing more than another folder to store messages in.