I made an HTML5 application and I needed a application wrapper for OS X, so I went with https://github.com/maccman/macgap. It works great! But unfortunately since it wraps my HTML5 application in webkit using cocoa, it still subjects it to the cross-origin policy. I read online that to step over this problem, it's possible to edit one method in webkit's source and then recompile webkit and use that version in xcode. The problem is, I hardly know any objective-c, and I don't have a clue as to where to download the source for webkit.framework, how to recompile it, and then how to use *that* in my application instead of the real webkit.framework.