⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basebrowserlibrary.js

📁 网上购物系统
💻 JS
📖 第 1 页 / 共 4 页
字号:
/******************************************************************************* * Copyright (c) 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: *     IBM Corporation - initial API and implementation *******************************************************************************//**  * Object DOMException()  * @super Object  * @type  constructor  * @class DOMException  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */function DOMException(){};DOMException.prototype = new Object();/**  * Constant DOMException.INDEX_SIZE_ERR=1  * @type Number  * @class DOMException  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link DOMException()    * @see     http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INDEX_SIZE_ERR=1;/**  * Constant DOMException.DOMSTRING_SIZE_ERR=2  * @type Number  * @class DOMException  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.     * @link DOMException()    * @see     http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.DOMSTRING_SIZE_ERR=2;/**  * Constant DOMException.HIERARCHY_REQUEST_ERR=3  * @type Mi,ber  * @class DOMException  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @see DOMException()   * @link     http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.HIERARCHY_REQUEST_ERR=3;/**  * Constant DOMException.WRONG_DOCUMENT_ERR=4  * @type Number  * @see DOMException()   * @class DOMException  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.     * @link     http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.WRONG_DOCUMENT_ERR=4;/**  * Constant DOMException.INVALID_CHARACTER_ERR=5  * @class DOMException  * @type Number  * @see DOMException()  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.    * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INVALID_CHARACTER_ERR=5;/**  * Constant DOMException.NO_DATA_ALLOWED_ER=6  * @type Number  * @class DOMException  * @see DOMException()    * @since Level 2 Document Object Model Core Definition.   * @since Standard ECMA-262 3rd. Edition  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.NO_DATA_ALLOWED_ER=6;/**  * Constant DOMException.NO_MODIFICATION_ALLOWED_ERR=7  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.NO_MODIFICATION_ALLOWED_ERR=7;/**  * Constant DOMException.NOT_FOUND_ERR=8  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.NOT_FOUND_ERR=8;/**  * Constant DOMException.NOT_SUPPORTED_ERR=9  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.NOT_SUPPORTED_ERR=9;/**  * Constant DOMException.INUSE_ATTRIBUTE_ERR=10  * @type Number  * @class DOMException  * @see DOMException()  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.    * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INUSE_ATTRIBUTE_ERR=10;/**  * Constant DOMException.INVALID_STATE_ERR=11  * @type Number  * @class DOMException  * @see DOMException()  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.    * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INVALID_STATE_ERR=11;/**  * Constant DOMException.SYNTAX_ERR=12  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.SYNTAX_ERR=12;/**  * Constant DOMException.INVALID_MODIFICATION_ER=13  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INVALID_MODIFICATION_ER=13;/**  * Constant DOMException.NAMESPACE_ERR=14  * @type Number  * @class DOMException  * @see DOMException()    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.  * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.NAMESPACE_ERR=14;/**  * Constant DOMException.NVALID_ACCESS_ERR=15  * @type Number  * @class DOMException  * @see DOMException()   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.INVALID_ACCESS_ERR=15;/**  * Property code  * @type Number  * @class DOMException  * @see DOMException()   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */DOMException.prototype.code=0;/**  * Object DOMImplementation()  * @super Object  * @constructor  * @class DOMImplementation  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */function DOMImplementation(){};DOMImplementation.prototype = new Object();/**  * function hasFeature()  * @type  boolean  * @class DOMImplementation  * @param feature String  * @param version String  * @return boolean  * @see DOMImplementation  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ DOMImplementation.prototype.hasFeature = function(feature, version){};/**  * function createDocumentType()  * @type  Document  * @class DOMImplementation  * @param namespaceURI String  * @param qualifiedName String  * @param doctype DocumentType  * @return Document  * @throws DOMException  * @see DOMImplementation  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ DOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype){};/**  * function createDocumentType()  * @type  DocumentType  * @class DOMImplementation  * @param qualifiedName String  * @param publicId String  * @param systemId String    * @return DocumentType  * @throws DOMException  * @see DOMImplementation  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ DOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId){}; /**  * Object Node()  * @super Object  * @constructor  * @class Node  * @since Standard ECMA-262 3rd. Edition  * @since Level 2 Document Object Model Core Definition.  * @link   http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */function Node(){};Node.prototype=new Object(); /**  * Constant Node.ELEMENT_NODE=1  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.ELEMENT_NODE=1; /**  * Constant Node.ATTRIBUTE_NODE=2  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.ATTRIBUTE_NODE=2;/**  * Constant Node.TEXT_NODE=3  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.TEXT_NODE=3;/**  * Constant Node.CDATA_SECTION_NODE=4  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.CDATA_SECTION_NODE=4; /**  * Constant Node.ENTITY_REFERENCE_NODE=5  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.ENTITY_REFERENCE_NODE=5; /**  * Constant Node.ENTITY_NODE=6  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.ENTITY_NODE=6;/**  * Constant Node.PROCESSING_INSTRUCTION_NODE=7  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.PROCESSING_INSTRUCTION_NODE=7; /**  * Constant Node.COMMENT_NODE=8  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.COMMENT_NODE=8;/**  * Constant Node.DOCUMENT_NODE=9  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */Node.DOCUMENT_NODE=9;/**  * Constant Node.DOCUMENT_TYPE_NODE=10  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.DOCUMENT_TYPE_NODE=10; /**  * Constant Node.DOCUMENT_FRAGMENT_NODE=11  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.DOCUMENT_FRAGMENT_NODE=11; /**  * Constant Node.NOTATION_NODE=12  * @type Number  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.NOTATION_NODE=12;/**  * Property nodeName  * @type String  * @class Node  * @see Node   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.prototype.nodeName = ""; /**  * Property nodeName  * @type String  * @class Node  * @see Node   * @throws DOMException when setting or getting the value.  * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.prototype.nodeValue = ""; /**  * Property nodeType  * @type Number  * @class Node  * @see Node    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */  Node.prototype.nodeType = 0; /**  * Property parentNode   * @type Node  * @class Node  * @see Node    * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */  Node.prototype.parentNode=new Node(); /**  * Property childNodes    * @type NodeList  * @class Node  * @see Node  * @see NodeList   * @since Standard ECMA-262 3rd. Edition   * @since Level 2 Document Object Model Core Definition.   * @link    http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html      */ Node.prototype.childNodes=new NodeList(); /**  * Property firstChild 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -