2 points · by fakenewsguy · 8y ago · 1 comment
eg: <script src="//example.com/blah/widget.js?id=xxxxxx"></script>
widget.js is a server side script that creates the widget and echo's it out. Many ways of doing this and the easiest is a bunch of document.write()'s for the html