Can I embed a FeedWind widget in an email?

  • Created : Jun, 20, 2017
  • Last Updated: Oct, 21, 2022

No – You cannot include FeedWind (which is JavaScript-based) in an email

Security issue: JavaScript and Cross-site Scripting

FeedWind widgets are coded in JavaScript (.js) and for security reasons, .js cannot be included in an email. This is a security issue known as “cross-site scripting.” Although adding a .js snippet to your emails might seem a useful thing to be able to do – particularly when for software such as FeedWind – JavaScript allows a programmer considerable scope when it comes to executing program code which could potentially be malicious. You can be sure however, that FeedWind would never create or publish code that would harm our users, or their users!

In general however, including .js in an email could be a big risk for recipients because a JavaScript program could contain or trigger a virus, malware or other unwanted code and there is no way at present for an email program to figure out whether a specific snippet of .js is good or bad. Even though an email client could be forced to ignore this, it would be a bad decision to do so.

Where the problem lies

When an email downloads to your computer, the email client (Outlook/Gmail, Yahoo mail etc.) would have to execute the .js to know what the code actually does. This is not a feasible situation as to determine whether malware/malicious code is present, the code would have to be run independently of your operating system and scanned to ensure a virus or malware is activated.

It would be like “closing the stable door after the horse has bolted” By the time the issue is detected, the harm could already be done as code can auto-execute when an email is opened. This is not like detecting spam in an email; this is preventing a program from executing upon mail-open. JavaScript is not the only coding method that presents this problem and many scripting languages are prohibited from embedding in an email.

How to share a FeedWind widget in an email using a URL

If you want to share a FeedWind widget using email there is a way.

When you “Save & Get code” in FeedWind, the code snippet contains a URL for your widget. The whole code snippet will look something like this:

<iframe src=””></iframe>

Within is a URL you can use in an email to share your widgets with your email recipients



Related posts

Changing a Link Target in 3rd Party Content

Contents1 Copyright law applies to a link target2 Why we don’t offer a link editing feature3 Disabling links is...

Beef Up Your Titles

Contents1 Introducing a new feature to allow you to make titles bold in your FeedWind widgets.1.1 MAIN TITLE BOLD STYLING1.2...

FeedWind Analytics Feature

FeedWind Analytics Feature

FeedWind’s Analytics feature is a mechanism for users to tally the amount of impressions received by a widget or...