You might also want to pass the passphrase along with the URL, so there are two things you need to know to reset your password.
If you pass only the URL and it always goes to the same password, then only one person can use this application.
The chances that two people will use the same passphrase are unlikely, and you can use the same passphrase for each site.
If you use the https connection, it will be safer from tracking.
I believe that you have some usability problems with your approach, and if you use an http connection, then you will also be vulnerable to tracking. The fact that someone can get the password by knowing the URL means that it is more vulnerable than using the same password on every site, IMO.
Update: Due to clarification, my answer is changing.
Basically, in javascript you can have private members, so other code cannot see the values unless something like firebug is used, but then the user looks at it.
This link will help explain this in more detail: http://www.crockford.com/javascript/private.html
If you put the main passphrase and all the information related to it and generate a password, then no other javascript code can get this information, because you will create setters without getters.
This will allow you to create a secure password generation page.
source share