04.11.2015 Views

javascript

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8: The Browser Object Model<br />

Property/Method Description IE Firefox<br />

Safari/<br />

Chrome<br />

Opera<br />

javaEnabled()<br />

language<br />

mimeTypes<br />

onLine<br />

opsProfile<br />

oscpu<br />

platform<br />

plugins<br />

preference()<br />

product<br />

productSub<br />

register<br />

ContentHandler()<br />

registerProtocol<br />

Handler()<br />

securityPolicy<br />

Indicates if Java is enabled in<br />

the browser.<br />

The browser ’ s primary<br />

language.<br />

Array of MIME types<br />

registered with the browser.<br />

Indicates if the browser is<br />

connected to the Internet.<br />

Apparently unused. No<br />

documentation available.<br />

The operating system and/or<br />

CPU on which the browser is<br />

running.<br />

The system platform on<br />

which the browser is running.<br />

Array of plug - ins installed on<br />

the browser. In IE only, this is<br />

an array of all < embed><br />

elements on the page.<br />

Sets a user preference.<br />

Accessible only in privileged<br />

mode.<br />

The name of the product<br />

(typically “ Gecko “ ).<br />

Extra information about the<br />

product (typically Gecko<br />

version information).<br />

Registers a web site as a<br />

handler for a specific MIME<br />

type.<br />

Registers a web site as a<br />

handler for a particular<br />

protocol.<br />

Deprecated. Name of the<br />

security policy. Retained for<br />

backwards compatibility with<br />

Netscape Navigator 4.<br />

4.0+ 1.0+ 1.0+ 7.0+<br />

— 1.0+ 1.0+ 7.0+<br />

4.0+ 1.0+ 1.0+ 7.0+<br />

4.0+ 1.0+ — 9.5+<br />

4.0+ — — —<br />

— 1.0+ — —<br />

4.0+ 1.0+ 1.0+ 7.0+<br />

4.0+ 1.0+ 1.0+ 7.0+<br />

— 1.5+ — —<br />

— 1.0+ 1.0+ —<br />

— 1.0+ 1.0+ —<br />

— 2.0+ — —<br />

— 2.0+ — —<br />

— 1.0+ — —<br />

220

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!