CORS Control in JetBrains Chrome Extension

XMLHttpRequest cannot load http://youtrack.jetbrains.com/rest/user/login. Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.

Are you tired to fight it? Don’t want to wait until the system administrators configure the server properly? Don’t want to waste your time setting up a proxy server?

Forget about it.  JetBrains IDE Support (Google Chrome extension) allows you to avoid such errors in one simple step since version 0.9.2. Just open the extension options and add the URL of the resource to “Force CORS” list.

  1. Open chrome://extensions/
  2. Scroll down to JetBrains IDE Support section, click Options

Or

  1. Right click on JetBrains IDE Support browser icon, select Options

You can add a pattern http://*/*, but it is not recommended for security reasons (performance impact is very minimal in any case).

The setting will be active all the time, not only when the JavaScript debugger or LiveEdit is connected to Chrome.

This entry was posted in Cool Feature. Bookmark the permalink.

2 Responses to CORS Control in JetBrains Chrome Extension

  1. Pingback: three ajax problems in my Phonegap app | robdobson.com

  2. Pingback: 403 error with post call to a nodejs server (which is on diffrent localhost url) | Hontap.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>