alasql 导出为 excel 并以 html 格式保存

alasql export to excel saving in html format

在 IE9 中,我在保存之前在 window 上面得到了这个,尽管通过单击保存文件被保存为 FILENAME.xls。此外,当我尝试打开保存的文件时,它会在下面弹出消息,但我可以通过单击“是”

继续

有什么办法可以避免这种情况吗?

第二部分(弹出警告)可以通过下面的操作来避免

Insert this key in your registry to suppress the notification:

[HKEY_CURRENT_USER\Software\Microsoft\Office.0\Excel\Security] “ExtensionHardening”=dword:00000000
You can accomplish the above by doing the following:
1.  Open your Registry (Start -> Run -> regedit.exe)
2.  Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE.0\EXCEL\SECURITY
3.  Right click in the right window and choose New -> DWORD
4.  Type “ExtensionHardening” as the name (without the quotes)
5.  Verify that the data has the value “0″