public void savePage(String html) { html = html.replace("window.cacheManager.savePage(document.getElementsByTagName('html')[0].innerHTML)", ""); _globalHTMLVariable = ""+pageHtml+""; }