admin管理员组

文章数量:1291002

I'm encountering an issue when trying to host my websites on GitHub Pages. Every time I publish a project, Chrome displays a "Dangerous site" warning, like the one shown in the screenshot below

The message suggests that the site could trick users into installing malicious software or revealing sensitive information (passwords, credit card numbers, etc.). However, my site only hosts simple static HTML, CSS, and JavaScript files.

For example, this issue occurred with my Calculator Project, which is a basic JavaScript application. I am sure the code doesn’t have anything malicious.

Here's what I've tried so far:

Ensuring that the code is clean and does not contain any malicious content. Using HTTPS, which is automatically enabled for GitHub Pages. Testing in incognito mode, clearing the cache, and trying other browsers. However, Chrome continues to flag the site as dangerous.

Is there a known solution to this issue? Why does GitHub Pages get flagged as dangerous on Chrome, and how can I resolve this so that my users don't encounter this security warning?

Any help would be appreciated. Thank you!

Dangerous site Attackers on the site you're trying to visit might trick you into installing software or revealing things like your password, phone, or credit card number. Chrome strongly recommends going back to safety. Learn more about this warning

本文标签: 39Dangerous Site39 warning in Chrome when hosting projects (github)Stack Overflow