The code for "Getting a webpage's source code" uses "view-source:" + filename, but it seems like the filename alone, without the 'view-source' works just fine. Since this is an XMLHttpRequest, I don't see what the harm would be. What advantage does the 'view-source' give you in this case, if any? MatrixFrog 22 July 2010

I don't think Simple and unsafe encryption should be in this article. It's too simple and too unsafe, and therefore misleading. --Eric H. Jung 23 May 2007 17:06 EDT

I think it's fine as long as it specifies that this is an unsafe method not meant as actual encryption. Rather, it's meant to stop a "look over your shoulder" type situation.--Np 14:24, 23 May 2007 (PDT)
I don't agree. IMHO, bad encryption is worse than no encryption, and by placing this on MDC Mozilla is tacitly endorsing your algorithm to newbies who don't know that anyone can edit the wiki pages. We should get input from others; e.g., Sheppy, Nickolay, etc. --Eric H. Jung 23 May 2007 17:19 EDT
I suggest not calling it encryption and link to the better ways of storing passwords (i.e. using the password manager). --Nickolay 21:19, 23 May 2007 (PDT)
"Obfuscation"? Using the password manager is indeed a better solution and I'd add the code if I knew how to do it.--Np 07:31, 24 May 2007 (PDT)
Obfuscation suits me. Even using the AES javascript algorithm is easier and better than what you posted. --Eric H. jung 11:24, 24 May 2007 (EDT)
Looks like we have Using_nsIPasswordManager --Nickolay 09:57, 24 May 2007 (PDT)

I think the snippet "Inserting text at the cursor" is misleadingly titled. It only lets you insert text at the cursor if you already effectively know where the cursor is (you have to know the element's ID)! "Inserting text at the cursor" sounds like what I was hoping it was--discovering which field (if any) in the document actually has focus, and inserting text at the cursor *in that field*. BTW, that would be a very helpful snippet to me, if someone knows how and wants to post it. --avrom 16:12, 14 September 2007 (PDT)

OK, I figured this out, and added the procedure. It still has significant limitations; it should also include fields that were added dynamically post-load. --avrom 18:07, 14 September 2007 (PDT)

I think snippet "Using string bundles from JavaScript" should have note: don't use UTF-8 BOM mark in the beginning of the properties file.--Bektur 12:31, 11 May 2008 (PDT)