arcanetrivia: a light purple swirl on a darker purple background (Default)
[personal profile] arcanetrivia posting in [community profile] the_great_tumblr_purge
This is a bit of a long shot, but I am hoping that somewhere in the influx of fresh blood from Tumblr there may be someone with the knowhow and the resources to do something about this.

Once upon a time [livejournal.com profile] slarti wrote a Firefox extension called [livejournal.com profile] ljlogin that let you switch between multiple LJ accounts on the fly without having to manually log out and log in. Unfortunately, while it used to work on Dreamwidth as well for a while, some change to the login specs on LJ or DW or both somewhere along the line meant that it broke some years ago. Even for use on LJ it has been officially defunct for more than two years, and defunct in a practical sense for more like three, because it was never updated to newer extension signing requirements. If you are a roleplayer who has a lot of journal accounts, it's an invaluable tool for painless switching between them. (In my case I just have two, but it was still very handy.)

The code is open source and [livejournal.com profile] slarti gave their blessing to someone picking it up and carrying on (with no support from them, however). Is there anyone out there who might like to undertake the task? (Ideally to make it work on both sites again, and not just DW.)


(unrelated: while browsing the comm tags to see if any would apply to this post, I noticed there are four variations of "Yuri!!! on Ice" with different numbers of exclamation points in different places. Mod might want to engage in some tag merging there.)

Date: 2018-12-07 10:20 pm (UTC)
merelydovely: a smiling white woman with glasses. her hair is pink and purple and seems to be partially feathers. (Default)
From: [personal profile] merelydovely
Pinged [personal profile] tenlittlebullets as someone who might know more about next steps..

Date: 2018-12-08 12:54 am (UTC)
tenlittlebullets: (tl;dr)
From: [personal profile] tenlittlebullets
I haven't developed browser extensions before, but here's roughly what you'd need to tackle:

(Edit: Never mind, ninja'd by [personal profile] texelations while I was down a research hole.)

1. The login changes that broke the extension for LJ, DW, or both.
- If the problem was the actual login part, this is the part of the source code you'd want to start with for troubleshooting. Potential culprits: Change in form-submit URL, change in how to create the password-derived secret you send over, an additional security requirement like a CSRF token, something else I haven't thought of off the top of my head.
- If the issue was in recognizing when you were logged in and who you were logged in as, it was probably a change in what cookies the site sets and what information is encoded in them.
- If the issue was coordination with Firefox's password manager (which, in the source code, looks fiddly, fragile, and at the mercy of changes in browser behavior)..... well, I have good and bad news for you.

2. You'll have to rewrite it using Firefox's new add-on toolkit. The old one used XUL, the new one can only use the WebExtensions API, there's a handy guide for porting from one to the other... aaaand it helpfully specifies that there is no WebExtensions equivalent to the nsILoginManager the old version used to access Firefox's saved passwords. (Yeah, I'm going to vote that locking this down was a smart decision on Mozilla's part.) This means you'll have to find a different way to get and store the account passwords. Which could just mean asking the user for them and working out a secure way for the extension to save them in its own stored data.

3. The other change in how Firefox handles extensions is that regular users can only install ones that are listed in the official add-on catalogue. To get it listed, you'll need to get Mozilla to review and sign it. This isn't like Tumblr's Apple Store woes--they're mostly looking for malicious code and spyware. There is, however, a chance that you'll get dinged on best practices or subjected to extra scrutiny because you're handling passwords. Not insurmountable, more like a place I could see a rookie add-on developer getting discouraged.

If that's you and you want to take a crack at it anyway, don't be afraid to rope in third-party help and community support to get over the finish line. Lots of people who don't have time/resources to do the whole thing are happy to help you untangle specific knots.
Edited Date: 2018-12-08 12:56 am (UTC)

Date: 2018-12-08 06:40 pm (UTC)
merelydovely: a smiling white woman with glasses. her hair is pink and purple and seems to be partially feathers. (Default)
From: [personal profile] merelydovely
Thanks so much for doing all this research!!!

Date: 2018-12-07 11:24 pm (UTC)
From: [community profile] rp_help
The modern extension is LJ Juggler and can be found for Firefox and for Chrome.

Date: 2018-12-08 04:17 am (UTC)
From: [community profile] rp_help
Incidentally, if you're wanting to run Juggler because you want to RP on DW, let me know. RP is actually DW's largest user base, or was until the last week.

Date: 2018-12-11 07:50 am (UTC)
arethinn: glowing green spiral (Default)
From: [personal profile] arethinn
Dangit, WebExtension (of course), which Pale Moon doesn't support. Also, the reviews are not encouraging - seems like something got broken a couple of years ago and you can't add new accounts to it, which isn't going to help a lot for a first time setup? Are you using it without trouble?

Date: 2018-12-11 01:58 pm (UTC)
texelations: (Default)
From: [personal profile] texelations
I've never had a lick of trouble with it. I use Chrome and Vivaldi with it and have never experienced an issue (I've been using it for about 7 years, though I only started using Vivaldi this past summer).

Date: 2018-12-08 01:53 am (UTC)
larissa: (FFXII ☄ ⌈Ashe ; captured moment⌋)
From: [personal profile] larissa
I haven't used ljlogin/juggler in years so I don't remember exactly how it worked, but Firefox has a native add-on (Multi-Account Containers) that does basically the same thing. I have a couple different accounts open in different tabs in the same window, it's very handy.

Date: 2018-12-08 11:16 am (UTC)
alassenya: Mallorn leaf with Alassenya in Tengwar (Default)
From: [personal profile] alassenya
I can't help you with login tools, but I routinely log on to different accounts at the same time with different browsers. Firefox, PaleMoon, Chrome and even the lowly Edge can be used at the same time (but make sure you clear cache and cookies at the end of each session). I have never had much luck with Opera but that's a fifth option.

Profile

Reconnecting through Dreamwidth

June 2025

S M T W T F S
1234567
891011 121314
15161718192021
22232425262728
2930     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 16th, 2025 05:57 am
Powered by Dreamwidth Studios