While using XMLHttpRequest method to access some data for a chrome extension i encountered trouble.
It is not possible to run XMLHttpRequest() from a chrome extension. Why? it turns out to be because of the
Same origin policy of the browsers in which in that, for security reasons, requests will only succeed if they are made to the same server that served the original web page. There are alternative ways to achieve this, but i don't know any of it