Coder Social home page Coder Social logo

Comments (7)

aziz avatar aziz commented on July 18, 2024 2

That's why I suggest to be able to disable or enable it based on domain, just like how Ad blockers behave.

from access-control-allow-origin.

tarranjones avatar tarranjones commented on July 18, 2024

attempting to login to github

from access-control-allow-origin.

tarranjones avatar tarranjones commented on July 18, 2024

Playing videos on youtube

from access-control-allow-origin.

tarranjones avatar tarranjones commented on July 18, 2024

Cant you use localStorage to remember whether it was enabled or not.
Every now and then i use chrome and its enabled again. not sure why?

from access-control-allow-origin.

yaring avatar yaring commented on July 18, 2024

@aziz sounds great!
You literally cannot use the chrome when having CORS, we definitely needs white list domain based to turn on CORS.

from access-control-allow-origin.

ondratra avatar ondratra commented on July 18, 2024

The problem with websites is that extension thrashes rest of headers(reasons are not clear to me). Lines in background.js:

return {requestHeaders: details.requestHeaders}; ... return {responseHeaders: details.responseHeaders};
should be simply return requestHeaders; & return responseHeaders; (I checked Youtube after this modification and it worked).
@vitvad is there any reason for this?

from access-control-allow-origin.

ondratra avatar ondratra commented on July 18, 2024

Nevermind my previous comment. It actually breaks the mechanism and "working Youtube" is probably just side effect.

from access-control-allow-origin.

Related Issues (20)

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.