Self explanatory. As of Firefox 117, you can just use the `Enable persistent logs` feature in devtools, it now disables console.clear().
These are all versions of this script. Show only the versions where the code changed.