add page to bookmarks

hi there,i would like to add a button, which allows to add a page to the browser-favorites.therefor i´ve found some scripts like:onclick="javascript:window.external.AddFavorite('http://www.xyz.whatever','xyz.whatever')"and putted into the editor: