当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 收藏一些不常用,但是有用的代码

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 收藏一些不常用,但是有用的代码


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 119 ::
收藏到网摘: n/a

<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