ranjez / Switcheroo

Chrome redirects extension.
GNU General Public License v3.0
158 stars 62 forks source link

Wildcard source #11

Open gjj opened 8 years ago

gjj commented 8 years ago

I realise if the page is appending a timestamp as a query string to a script that I'm trying to replace, Switcheroo won't detect that script.

For example, https://localhost/script/application/signClient.js is to be switched to https://localhost/blank.js.

If, on the page itself, singClient.js is actually https://localhost/script/application/signClient.js?_=1459440475253 (note the ?_=....., the JS wouldn't be switched.

Appreciate if there could be a wildcard operator!

Knagis commented 8 years ago

I'm using this in the exact same scenario and it works - the result is https://localhost/blank.js?_=1459440475253.