简体   繁体   中英

Chrome is blocking console.log messages for a specific domain

The title pretty much says it all. I uploaded this HTML file to 2 domains:

<script type="text/javascript">
console.log('test');
alert('test');
</script>

On both domains, I get the alert that pops up. But on 1 domain, the console message is never logged. I tried on different computers.

I did this test because as I was working I noticed my messages were no longer coming in. After trying every setting in Chrome, I finally uninstalled Chrome and re-installed but the problem persisted. Finally, I changed computers and the problem persists on this computer.

I can't imagine what the problem is. It can't be anything in HTML file (as the file is as simple as it gets) and I tried on 2 systems soooo... is my domain somehow blocked somewhere? Has anyone ever heard of an issue like this?

Is this happening?

Click “All” on the bottom toolbar. Currently it is showing errors only.

Similar Question, this may help you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM