You can run console.clear = () => {}
in the console to override and disable the clear method.
this post was submitted on 26 Feb 2024
21 points (100.0% liked)
Firefox
17821 readers
78 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
I should add that as a greesemonky script
You may want to see if the persistent logs setting helps:
https://firefox-source-docs.mozilla.org/devtools-user/settings/index.html