Coder Social home page Coder Social logo

Comments (3)

thegecko avatar thegecko commented on July 18, 2024 1

I agree with all points, although using angular seems like overkill. You should be able to achieve a simple popup with jquery alone. Or knowing that we are only targeting chrome, vanilla JS may suffice.
Angular has a pretty steep learning curve and adding it into the mix may prove to be a barrier for entry for future developers.

From my perspective, the only missing feature of this tool is the ability to whitelist sites/IPs it is switched on for. I think the primary use case for this extension is as a development aid and as a developer I would only want it switched on for one or two domains. Heading out into the internet with this switched for everything is a major security concern.

@mhahmadi's recent pull requests looked like they would address this, but the popup didn't work for me, though (yet to investigate why).

I would also suggest keeping it simple and not try to add too many features :) Do one thing well.

/begin subjective comments :)
On a personal note, I have found angular to be counter-intuitive and awful to work with. Google have recognised it's shortcomings and v2 looks like it will be vastly different, another reason I would keep clear of it for any new work.

from access-control-allow-origin.

mhahmadi avatar mhahmadi commented on July 18, 2024

Hey Vitaly, I appreciate opening this discussion. I'll go over some of your notes,

  • what headers are you thinking of overriding in the settings? the only one I could think of was the header for exposing the headers.
  • I used auto-responder in fiddler once when demoing a feature while the backend wasn't done yet 😈. what use case are you trying to solve?
  • I see more and more extensions use popups to manage their settings. out of 12 extensions I have one uses options page, another one context menu, and the other 10 use some sort of popup. it think it's a good UX practice. to me the context menu sounds oldschool and an options page too heavy to use all the time. lots of people don't know the shortcut to navigate to the options page. for them it means a lot heavier experience.
  • I agree that Angular is definitely a good framework. however, i think it works best with jQuery in some areas where angular fails to cover. in fact Angular itself uses an implementation of jQeury. if there's a version of jQeury available it uses that instead.
  • I don't root for Ionic mainly because it is a mobile and not a web framework. However it was so simple to put a decent looking popup together that i decided to give a shot. with a small CSS tweak, it delivered pretty well. if you're a fan of having tabs (settings, info etc) Ionic won't disappoint. you can easily add tabs that behave like mobile apps. Ionic is built for that after all. in the future we can choose a framework that's more stable or one we like better.

from access-control-allow-origin.

graphee-gabriel avatar graphee-gabriel commented on July 18, 2024

From my perspective, the only missing feature of this tool is the ability to whitelist sites/IPs it is switched on for. I think the primary use case for this extension is as a development aid and as a developer I would only want it switched on for one or two domains. Heading out into the internet with this switched for everything is a major security concern.

Anything new on that end :-) ?

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.