While developing websites, Firefox insist on spamming the developer console over and over with increasingly inane warning, like this one:
This is a perfect example of warning that cannot be fixed, as I'm using relative positioning on purpose.
These warnings make it harder to see problems in my code that I actually want to see. How do I disable or hide them completely?
CodePudding user response:
The Console doesn't provide a way for filtering specific messages yet (as of Firefox 96.0). This feature is requested in 
This also means that all other possibly relevant messages of that type are hidden.
Do a negative search
In the filter field of the Console you can perform a search to exclude all messages that contain the entered phrases.
For you example you could enter "-relative positioning" (without the quotes) to filter out this specific message.
This works fine for the current tab. Though the filter is not saved permanently. That means you have to enter it whenever you open the DevTools to filter out the messages. And it also hinders you to do a normal filtering search.


