Search code examples
browser-extensioncrossrider

$.get doesn't work in CrossRider in the background


Is it possible to use jQuery's $.get, $.post or $.ajax in the background when using CrossRider? I tried but it seems not to work.


Solution

  • In any Crossrider scope, we recommend using the Crossrider appAPI.request API methods to ensure browser & CORS compatibility. They are pretty similar to the jQuery counterparts and work for all browsers in all scope.

    [Disclosure: I am a Crossrider employee]