diff --git a/screenshots.html b/screenshots.html index 04a8a52..53a265d 100644 --- a/screenshots.html +++ b/screenshots.html @@ -252,7 +252,10 @@ }); $('base').attr('href',urlParts.protocol+"//"+urlParts.hostname+"/"); - html = html.replace("",""); + var base = ""; + var headIdx = html.indexOf('', headIdx); + html = html.substring(0, endHeadIdx + 1) + base + html.substring(endHeadIdx + 1); if ($("#disablejs").prop('checked')){ html = html.replace(/\