I am currently working on creating a Chrome extension that will utilize AJAX to fetch data from a specific webpage and then generate notifications based on the content of that page.
The webpage I am targeting is a ticketing system, and my goal is to determine whether the user is logged in and if there are any new tickets available. It's important to note that I do not have ownership or control over this remote page.
My progress has been hindered by the Same Origin Policy, as attempting to fetch the page using AJAX results in an error message:
XMLHttpRequest cannot load http://{{ Remote Site URL }}. Origin chrome-extension://gcagdmmcgmldhommhlckpbgdmlfojblp is not allowed by Access-Control-Allow-Origin.
As someone who is new to developing browser extensions, I am unsure of potential workarounds at this point.
I have searched extensively on Google and Stack Overflow for solutions, but so far, I have not found anything that addresses my specific requirements.