All credits go to Nick Gibbon.
- Clone the repository
- Open index.html in your browser. Screen will be blank
- Right click on the blank screen, go to Inspect to tweak the appearance of a web page (You should see that Google has a cors policy and you will see an error)
- Open your main.js in your code editor
- Replace the value of url field with the url which you want to test on Cors policy
- Save changes
- Refresh your browser and check for errors