The purpose of this Chrome extension is to auto-populate fields on the Editorial Zendesk submission form with data from a Salesforce Opportunity.
Extension supports both the Groupon Central form (North America) and Zendesk domain (International).
Because Salesforce and Zendesk are on different domains, the extension cannot pass data directly between them.
To work around this the extension uses Chrome’s local storage. Data is passed from the Salesforce web page to a background script using Chrome’s runtime messaging. The background script saves these values to Chrome’s local storage. When the Zendesk web page is loaded, the values are retrieved from Chrome’s local storage and added to the page.