Malware attacks often creep in via email, as attachments that unsuspecting users open on their work and personal computers. These malicious programs can potentially unleash hell on those machines in the process. Google is now looking to make Gmail even safer when it comes to malware attacks by adding a new feature that blocks any JavaScript that would otherwise hit your inbox inbox.

Google already blocks certain file types that can execute programs on a computer, including .exe, .bat, and .msc files. But starting February 13th, Gmail users won’t be able to open .js files from Gmail. In fact, Google will not even let you receive JavaScript attachments anymore.

A warning telling you that some files are blocked will pop up, and you won’t be able to attach a .js file to an outgoing email in Gmail no matter what you do. You can’t even archive it. Google will detect .js files in archives including .zip, .tgz, .gz, and .bz2 files, so there’s no point trying.

Naturally, if you have genuine reasons to share .js files, you still can do it, but you’ll have to go through Google Drive instead of attaching them to Gmail emails.

The worry with JavaScript attachments is that they can open the door to severe malware attacks, including ransomware. The malicious .js files might not do any harm by themselves, but they can act as downloaders for other programs that could lock you out of your computer or install other malware.

It’s great to see Google strengthening Gmail security, especially in light of the fact that hackers continuously come up with more sophisticated attacks. Just recently, Gmail users discovered a pretty scary phishing attack that’s able to fool even some of the most savvy Android users into handing hackers their Google account credentials.

Chris Smith started writing about gadgets as a hobby, and before he knew it he was sharing his views on tech stuff with readers around the world. Whenever he's not writing about gadgets he miserably fails to stay away from them, although he desperately tries. But that's not necessarily a bad thing.