Skip to content
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

Preventing URL based on parts of URL #268

Open
ansonngch-Sephora opened this issue Jun 26, 2024 · 1 comment
Open

Preventing URL based on parts of URL #268

ansonngch-Sephora opened this issue Jun 26, 2024 · 1 comment

Comments

@ansonngch-Sephora
Copy link

Is your feature request related to a problem? Please describe.
https://github.com/kasketis/netfox#prevent-logging-for-specific-urls is an amazing feature that helped us block off specific URLs, but the URL need to be specific (https://xxx.com), I have some urls that are transformed and it's not possible to get the specific URL (https://{special_id}-xxx.com)

Describe the solution you'd like
Is there any available method to ignoreURL based on parts of a URL?

@patilvivekw
Copy link

@ansonngch-Sephora - Please try the syntax below.

NFX.sharedInstance().ignoreURLsWithRegexes(["xxx", "XYZ"])

You can add multiple domains as well with this approach.

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

2 participants