Pinterest is an odd case. It's not quite like usual SEO spam because it's immensely useful for what it is (collecting images and links while planning stuff, art references, etc). But then they use whatever sneaky tactics they use to flood search, so people who aren't Pinterest users think it's garbage. Pinterest probably doesn't need to do this to rank highly since it's actually useful. I don't know what they're thinking.
Can you share that string please?
uBlocklist does this far more elegantly. It's another one of those tools I forget about until I use a browser without it.