asp.net怎么将网页添加为首页或加入收藏夹中
<span onClick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://172.24.96.9/dd/');" style="CURSOR: hand">//
<a
href="#"
onClick="window.external.addFavorite('http://172.24.96.9/ddxx/','你的公司名称')"title=你的公司名称' >
<input type=button value=导入收藏夹 onclick=window.external.ImportExportFavorites(true,"http://localhost/");>
<input type=button value=导出收藏夹 onclick=window.external.ImportExportFavorites(false,"http://localhost/");>
<input type=button value=整理收藏夹 onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)">
<input type=button value=查看源文件 onclick="window.location = 'view-source:'+ window.location.href">
<input type=button value=语言设置 onclick="window.external.ShowBrowserUI('LanguageDialog', null)">
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://www.vipcn.com/', '风闪下载')">
<input type=button value=加入到频道 onclick="window.external.addChannel('http://www.vipcn.com/')">
<input type=button value=设成主页 onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.vipcn.com/')">
给一个网站上设置"设为主页"和"加入收藏夹"的代码应该怎么写?(在一个小图片上面加)
<A href="#" onmouseover="window.external.addFavorite('http://www.dabaoku.com/','e时区特色论坛')" target="_self" >收藏本页</A>
<a href="#" onmouseover="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.dabaoku.com/');" target="_self">设为主页</a>
设为主页
<A href=# onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.baidu.com');">图片</A>
-----------------------------------------
加如收藏
<A href="javascript:window.external.AddFavorite('http://www.baidu.com','百度')">图片</A>
加入收藏
<a href="javascript:window.external.AddFavorite('http://www.baidu.com','百度')">加入收藏</a>
首页
<span onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.laofang.com');" style="CURSOR: hand"><br>设为首页</br></span>
<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage
('http://www....../');">设为首页</a> <IMG height=11
src="images/dot.gif" width=12 border=0> <a href=# onClick="window.external.addFavorite('http://www....../','****');return(false)">收藏本站</a>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix