shortcut for logging in to this forum
Jim Nagel (444) 25 posts |
Would it be possible somehow to save a URL file that would supply my details and log me in to this forum in one swoop? Something like this works on other sites I use: ht tps:// myemail:password @ww w.sitename.org/login[I typed stray spaces here because the forum system was trying to interpret this string.] The “myemail” contains a “@” which I guess needs to be escaped — how? |
Chris Hall (132) 3554 posts |
For textile try @ or @ for the at sign but can’t help with direct log in! In a URL it is %40 (the ASCII code in hex) as space is %20 & # 64; or & commat; [without the spaces) How’s the next issue of Archive doing, Jim? |
Rick Murray (539) 13840 posts |
Do you have Firefox on a PC? If so, switch to Web Developer mode, then go to the Network mini-tab. |
John Sandgrounder (1650) 574 posts |
Jim, I have a file on Windows XP desktop called Rool-Login.htm
In my case .htm files launch Firefox. All I have to do is click in the Log In button. |
John Sandgrounder (1650) 574 posts |
I have just tried the same file on RO 5.24 with FileType HTML. It launches NetSurf :) |
John Williams (567) 768 posts |
So if we locate the NetSurf cookies file, parse it and delete the ROOL cookies line then resave, then launch this auto-login page, we may have an auto log-in that actually works reliably? Mmm! 2 problems with one stone? Or as the French say, “faire d’une pierre deux coups!” I feel a mini project coming on! |
John Williams (567) 768 posts |
NetSurf cookies at Choices:WWW.NetSurf.Cookies Search www.riscosopen.org and delete the cookies. Delete all until next cookie. Now launch a URL for the log-in page. Robert est ton oncle! Perhaps? Unfortunately I shall shortly be abandoning my RO machine for a month to go to France! Would someone else take this on? |
John Sandgrounder (1650) 574 posts |
Why do we need to do anything more that just have the ‘login’ file. It just works with the cookies left to Netsurf to manage. (At least it does for me). Login and logout, log in again or just forget about logging out and log in again. No problems. PS I now have a tiny dir on the task bar for the login file:- X AddTinyDir Boot:^.Apps.!Netsurf.Rool-Login |
John Sandgrounder (1650) 574 posts |
I believe that this is all working with Firefox handling its own cookies on Windows XP as well with Netsurf on RO 5.24 I now just use the rool-login file on the Windows XP desktop and it just works every time. Never any need to manually delete any cookies. probably because I deleted my forum bookmark a long time ago and hence I never access the forum without accessing either the Rool home page or login page first We should thank Jim Nagel for the idea. Life is now so much simpler. |
Steve Pampling (1551) 8170 posts |
This is probably tempting fate but using Firefox from three different machines in three different networks with one machine moved around all three of those networks I haven’t had to do any cookie deletion since the last batch of server work. |
Rick Murray (539) 13840 posts |
Obvious flaw – if NetSurf is running, it may hold cached cookies. So for that plan to work you’ll need to force-quit NetSurf, patshke around in the cookies file, then restart NetSurf.
I always go to the Recent Posts page first (that’s the only one bookmarked). Why? Because it’s quicker to nuke cookies and log in if there’s something to reply to than it is to log in, look, then log out if nothing’s changed. Some days there’s a lot of activity, and some days nothing whatsoever. It all depends. :-) One day it might annoy me enough that I’d have a crack at creating a web extension to auto-nuke the ROOL cookies whenever the login page is opened. But sadly laziness wins and it’s pretty easy to handle in Cookie Manager so… |
Chris Mahoney (1684) 2165 posts |
Or dig around in the NetSurf code and add a SWI to manage cookies. You have masses of free time, right? :P
Conversely, I had to do it just now (Edge on Windows). |
John Sandgrounder (1650) 574 posts |
Yes. the server is a lot better now. But for those of us who like to have Firefox delete all cookies and other history when FireFox closes (Stop google tracking, etc), Jim’s idea for a shortcut to logging in is a good time server (no typing, just two clicks). And it works well with the server improvements (and it doesn’ bitch if you are already logged in). |
Jim Nagel (444) 25 posts |
Could you post a copy of your login file, please, that we might adapt? (Munge your password etc, of course.) |
Rick Murray (539) 13840 posts |
That’s because NetSurf holds the cookies in memory, (correctly) throwing them away at the end of the session when the Cookies file is updated. |
John Sandgrounder (1650) 574 posts |
Already posted. 4th post down on this topic. |
Jim Nagel (444) 25 posts |
Ah, silly me: I read your earlier post too quickly and got misled by its reference to Windows XP. Of course it’s just HTML and works in Netsurf too. Rather than make the HTML snippet a Tinydir, I put the snippet as a file called “rool-login” into the same dir where the Netsurf welcome page lives, and in the welcome page changed the ROOL link. It was |
John Sandgrounder (1650) 574 posts |
I like that. :) |