Note about the more productive approach: Mozilla published a blog post[0] back in late June about what solutions are already available and advising for the law to reinforce these existing mechanisms instead of mandating a new browser-level blocking thing that can easily be abused.
[0] https://blog.mozilla.org/netpolicy/2023/06/26/france-browser...