Differentiate Tages and stages
![]() ![]() |
hi there i have been using this cool script and noticed the above discrepancy. this happens for pages with the word "stages" in them. e.g. http://store.steampowered.com/app/17390/ (Spore) hope you can fix this the next time you do an update. thanks again
|
![]() ![]() |
You can fix this by editing line 20 in the script. ,/TAGES/gi change to: ,/\bTAGES\b/gi Which will only match TAGES as a complete word. Test pages: http://store.steampowered.com/app/17390/ (Spore, has the word Stages on the page)
|
![]() ![]() |
Thanks! I knew about that false-positive, but I was not sure about how to fix it. \b matches a word boundary, so it seems to fix the issue correctly. Thanks for suggesting it! Sorry to not notice it earlier, but this site does not notify my of new posts. :-( |



