Homepage

Test CORS

See if CORS requests is allowed or blocked in your browser?
Logo

Advertisement

Cross-Origin Resource Sharing or CORS is a technique to tell the browser whether a web website/application can fetch resources from a different domain or not. Whether you are testing a web app or developing a website, CORS may be needed. Use this website to see if CORS is allowed in your browser or not.

Test CORS requests in your browser

Click the below buttons to test whether CORS requests is allowed or blocked in your browser.
Note: available methods are GET, PUT, POST, HEAD, DELETE and OPTIONS.
...
...
...
...
...
...

What is Test CORS?

Test CORS is a web app to tell you whether cross-origin resource sharing is allowed in your browser or not. It simply fetched the "example.com" page from the current domain with several XMLHttpRequest methods and checks whether the fetch request has been successful or not. CORS can be set for methods such as GET, PUT, POST, HEAD, DELETE and OPTIONS. Simply click on the desired method from the above table and wait to see the results.

What is CORS?

CORS stands for Cross-Origin Resource Sharing. It tells your browser whether it can load data from a different domain or not (different from top domain). For example, if your top domain is domain-a.com, and you have a resource within the page from domain-b.com, the CORS policy will tell your browser whether resources from domain-b.com should be loaded or not. In general, many websites have strict CORS policies that tell browsers to block loading their resources in different domains. But, in some situations, for example in web development or app testing, you may need to test something in cross domains. Therefore, the CORS policy needs to be enabled temporarily.

How can I allow CORS in my browser?

Many addons/plugins allow you to enable CORS requests in your browser. Please head to Chrome, Firefox or Opera add-on stores and search for the - allow cors - keyword. Choose a desired extension from the list, and then add it to your browser. Then click on a test CORS button above. Repeat this procedure once the addon is disabled as well and compare the results. Please note that try to keep the CORS add-on disabled all the time and only use it once you need it; because many websites may encounter errors or facing problems if CORS is enabled in your browser.

Related Blog Posts

  1. How You Can Enable Privacy Extensions and Content Blocking Filters for Firefox: Mozilla had rolled out its new privacy features for their desktop version. Some of the features include enhanced tracker protection, password manager, content blocking, and optional security extensions...
  2. Study Browser's Crypto Jacking Protection: One of the newest threats on the internet is Crypto Jacking. It actually refers to the websites which abuse computing resources of visitors in order to mine cryptocurrency...