在 Firefox 中查看 CSV
我正在编写一个输出 CSV 文件的脚本,每次运行该脚本来调试下一步时都尝试打开 CSV,这很痛苦。有没有办法直接在 FireFox 中打开 CSV。我知道有一个 JSON 插件,但找不到CSV 插件
I'm working on a script that outputs CSV files, and it's a pain to try to open CSV every time I run the script to debug the next step. Is there a way to open CSV directly in FireFox. I know there's a plugin for JSON, but couldn't find a plugin for CSV
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
答案:
(我正在测试,可以在 2020 年回来)
Answer:
(I am testing and can back in 2020)
前面提到的 Firefox 插件似乎已经过时了。我发现另一个插件可能就是您正在寻找的东西为了。
The previously-mentioned Firefox add-on appears to be outdated. I found another plugin that might be something you are looking for.
如果标题服务正确,则可以直接使用文本文件形式的简单预览,例如
https://raw.githubusercontent.com/plotly/datasets/master/mtcars。 csv
否则尝试将
view-source:
放在地址之前:查看源代码:https://raw.githubusercontent.com/plotly/datasets/master/mtcars.csv
If the header is served correctly, a simple preview as a text file might work directly, e.g.
https://raw.githubusercontent.com/plotly/datasets/master/mtcars.csv
Otherwise try to put
view-source:
before the address:view-source:https://raw.githubusercontent.com/plotly/datasets/master/mtcars.csv
Firefox 应该能够在没有插件的情况下处理 CSV 内容。
您在脚本中使用什么内容类型?
Firefox should be able to handle CSV content without a plug-in.
What content-type are you using in your script?