This is insane advice, in a bad way, this just makes you an easy target to get beaten up and taken away by the police, if you see signs of violence you should move the fuck away from where its happening, WITHOUT running, because if you create a crowd stampede then everyone is in danger.
Translate and use these guides:
- https://labogue.info/spip.php?article1523
- https://www.amnesty.ch/fr/themes/droit-de-manifester/guide-manif/ai_demo_guide_fr_web.pdf
- https://site.ldh-france.org/paris/nos-outils/guide-du-manifestant/
- https://paris-luttes.info/conseils-en-manif-septembre-2019-5083?lang=fr
Alternatively you should NOT help the police and make their job easier, because their job is NOT to make your protest easier. If they decide to beat up people they will NOT discriminate between authors of violence and the rest of the protesters.