So apparently because of the recent scams, the developer tools is exploited by people to post spam and even used to \"hack\" accounts. Facebook has blocked the developer too
I would go along the way of:
Object.defineProperty(window, 'console', { get: function() { }, set: function() { } });