Using Firefox GPO Templates
My notes are based on a Computer policy, it may be applicable for User-based policies, but not tested.
Blacklist policy:
Path:
Computer Configuration / Policies / Administrative Templates / Mozilla / Firefox / Blocked websites
Value:
<all_urls>
Whitelist policy:
Path:
Computer Configuration / Policies / Administrative Templates / Mozilla / Firefox / Exceptions to blocked websites
Value:
http://example.com/*
https://example.com/*
If this is for a kiosk policy, at the time of writing, Microsoft Edge doesn't offer this capability, so the only option is to block all (until Microsoft has a comparable GPO): Block Microsoft Edge