收藏一些不常用,但是有用的代碼
更新時間: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/', '梅花雨中文網(wǎng)')" />
<input type=button value=加入到頻道 onclick="window.external.addChannel('http://www.meizz.com/')" />
<input type=button value="打開 Internet 選項" onclick="window.external.showBrowserUI('PrivacySettings', null)" />
IE7添加內(nèi)置搜索
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/', '梅花雨中文網(wǎng)')" />
<input type=button value=加入到頻道 onclick="window.external.addChannel('http://www.meizz.com/')" />
<input type=button value="打開 Internet 選項" onclick="window.external.showBrowserUI('PrivacySettings', null)" />
IE7添加內(nèi)置搜索
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
相關(guān)文章
JavaScript For Beginners(轉(zhuǎn)載)
JavaScript For Beginners(轉(zhuǎn)載)...2007-01-01簡介JavaScript中POSITIVE_INFINITY值的使用
這篇文章主要介紹了簡介JavaScript中POSITIVE_INFINITY值的使用,是JS入門學習中的基礎(chǔ)知識,需要的朋友可以參考下2015-06-06Adapter適配器模式在JavaScript設計模式編程中的運用分析
適配器模式的作用是解決兩個軟件實體間的接口不兼容的問題,在JavaScript尤其是AJAX方面比較常用,接下來看一下對Adapter適配器模式在JavaScript設計模式編程中的運用分析2016-05-05