Create embeddable JavaScript widgets that clients will pay for and that their users will use
Host:
Any web application that 'hosts' an external widget. For example, a small business' website.
Widget:
Any DOM elements that are created/inserted by a third-party script. For example, the 'like' button embedded in a website.
Definition:
All code required to successfully load and configure a third-party widget to be embedded.
An embed script may be a simple, single <script> element, or may require more sophisticated set-up.
Definition:
Any third-party code that:
- Augments the DOM shown to an end user
- Interacts with the host's events/DOM
Some to check out:
https://github.com/seriousben/embeddable-react-widget
https://github.com/DJanoskova/Vuidget
https://hackernoon.com/javascript-framework-comparison-with-examples-react-vue-hyperapp-97f064fb468d
<iframe src="https://locaisolutions.com"/>
https://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/
(SOP)
(JSON with Padding)
(CORS)
https://www.html5rocks.com/en/tutorials/cors/
(browser extensions work too)