收藏一些不常用,但是有用的代码
更新时间:2007年03月12日 00:00:00 作者:
<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.external.ShowBrowserUI('LanguageDialog', null)" />
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://www.meizz.com/', '梅花雨中文网')" />
<input type=button value=加入到频道 onclick="window.external.addChannel('http://www.meizz.com/')" />
<input type=button value="打开 Internet 选项" onclick="window.external.showBrowserUI('PrivacySettings', null)" />
IE7添加内置搜索
window.external.AddSearchProvider('xx.xml');
XML的样子是
http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=aoao.G%20Search&URI=http%3A%2F%2Fwww.google.com%2Fcustom%3Fhl%3Dzh-CN%26newwindow%3D1%26client%3Dgoogle-coop-np%26cof%3DCX%253ASome%252520Search%253B%26q%3DTEST%26cx%3D014628494448926329948%253Amspuqmxeatg
<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.external.ShowBrowserUI('LanguageDialog', null)" />
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://www.meizz.com/', '梅花雨中文网')" />
<input type=button value=加入到频道 onclick="window.external.addChannel('http://www.meizz.com/')" />
<input type=button value="打开 Internet 选项" onclick="window.external.showBrowserUI('PrivacySettings', null)" />
IE7添加内置搜索
window.external.AddSearchProvider('xx.xml');
XML的样子是
http://www.microsoft.com/windows/ie/searchguide/spbuilder.mspx?Encoding=UTF-8&Name=aoao.G%20Search&URI=http%3A%2F%2Fwww.google.com%2Fcustom%3Fhl%3Dzh-CN%26newwindow%3D1%26client%3Dgoogle-coop-np%26cof%3DCX%253ASome%252520Search%253B%26q%3DTEST%26cx%3D014628494448926329948%253Amspuqmxeatg
相关文章
JavaScript中关于indexOf的使用方法与问题小结
indexOf方法的作用是:根据给定参数x返回目标字符串(可以看成字符的数组)或数组中与x相等的项的索引。2010-08-08轻松掌握JavaScript中的Math object数学对象
Math对象或者说是类型旗下拥有很多平时常用的数学函数,虽然并不像Date和String那样拥有类似于类和方法那样的使用方式,不过并不妨碍您通过本文来轻松掌握JavaScript中的Math object数学对象^^2016-05-05
最新评论