Dreamwidth Browser Tools
Dec. 5th, 2018 08:29 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I feel like a large flaw in Dreamwidth as a fandom platform right now, other than multimedia content, is that a lot of the site (non-user pages, like profiles and inbox) still has poor mobile support. Unfortunately, there isn't anything I can do about that.
So! For those who use desktop browsers, are there any annoyances a bored fan with Javascript skills can fix with a bookmarklet or userscript?
Here's a couple of things that have occurred to me:
- Is there an existing, Dreamwidth-supported "Post to Dreamwidth" bookmarklet like the old one for LiveJournal? It pulled the selected text on the current page and a link into a new entry for you. I was thinking this could ease some of the frustration about the lack of reblogging.
- On the same principle, I've made a proof of concept for a bookmarklet that will take all the images you've just dragged into the Upload Images page, and create a new post for you: Dreamwidth Image Post Bookmarklet. Currently it just uses the code Dreamwidth automatically generates for you, ie. a 100x100 pixel thumbnail with a link to the original image. Obviously this isn't very practical for the modern web, but making it configurable will come in v0.2.
- If you're using the Beta New Entry page and are missing rich text controls, I can't help you, but if you just want buttons to insert HTML for you, I have this script: Dreamwidth HTML Buttons Userscript.
I'm also working on a post with some tips for tweaking your journal theme custom CSS for better mobile display (but please let me know if someone else has already done this).
So! For those who use desktop browsers, are there any annoyances a bored fan with Javascript skills can fix with a bookmarklet or userscript?
Here's a couple of things that have occurred to me:
- Is there an existing, Dreamwidth-supported "Post to Dreamwidth" bookmarklet like the old one for LiveJournal? It pulled the selected text on the current page and a link into a new entry for you. I was thinking this could ease some of the frustration about the lack of reblogging.
- On the same principle, I've made a proof of concept for a bookmarklet that will take all the images you've just dragged into the Upload Images page, and create a new post for you: Dreamwidth Image Post Bookmarklet. Currently it just uses the code Dreamwidth automatically generates for you, ie. a 100x100 pixel thumbnail with a link to the original image. Obviously this isn't very practical for the modern web, but making it configurable will come in v0.2.
- If you're using the Beta New Entry page and are missing rich text controls, I can't help you, but if you just want buttons to insert HTML for you, I have this script: Dreamwidth HTML Buttons Userscript.
I'm also working on a post with some tips for tweaking your journal theme custom CSS for better mobile display (but please let me know if someone else has already done this).
no subject
Date: 2018-12-05 01:23 am (UTC)IDK if you could help with this or would want to tackle it, but I've always been frustrated that ALL the DW layouts I can find all take up a lot more vertical space than the default LJ ones did. For example, there's one full screen of my LJ:
And here's one full page of my DW:
If you have any for-dummies suggestions for how to tweak CSS to make a layout more compact, I would love to hear them. (But keeping in mind my CSS experience is minimal.)
no subject
Date: 2018-12-05 02:04 am (UTC).entry-content, .comment-content {
line-height: 1.35;
}
If you also want to mess with the white space at the top and bottom of the entry/comments, put this in instead:
.entry-content, .comment-content {
line-height: 1.35;
margin: 1em 0;
}
no subject
Date: 2018-12-05 09:53 am (UTC)And Momiji is looking for more people to help make existing official themes more mobile-friendly with CSS.
no subject
Date: 2018-12-05 10:05 am (UTC)Ah, my AO3 volunteering experience was not good for my mental health so I'm hesitant about dipping my toes into another one :/ (Plus I'm not sure who Momiji is?)
no subject
Date: 2018-12-06 03:25 pm (UTC)But yeah, totally get that around volunteering, and Dreamwidth does have some issues in volunteer management as well.
no subject
Date: 2018-12-05 08:49 pm (UTC)no subject
Date: 2018-12-06 12:02 am (UTC)no subject
Date: 2018-12-06 03:17 pm (UTC)Also maybe some sort of "find dead journals" tool that would scrub community and journals links on a user profile and return/highlight those that have not been updated in X days.
no subject
Date: 2018-12-07 07:54 pm (UTC)no subject
Date: 2018-12-09 10:40 pm (UTC)no subject
Date: 2018-12-09 10:48 pm (UTC)Hope the weekend happened in a pleasant way :)
Thanks for prompting this interesting discussion in the first place!
no subject
Date: 2018-12-09 11:10 pm (UTC)I'm thinking a bit about UI - was your vision that there would be a (configurable) cutoff date, and everything that hasn't been updated since before then would be highlighted in some fashion? Or would it better to produce a report of some sort - no config, just "journals updated in last six months/year/3 years/5 years/etc"?
no subject
Date: 2018-12-09 11:52 pm (UTC)I suppose a report might help alleviate pressure on the server if it was queued then emailed (though that gets into either manual notification email input or authentication tokens I'm assuming, both of which are messy in their own way).
My intuition is that utility would be highest with the result being a list of (clickable) links to dead journals, for un-subscribing purposes.
This seems to either mean highlighting links on the actual profile page (kinda like so) or generating a report (and doing some fun JSON to HTML transformation, or whatever this perl-y site gives you) and then sending an email with links to the requesting user.
Kinda makes the page highlighting seems like the easier choice, the more that I think about it.
no subject
Date: 2018-12-10 12:05 am (UTC)I actually had a bit of a dig through the lingering LJ API documentation, but it doesn't seem like I can pull the "last updated" information through it, so I'm limited to what's on the profile page (and Javascript, my old frenemy).
What I'm imagining now is a bookmarklet that you click when you're on your profile page, and it goes through your subscriptions/access and pulls their last updated date from their profile page, then highlights them according to how long ago that was. (Or alternatively the ordered list popping open in a new window.)
no subject
Date: 2018-12-10 01:15 am (UTC)no subject
Date: 2018-12-12 03:46 am (UTC)I don't think there's any way for me to work around this (although I'd be thrilled if anyone has suggestions!), so I'm putting this project aside for now.
no subject
Date: 2018-12-12 01:31 pm (UTC)no subject
Date: 2018-12-06 06:05 pm (UTC)Here is a fairly comprehensive fix for mobile. Seriously. It only works on Neutral Good (and Evil) on Practicality, because that's the system default, but it works on mobile and desktop both, because it's responsive CSS.
Coexistence Alpha: a mobile-friendly CSS patchset for Neutral Good - v0.842 BETA 1
Pure CSS. Apply, set your style to override everything else and it fixes everything your custom CSS can reach.
It's still a beta but I haven't had a lot of bugs reported.
no subject
Date: 2018-12-06 10:36 pm (UTC)I'm actually pretty happy with my own DW layout on my phone - my primary concern is the CSS that users can't touch, on the inbox and profiles and so on. So hopefully that's coming!
no subject
Date: 2018-12-06 10:39 pm (UTC)The good part is that DW is open source, so... I'm hoping as things rev up here that more on that will happen again. I'm already signed up to help, I just need them to be able to... accept it? Something like that. ♥