How can I filter out a specific message in the developer console?
-
I already have the following filter:
-url:chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/onloadwff.js -[violation]
But I also need to filter out the following message:
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) <input type="password" style="display: none;">
Which is completely irrelevant for what I'm doing and is generated by a platform that I can't change right now. It is extremely annoying and totally pointless to keep hassling me all the time.
Help would be greatly appreciated. Thanks.
-
@knightnet Cant you just right click and hide/filter this way?
-
@luetage Unfortunately not. The only option I'm given is to filter out all messages from localhost (the code that the warning relates to is coming from a test server locally). I want all the other messages from localhost just not that one.
-
/^(?!.*current-password.*$/
Try this, but no guarantee it works, I'm not good with regex, especially when I can't test it.
-
@luetage Thanks for that. I've tried it and quite a few other variations - most of which are valid regex's that should find something.
It looks to me as though there is something interfering with the regex - have a look at the following - it should filter out the 4th line I think - but it doesn't:
Positive tests don't seem to work properly either:
-
@knightnet I can actually just get those errors:
But I can't get rid of them without killing off other, potentially critical issues: