Hacker News new | ask | show | jobs
by lepunk 3611 days ago
Nice job! One suggestion from a person who developed widgets used on lots of sites: You are appending general styles (like styling the a tag, ".container" which is a popular class name) to the containing document's body. This is bad practice, since it will alter all the links on the containing page. Consider using namespaced classes (like .github-widget-link) or build your own iframe and apply the styling there