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

Intercept captures background traffic from other tabs #1

Closed
dostoevskylabs opened this issue Aug 16, 2018 · 1 comment
Closed

Intercept captures background traffic from other tabs #1

dostoevskylabs opened this issue Aug 16, 2018 · 1 comment

Comments

@dostoevskylabs
Copy link
Owner

The way that it currently handles intercepting is to turn the proxy on when you switch to the tab defined as a proxy tab, when you switch out it turns the proxy off.

The bug is that if you switch to a proxy tab but other tabs are sending off background data (ie: ajax posts to an api) it will get captured because you are in a proxy tab context.

Unfortunately the proxy API is browser wide so I need to find a workaround to ignore traffic from other tabs.

Current working theory: using the WebRequest api to intercept all traffic when in a proxied tab, and if it's not from the proxy tab, disable proxy for that request, then re-enable it afterwards

@dostoevskylabs
Copy link
Owner Author

Fixed by using webrequest api instead.

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

No branches or pull requests

1 participant