michaelaltmann / get-your-refund

1 stars 5 forks source link

Adjust `@match`es to remove `en`? #8

Open plocket opened 3 years ago

plocket commented 3 years ago

Our ==UserScript== section in our scripts has what looks like @match keys. I'm not sure what this section is or what that does, but our matches all include https://*.getyourrefund.org/en/. It looks like we can have wildcards in there. Can we use https://*.getyourrefund.org/*/ instead to be more permissive about the language of the page?

michaelaltmann commented 3 years ago

The match lines tell TamperMonkey which pages get the script activated. We need to be wary of a * that matches too much, but in general I agree with the idea.

plocket commented 3 years ago

https://*.getyourrefund.org/*/hub etc. That is, as long as there's something after it.