Remove url parameter with uBlock Origin

Example: stripping the ref from Facebook’s urls
https://www.facebook.com/events/942536724254607/?ref=newsfeed
Add rule:
||facebook.com$removeparam=ref