I have a webView in my cocoa application (macosx not iphone), it displays some javascript to the user but I don\'t want the user to be able to select any of the text or righ
via the UI delegation it might be useful also to disable drag and drop operations, add
- (NSUInteger)webView:(WebView *)sender dragSourceActionMaskForPoint:(NSPoint)point
{
return WebDragSourceActionNone; // Disable any WebView content drag
}
- (NSUInteger)webView:(WebView *)sender dragDestinationActionMaskForDraggingInfo:(id )draggingInfo
{
return WebDragDestinationActionNone; // Disable any WebView content drop
}