Rebase tor-browser patches to 95.0b12
Closes #40729 (closed).
On desktop, the patch for #30237 (closed) will need to be adapted after https://hg.mozilla.org/mozilla-central/rev/ba4181aa572e. The rebased patch is missing the changes to browser/base/content/tab-content.js
, which has been removed. I listed it in #40730 (closed).