I want to set header 'Referer' in my Chrome app.
When I do it this way:
ajax.js:15 Refused to set unsafe header "Referer"
This way, you can make a "proxy" page that will do XHR's for you, embed it in a webview, and modify its requests. It's an extra hoop, but at least it's possible.