很简单哦, 就一句话<a href="javascript:window.external.AddFavorite('http://www.javaweb.cc','江杨水产网站')">加为收藏</a>