ブノヴォ ' + '>'; } else { /* code for desktop devices */ html = '' + '>'; } var widgetBox = document.querySelector('#widgetbox'); if (widgetBox) widgetBox.insertAdjacentHTML('beforeend', html); }