Kinay
Kinay

Reputation: 37

How to delete all  via Javascript

I've made an extension for google Chrome, it's a Bot for the Supreme Shop. The Bot worked nearly one year. But now Supreme changed their Product names. Example: before "Supreme®/Hanes® Tagless Tees (3 Pack)" and now they put randomly some &#65279 (Zero Width No-Break Space) in the Name. I've tried to delete this with ** product_color = product_color.replace(/&#,65279;/g, '');** But this is not really working. Does anybody has an idea..

ps: there's no colon in my code. But else it would like this in the post //

thanks alot

Upvotes: 1

Views: 3011

Answers (0)

Related Questions