Bookmark a page with username/password in the URL
I can add username/password for HTTP authentication directly to the URL (e.g. http://user:passwd@example.com/ ) and this works fine with the browser on Firefox OS 1.3 (on a ZTE Open C). However, when bookmarking that page, the bookmark doesn't include the username/password any more and so I'll have to manually enter the username/password when visiting that site again (after clearing private data) - and unfortunately there is no password manager for Firefox OS yet...
Another way to add a bookmark appears to be via a small Javascript using the "save-bookmark", however that appears to only give me the option to add the bookmark to the Home Screen (and I am not sure if it will keep the username/password information in the bookmarked URL).
Is there any other way to add a bookmark to the browser and keep the username/password information in the URL?
Wszystkie odpowiedzi (4)
Hi cmeerw, I was able to bookmark this with Facebook and google, do you have an example site I can also test :-)
I will let it sit for a while as well to see if the login session expires after a while then access the bookmark again.
That's different - these sites store the session in cookies. Clear your cookies in the browser and your session will be gone.
I don't have an example I can share at the moment, but can probably set one up in the next day or so...
Here is an example:
http://user1:user1@test.webdav.org/auth-basic/
Works fine if you enter that URL in the URL bar. But when bookmarking it, it only gets bookmarked as http://test.webdav.org/auth-basic/ and so you will have to enter username and password again (after clearing cookies and session data) when opening from bookmarks.
Hi cmeerw,
Thank you for providing this link for testing. How are you saving your bookmark on your Firefox OS device?
I noticed that when I accessed the link on my Firefox OS, the link redirected correctly, and then automatically changed to http://test.webdav.org/auth-basic/. So, if I were to bookmark it then, it would bookmark the "current" address correctly, but it no longer has the user:password information in it.
I don't know that there is a way to manually edit the URL of a bookmark in Firefox OS, to assure that the full URL is bookmarked, but I imagine that this may solve the problem you are seeing.
- Ralph