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

Generalize or use regex for URLs #13

Open
cbenitez101 opened this issue Jan 29, 2018 · 1 comment
Open

Generalize or use regex for URLs #13

cbenitez101 opened this issue Jan 29, 2018 · 1 comment

Comments

@cbenitez101
Copy link

Having a code like that:

swat_proxy.proxy('http://www.test.com',{
	  selector: 'body',
	  manipulation: swat_proxy.Manipulations.APPEND,
	  content: '<script> alert ("Test!"); </script>'
});
swat_proxy.start();

Is it possible to generalize de URL instead of placing some more specific ones?
My idea is to use a web proxy with a hotspot to inject code to show advertisements every X minutes. It has to be viewed independently of the website the user is currently viewing. Is it posssible using swat-proxy?
Thanks in advance.

@markriley9999
Copy link

Hi
is there any update on adding regex matching for urls?
thanks!

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

2 participants