Script must not be placed outside HTML tag? If not, how Google treats the page?
-
Hi,
We have recently received the "deceptive content" warning from Google about some of our website pages. We couldn't able to find the exact reason behind this. However, we placed some script outside the HTML tag in some pages (Not in the same pages with the above warning). We wonder whether this caused an issue to Google to flag our pages. Please help.
Thanks
-
If Google detects that your website contains social engineering content, the Chrome browser may display a "Deceptive site ahead" warning when visitors view your site. You can check if any pages on your site are suspected of containing social engineering attacks by visiting the Security Issues report.
If your site is flagged for containing social engineering content, follow these steps:
- Check in with Search Console.
- Verify that you own your site in Search Console and that no new, suspicious owners have been added.
- Check the Security Issues report seeing if your site is listed as engaging in social engineering.
- Remove deceptive content. Ensure that none of your site's pages contain deceptive content.
- Check third-party resources included in your site.
So make sure your site is clean and request a review here
https://developers.google.com/web/fundamentals/security/hacked/request_review?visit_id=636777391086456088-3885393656&rd=1