WebArchive *archive = ... get from somewhere...; WebFrame *frame = [webView mainFrame]; [frame loadArchive: webarchive];
... [someWebView setPolicyDelegate: self]; ... - (void) webView:(WebView *)webView decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id)listener { NSURL *url = [request URL]; if (url != nil) { [[NSWorkspace sharedWorkspace] openURL:url]; } } // decidePolicyForNavigationAction
% defaults write com.apple.Safari WebKitOmitPDFSupport -bool YESif you have the misfortune of having the Acrobat Reader plug-in, you can nuke
/Library/Internet Plug-Ins/AdobePDFViewer.plugin