@prusa Breaking system files is, in general, never the answer to these problems.
The thing is, everyone who hits this gets irrationally angry at Fedora... there's horrible advice out there pointing at that file when that file is not the problem. There are entire arguments on Bugzilla about what should be done with that file. A change was even made in response to (incorrect, confused) advice from an affected user, then reverted. All this is a massive red herring. The problem is something else.
OS updates on Fedora never mess with your browser profile. They can't. It's the browser doing something weird, somehow triggered by OS updates, only for some people.
But nobody ever sat down with a developer to figure out what the real problem is...