How to remove friction from platforms

Currently if there is a platformer character ontop of a platform and the platform moves the character moves with it. Is there a way to disable this so that the character stays stationary?

Someone asked kinda the same:

I hope the answer there helps you.

This one is about deceleration when the player touches a platform.