mdolr / survol

A browser extension to preview any link you hover
https://survol.me
Apache License 2.0
143 stars 67 forks source link

Add custom templates for websites supporting oEmbed #140

Open mdolr opened 4 years ago

mdolr commented 4 years ago

We've used oEmbed for many websites already (twitter, reddit, youtube, ...). But there are still many sites that would benefit from getting custom oEmbed support instead of using meta-data parsing ( js/templates/base.js ). This issue will keep track of every service added to the extension.

How to proceed :

Ask questions if you're not sure about something !! Also please do not ask if you can work on this, just in case yes you can!!

Don't inject HTML directly using {parentNode}.innerHTML = {raw html} for security reasons, by doing that you allow people to inject malicious scripts through the extension. PRs doing this won't be reviewed and will be closed automatically