Embedify is a simple tool which converts URLs in a body of text to a relevant embedded format.
Try it out below. Just add some text and click convert.
Embedify is a simple tool which converts URLs in a body of text to a relevant embedded format.
Try it out below. Just add some text and click convert.
Does embedify filter out malicious code?
Yes, Embedify filters out all <script /> and <object /> elements along with the javascript: protocol in href attributes and all current on* event attributes.
What URL formats does embedify convert?
What else does it do?
All <a /> link elements get target="_blank" added to them.
Can I selectively choose which filters to use?
Not yet, but that is planned. You will be able to select whole branches like "Video Services" or be more selective like only use "YouTube" and "Vimeo" filters.
Why doesn't it filter URLs from XYZ website?
Probably because I didn't think of it. If you find something you want a filter for, send me a message me on Twitter or send me an email and I can probably put something together for it fairly easily.
Can I just make a filter myself?
I don't have a way for anyone to add their own filters and probably won't in the future. But if you write one you can email it to me. They look kind of like this;
function(str){ return str.replace(/<\s*script[^>]*>[\s\S]*?<\/script>/mig,''); }
Using Embedify is pretty simple really. Just POST your text to http://embedify.duostack.net/convert in the "text" variable.
I plan to add the ability to select which filters to use at some point in the future, but I haven't decided yet how I want to implement that.