Is there a way I can read my address bar and write the link to a file. I think it is great that websites post the code I need but the cut and paste thing gets to be a drag. If I am using my browser I am not editing my site. I need a way to save from the http and com. are maybe the part between the two dots.
I didn't understand all of your post. But from the bits I did understand:
1) JS cannot literally read the URL bar, but it can read the current location (which is normally the same as what is in the URL bar, unless the user changes it for any reason without pressing enter)
2) To save to a file you need something server-side like PHP. JS can pass data to a server-side script via AJAX, but can't actually do the writing.
Bookmarks