In short, no. If you take a pad off and then put a new one on after engaging in this activity it's fine. The cases with tampons as laid out in the article above are from decades ago. I have read that if you left a tampon in for ages and ages when it should be changed than that could cause issues.
Someone else can expand but you're fine. Just be sure to use a towel to protect bedding, mattress if doing this. In fact there is evidence to support that masturbation during menstruation can actually help calm cramping. Regardless a lot of people do this it's just what you prefer and comfortable with. [ solidadvice4teens's advice column | Ask solidadvice4teens A Question ]
Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content. Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.