收藏一些不常用,但是有用的代碼
更新時間:2007年03月12日 00:00:00 作者:
<input type=button value=導(dǎo)入收藏夾 onclick="window.external.ImportExportFavorites(true,'http://localhost');" />
<input type=button value=導(dǎo)出收藏夾 onclick="window.external.ImportExportFavorites(false,'http://localhost');" />
<input type=button value=整理收藏夾 onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" />
<input type=button value=語言設(shè)置 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=導(dǎo)出收藏夾 onclick="window.external.ImportExportFavorites(false,'http://localhost');" />
<input type=button value=整理收藏夾 onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" />
<input type=button value=語言設(shè)置 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 replace()第二個參數(shù)為函數(shù)時的參數(shù)用法
replace()函數(shù)具有替換功能,它可以具有兩個參數(shù),第一個參數(shù)可以是要被替換的字符串或者匹配要被替換字符串的正則表達(dá)式,第二個參數(shù)可以是替換文本或者一個函數(shù),下面看一下關(guān)于replace()函數(shù)的幾個代碼實例2016-12-12
javascript學(xué)習(xí)筆記(八) js內(nèi)置對象
javascript學(xué)習(xí)筆記之js內(nèi)置對象,需要的朋友可以參考下2012-06-06
javascript中hasOwnProperty() 方法使用指南
這篇文章主要詳細(xì)介紹了javascript中hasOwnProperty() 方法使用指南,非常的全面,推薦給有需要的小伙伴參考下。2015-03-03
javascript開發(fā)技術(shù)大全 第4章 直接量與字符集
直接量就是在程序中顯示出來的數(shù)值。javascript直接量包括:字符串、數(shù)字、布爾、數(shù)組、函數(shù)、對象、和特殊直接2011-07-07

