ranjez/Switcheroo

Wildcard source

gjj opened this issue · 1 comments

gjj commented

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!

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