JSFiddle - React, Tailwind, and code Playground
JavaScript
DcwzaQDBGXVDfunction createframe(){
var ahead = document.body;
var mainfs = document.createElement('FRAMESET');
mainfs.setAttribute("name", "mainframeset");
mainfs.setAttribute("id", "mfs");
mainfs.setAttribute("cols", "50,*");
ahead.appendChild(mainfs);
for ( var i = 0; i < 2; i++) {
var ifrm = document.createElement("IFRAME");
ifrm.setAttribute("src", "http://www.google.com");
document.getElementById('mfs').appendChild(ifrm);
}
}
window.addEventListener("load", createframe, false);