Code Monkey home page Code Monkey logo

Comments (6)

kylepaulsen avatar kylepaulsen commented on July 25, 2024 1

I might look into it. As of now you can use *s to kinda help you do what you want but the result might be too "accepting". If you have a set of urls you want to match and they are not very similar, then yeah you'd either have to use just a single * or have a bunch of rules.

from resourceoverride.

thmsgbrt avatar thmsgbrt commented on July 25, 2024

ok, thanks for your answer 😄

from resourceoverride.

johnryan1982 avatar johnryan1982 commented on July 25, 2024

Hi @kylepaulsen , thanks for creating and maintaining this extension! I'm just starting to use it and think it's genius!

I have a similar use case to @thmsgbrt in that I would like to redirect a resource based on a URL parameter (eg. ://xyz.com//?...&theme=01 or ://xyz.com//?theme=01) and if I understand correctly, the current implementation means that I need to create a new URL rule for each both /?theme=* AND /?&theme= is this correct?

Either way, I still think that this feature would be useful, hence why I'm adding my +1.

Cheers

from resourceoverride.

thmsgbrt avatar thmsgbrt commented on July 25, 2024

Hey @johnryan1982,

I built a Chrome Extensions to replace a specific request by a link of your choice, maybe it can help you.
https://github.com/thmsgbrt/HTTP-Request-override

Bye!

from resourceoverride.

kylepaulsen avatar kylepaulsen commented on July 25, 2024

You could try something like

Match: *example.com*?*myparam=*

That would match if you are on example.com at some path with query param "myparam"

But if you wanted to be more generic maybe something like:

Match: *?*myParam=* 

Hopefully that helps...

from resourceoverride.

johnryan1982 avatar johnryan1982 commented on July 25, 2024

Thanks both for the feedback. I'll be looking into both options...

from resourceoverride.

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.