Watch the extensions of the documents you attach in your emails. Google announced it will start blocking Javascript attachments in Gmail starting Feb. 13. That is an expansion of Gmail’s already restricted file attachments, which also includes .exe, .msc, and .bat.
Users who try to attach a .js file to an email after Feb. 13 will receive a notification that says the message will be blocked “because its content presents a potential security issue.” Compressed .js files stored in .zip form also will be flagged.
If you still need to send a .js file, Google suggests you use Google Drive, Google Cloud Storage, or other storage solutions.
“Javascript is a common language used when developing web applications, and while .js files are not inherently bad, you shouldn’t open them if sent from an unknown source since hackers can use them to gain access to a user’s PC and install downloaders for a ransomware or other types of malware,” TechSpot reports.
Source: “Gmail Will Block JavaScript File Attachments Starting Next Month,” TechSpot (Jan. 26, 2017)