How to inject HTML into document.documentElement.innerHTML without closing the <body> tag
I have about 100 lines of boilerplate HTML that every file on my site begins with. It contains the following elements: <!-- START OF BOILERPLATE TEXT --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta ...>…