What is it you are really trying to do?
Javascript code loaded by your browser isn't in files. It's in
the browser's memory.
(OK, technically.... it's an implementation detail and *might*
be in files, but very unlikely. And the browser keeps a cache, and
that's in files... but I don't think that is what you are talking about.)
Explain what you are trying to accomplish. Try to be more
concrete, I have difficultly with this much abstraction this early
in the morning. ;)
- Are you trying to make a local copy of some Javascript the
browser has loaded?
- Are you trying to modify some Javascript code on-the-fly?
- Are you trying to load some Javascript dynamically?
- Something else???
- These "files" do contain Javascript, right?
- Where are these "files" before you "move" them?
You can use Javascript to write programs on your desktop or
server. Then you can write files till the cows come home! Is that
what you mean? If so, you should have a V8!