1
如何在firefox浏览器中打开页面到renderHTML5
内容?如何打开Firefox中的页面来呈现HTML5内容?
MyObject = new ActiveXObject("WScript.Shell")
function RunFirefox() {
MyObject.Run("firefox file:///C:/Users/E836714/Desktop/template%20palettes/preview.html");
}
在这里,我用url
打开Page
。我需要的是,而不是url
,我通过HTML
在Firefox中呈现。
不需要传递完整路径只需提供文件夹名称和文件名,如模板%20palettes/preview.html –
我需要传递html而不是文件url你有什么想法 – user3310615
保存html并传递文件名? – Cthulhu