兼容ie和火狐的收藏地址
/**??
?*???
?* @param {} sURL 收藏链接地址??
?* @param {} sTitle 收藏标题??
?*/??
function addFavorite(sURL, sTitle) {??
??? try {??
??????? window.external.addFavorite(sURL, sTitle);??
??? } catch (e) {??
??????? try {??
??????????? window.sidebar.addPanel(sTitle, sURL, "");??
??????? } catch (e) {??
??????????? alert("加入收藏失败,请使用Ctrl+D进行添加");??
??????? }??
??? }??
}