Answer for Cross origin AJAX call in Safari extension injected script: dispatchMessage to background page http://stackoverflow.com/questio...