You can already do this with a MITM proxy, and it works in all browsers.
I thought this was a cool idea, so I looked around for existing implementations and found https://github.com/barre/privaxy
Been a while since the last commit, so I'm not sure if it's maintained, but I might try adding it (or something similar) to my pihole.
Bypassing pinned certs is always going pass attention? (or whatever deliberately harder to lookup term they make up?)
https://news.ycombinator.com/item?id=41813480
https://m.youtube.com/watch?v=F8cT1YCsxgo
I thought this was a cool idea, so I looked around for existing implementations and found https://github.com/barre/privaxy
Been a while since the last commit, so I'm not sure if it's maintained, but I might try adding it (or something similar) to my pihole.