TiddlyDesktop icon indicating copy to clipboard operation
TiddlyDesktop copied to clipboard

Request: Cookie storage / Password Manager enablement

Open TiddlyTweeter opened this issue 5 years ago • 4 comments

Use case. I use TiddlyDesktop a lot to Tweet from. At the moment every time I make a Tweet (via a subsidiary window) I have to manually type in the password & account name. Could TD be enabled to remember (via cookies I guess) what was entered, at least for the session. OR, just as good, enable Chrome's "password manager" that would auto-fill the login?

TiddlyTweeter avatar Sep 08 '18 14:09 TiddlyTweeter

Hi @TiddlyTweeter as far as I can tell, this is fixed in more recent versions of nw.js, so this is another vote for an update to TiddlyDesktop that brings us up to the latest nw.js.

Jermolene avatar Sep 09 '18 15:09 Jermolene

Hi @TiddlyTweeter as far as I can tell nwjs is already retaining cookies. Can you describe your scenario in more detail? How are you sending the tweets? What software is popping up the login window?

Jermolene avatar Sep 24 '18 08:09 Jermolene

Hi @TiddlyTweeter apologies, I've investigated further, and I'm afraid the conclusions are not great: it turns out the modern Chrome does not permit cookies for files loaded from a file:// URI. Behind the scenes, TiddlyDesktop loads wikis via an iframe pointing at a file:// URI.

There's a chance that switching to the new webview tag might let us work around the restriction. Sadly I've already discovered that switching will be quite complex and expensive.

Jermolene avatar Sep 24 '18 12:09 Jermolene

Thanks for the update. It is likely not worth the expense.

FYI, TiddlyDesktop (correctly) spawns a second window that Twitter evokes to (a) post the tweet; (b) enable login if you aren't logged in.

I will now look at a workaround using external tools that insert what is needed in the login fields. My issue issue is I have several Twitter accounts I run from TD. So I need figure out how to insert the right credentials for a specific post.

TiddlyTweeter avatar Sep 24 '18 14:09 TiddlyTweeter