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
20384 readers
121 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 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