Embed simple widget
The widget is embedded directly in the page. You can place the widget as you like, the important thing is to pass the CSS id correctly.
For this you need a container element (in our case this is a <div id="container-widgetSimple"></div>
element) and the following code:
(function () {
function businessnamegeneratorLoaded () {
window.BUSINESSNAMEGENERATOR.create('container-widgetSimple')
}
// custom
window.BUSINESSNAMEGENERATOR = {
url : "https://www.namerobot.com/packages/namerobot/template-namensgeneratoren.de/bin/widget.js"
};
// widget
const s = document.createElement('script');
s.src = ";
s.async = true;
s.onload = businessnamegeneratorLoaded;
document.head.appendChild(s);
})();