Skip to content

Feature Requests #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 of 7 tasks
nerdbeere opened this issue Jun 26, 2015 · 7 comments
Closed
4 of 7 tasks

Feature Requests #1

nerdbeere opened this issue Jun 26, 2015 · 7 comments

Comments

@nerdbeere
Copy link
Member

  • click in list to add URL mapping
  • click in list to remove URL mapping
  • filter list by mapped URLs
  • showing mapping when mouseover "mapped" tag
  • block URLs
  • HTTPs Support (See no https support greim/hoxy#4)
  • Better design for adding mappings
@sholladay
Copy link

This is a very cool project, @nerdbeere. Could you put together a contribution guide with some recommendations for how to help out?

@nerdbeere
Copy link
Member Author

thanks @sholladay! I have a big branch that I will merge in the next days containing big improvements for rendering requests. After that I will add tests and eslint. Then this project is at a point where others can start contributing.

@nerdbeere
Copy link
Member Author

@sholladay I added tests, linting and a automated build process. Feel free to contribute.

@sholladay
Copy link

Fantastic, this could potentially compete very well with an internal tool my team has built on top of hoxy that only does an "OK" job at replacing Charles. Our main use case involves manipulating the script tag of our JavaScript library. So that means we need an equivalent to the Tools -> Rewrite section of Charles.

@nerdbeere
Copy link
Member Author

I will look into that feature. Could you elaborate on your use case? That would be helpful.

@sholladay
Copy link

Sure. So our customers put a loader into their pages in a similar fashion to Google Analytics.

<script data-provider="myProduct">
var myProduct = myProduct || {};
// .... configuration, etc. ...
(function () {
    var script = document.createElement('script');
    // ... actually load the JS library ...
}());
</script>

Among other things, that loader script contains info about where to fetch the JS library from, which is different for production vs development and when in development, which git branch to use, etc. (we deploy all of them).

Sometimes we need to strip off the loader on a customer's live site and replace it with a loader configured for development (to test an upcoming version for regressions, etc). That's the main use case.

Charles lets us do this with a GUI via its Rewrite tool, but it only accepts clumsy regex operations. Hoxy allows nice, clean CSS lookups with its as intercepts. We've been itching to build something nice around that. But this seems like the right place for it. Basically, it would provide a means of adding, removing, or replacing elements on the page.

@mitchhentges
Copy link
Member

I've split this into several smaller issues so that this one can be closed.
And for sholladay's feature: I think that issue #132 describes it nicely :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants