This page contains a collection of resources for developers of web pages and software that interacts with web browsers. If you have anything you would like to see added to this page please let us know!

OmniWeb Uses WebKit

OmniWeb uses the open source WebKit framework from Apple to handle page layout. Apple built these frameworks for Mac OS X using the source code for KHTML and KJS, two components of the KDE project from which the Konquerer browser for Linux is built.

WebCore and JavaScriptCore — the two main components of WebKit — provide great support for today's Internet standards, such as HTML 4, JavaScript, CSS (including some CSS 3 standards), and DHTML (through the W3C DOM-2 spec).

More information on WebKit is available from these resources:

Apple also has a great Internet Developer section on their website with lots of good information on browser technologies as they pertain to the Mac platform.

Detecting OmniWeb on your Web Pages

OmniWeb 5.6's user-agent string is:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/522+ (KHTML, like Gecko, Safari/522) OmniWeb/v613

OmniWeb 5.5's user-agent string is:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/420+ (KHTML, like Gecko, Safari/420) OmniWeb/v607

OmniWeb 5.1's user-agent string is:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.34

OmniWeb 5.0's user-agent string is:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/85 (KHTML, like Gecko) OmniWeb/v558.36

OmniWeb 4.5's user-agent string is:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/85 (KHTML, like Gecko) OmniWeb/v496

Browser sniffing is usually not a very good idea.

There is an Apple Internet Developer article on how to do object-based detection to look for the browser features you need.

If you need to do browser-based sniffing, it's probably best not to try and detect OmniWeb or Safari specifically — you'll probably want to detect AppleWebKit, since any application using this framework will have very similar rendering capabilities. Apple's Safari Resources for Web Developers page has more information regarding this.

Source Code from The Omni Group

The Omni Group has a long history of providing much of our source code to the community as open source. All of our applications are built on a rich set frameworks that we make available so that everyone can benefit from them.

Goodies such as OmniNetworking and OmniAppKit, as well as our changes to WebCore and JavaScriptCore can be found on our ftp site.

Stepwise has a review of networking frameworks available for Mac OS X that includes OmniNetworking.

Resources for Web Developers

There are a few places that we go to when we need solid information on anything web-related and we thought it might be nice to share these resources with you.

OmniWeb Badges

If you'd like to place one of these badges on your website please feel free to download the image and place it on your web server. Please do not source the image on your pages from our website, as we can't guarantee that the images will stay in the same location.

You can link the images to the following URL: http://www.omnigroup.com/applications/omniweb/

Information for Plug-In and other Third-party Developers

The Omni Group loves 3rd-party developers who build software that works with our applications. There are some great add-ons available for OmniWeb such as URL Manager Pro, the PDF Browser Plug-In, and more.

OmniWeb supports Apple's WebKit Plug-in API, the Netscape Plug-In API, AppleScript, the Shared Menus protocol, and we have our own plug-in format native to OmniWeb.

If you're developing a product that could integrate in some way with OmniWeb, please let us know! We would be more than happy to provide you with any assistance that we can in order to ensure OmniWeb is a great host for your software.