type
- Type: language content type
- The language of the script. Usually, you would set this to
application/javascript
.
Note: If the JavaScript file is in chrome://, setting this attribute toapplication/javascript
will always use the latest available JavaScript version. If you omit this attribute, the default (and older) JavaScript version is used (like you get when including a JavaScript file from web content without specifying a version number).