Some websites are avoiding console.log() as follows.
console.log = function(){};
To restore original console.log(), you can execute the code below in the developer console.
(function(){ var f = document.body.appendChild(document.createElement('iframe')); f.style.display = 'none'; window.console = f.contentWindow.console; })();
@ylqjk taught me this solution, Thanks.