0

I'm trying to insert a userscript into only the profile pages on instagram:

https://instagram.com/android
https://instagram.com/apple/

This is the match line:

// @match    /^https:\/\/www\.instagram\.com\/.*\//

But this isn't working at all. What am I doing wrong?

Yeti
  • 5,628
  • 9
  • 45
  • 71
  • Try just `@match https://www.instagram.com/*`? I'm not too familiar with greasemonkey, as I use tampermonkey myself. – Ethan Mar 26 '18 at 12:59
  • Also see https://stackoverflow.com/questions/20462544/greasemonkey-tampermonkey-match-for-a-page-with-parameters It seems that `@include` supports proper regex, while `@match` doesn't. – Ethan Mar 26 '18 at 13:01
  • @Davіd Actually I use Tampermonkey too. Dunno how I put the greasemonkey tag. Have removed it and added tampermonkey. – Yeti Mar 26 '18 at 13:03
  • Regex only works in `@include` AFAIK. – wOxxOm Mar 27 '18 at 00:44

0 Answers0