我可以使用哪些网络语言从网络/浏览器应用程序写入磁盘?

发布于 2024-10-13 02:54:41 字数 148 浏览 8 评论 0原文

我知道 Javascript 无法在用户本地计算机上保存数据,除了面向浏览器的数据(也许有人可以枚举这些数据?)。哪些语言可以写入用户的本地计算机?

我问这个是因为我想制作一个简单的笔记应用程序供自己使用,但我不知道如何保存我所做的笔记......

I know that Javascript is incapable of saving data on a users local machine except for browser-oriented things (perhaps someone could enumerate those?). Which languages can write to a user's local machine?

I ask because I want to make a simple note-keeping application to use myself, but I'm not sure how to save the notes I make...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

路还长,别太狂 2024-10-20 02:54:41

首先,如果您要存储的信息足够小,您可以使用javascript编写cookie。否则你需要一些客户端插件:

  • java applet,javaFX
  • flash
  • silverlight
  • activeX
  • xul(firefox编写插件的方式)

First, you can write cookies with javascript, if the information you want to store is small enough. Otherwise you'd need some client-side plugin:

  • java applet, javaFX
  • flash
  • silverlight
  • activeX
  • xul (firefox way of writing plugins)
走过海棠暮 2024-10-20 02:54:41

TiddlyWiki 是用 Javascript 编写的,它确实会将自身写入本地磁盘。检查来源,看看他们是如何做到的。

http://svn.tiddlywiki.org/Trunk/core/js/FileSystem.js

TiddlyWiki is written in Javascript and it does indeed write itself to local disk. Check the sources to see how they do it.

http://svn.tiddlywiki.org/Trunk/core/js/FileSystem.js

梦毁影碎の 2024-10-20 02:54:41

闪存允许进行一些磁盘写入(尽管客户端控制分配多少空间)。 ms active x 对象也为您提供了这种能力,但最终用户必须批准该行为

Flash allows some disk writing (though the client controls how much space is allocated). Also ms active x objects give you this ability, but the end user has to approve the behavior

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文