Google stands to make the most money if you're online using its search engine and viewing its ads, preferably in Chrome or on an Android device. But sometimes the internet can be a tricky place to navigate safely, and that's just not good for business. So the company is continuing its push to make the web a safer place to browse on PCs and mobile devices alike.

Before you visit a webpage that tries to trick you into downloading unwanted, potentially harmful software, Chrome will now stop you and dish out an intimidating, red warning.

The site ahead contains harmful programs. Attackers ... might attempt to trick you into installing programs that harm your browsing experience (for example, by changing your homepage or showing extra ads on sites you visit).

A Back to safety button waits at the end to escort you to less dangerous parts of the web. Google may be putting up this wall partly to fight against annoying mobile sites that redirect to Play Store pages, or worse, lead to unwanted APK downloads that begin without the user even clicking on an ad or doing anything other than loading the page.

This message joins the warning Chrome already displays if it detects you initiating a download for something dangerous.

These warnings have also found their way into Google Search. Results will now mark sites that may be deceptive. Google has also started to disable ads that lead to sites distributing unwanted software. This sets a clear tone to spammers and those with more nefarious intentions—cut it out. Thanks, we appreciate it.