Coder Social home page Coder Social logo

force-cors's People

Contributors

jo5ef avatar lissyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

force-cors's Issues

FirefoxDeveloperEdition Blocks Install

FirefoxDeveloperEdition is blocking the installation, even after I added the site to the allowed sites exception list. This is probably a sign of things to come for mainline FX, I would strongly encourage you to get those fixes made and resubmit ASAP.

Thanks!

Addon with jQuery and credentials

It's not an issue but a tip...

I tried to access to a resource using this addon. It worked for different websites, but not for the only one I wanted to get. Actually it's because I needed to use the credentials option. But then it didn't work again as Firefox returned "cross domain not allowed".

Finally I've changed the forcecors.headers value in about:config to:
Access-Control-Allow-Methods *|Access-Control-Allow-Credentials true|Access-Control-Allow-Origin http://intranet.mydomain.com
Note: I've had to specify my Allow-Origin domain to make it work and also to add the Allow-Credentials to true

And the jQuery Ajax request looks like that:

$.ajax({
  method: 'GET',
  url: 'https://myothersite.mydomain.com/mypage.aspx',
  xhrFields: {
    withCredentials: true
  }
}).done(function(data) {
  console.log(data)
})

Add regexp list parameter of URLs to include

This is obviously a great plugin for any JavaScript developer but as mentioned in the warning it disable cross-domain completely. One way that would make developers more confident and help reduce the risks would be to only apply such headers on requests matching a pattern in a list of URL. This would allow a developer to add the URL patterns used for development purpose.

I might be able to help on this if this is something you think is a good idea.

Not working in Firefox 26.0

Cors icon is at the bottom/right of the browser window and is enabled - but cross domain ajax calls don't work.

Not working in Firefox 29.0.1

Hi! I've used this plugin over long time, until an update of Firefox recently (29.0.0/1).

Firebug now complains (Even if CORS is turned on):

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at {http://path.to/my.json}. This can be fixed by moving the resource to the same domain or enabling CORS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.