foxfirefey (
foxfirefey) wrote in
dw_nifty2009-09-03 08:30 pm
Entry tags:
Dynamic and persistant DW reading/network page expand/collapse/hide
I come bearing gifts for your kind alpha testing,
dw_nifty! This Greasemonkey (a Firefox extension) was made at
niqaeli's request. It's for dynamically collapsing and expanding entries on your reading and network pages (and other journals, too). What's more, the script will remember your options between page loads.
You can install the script here: DW Post Expand/Collapse/Hide. Please test it for me!
The controls are added to the end of each entry's title, and by default are (+) for expand, (-) for collapse, and (x) for hide.
It only works with core2 styles--that is, if you've imported a style from LJ, it won't work on that. But it should work for all Dreamwidth styles that aren't Zesty White. Fortunately, more and more core2 styles are getting added to Dreamwidth every code push.
Additionally, on occasion every few weeks or months or so, you probably want to empty out all the saved values so you don't clog your browser up with them. The commands for doing that are in Tools -> Greasemonkey -> User Script Commands.
If you're adventurous, there are some options at the beginning of the script designed to be edited for different effects and behavior including:
* Which classes in the entry get hidden when it is collapsed.
* Whether entries are collapsed or expanded by default.
* The text of the collapse/expand and hide action links, and their bracketing.
Future planned features include:
* Add flagging posts for later attention
* Add autocollapse (or autoexpand) for listed journals
* Add autocollapse for Twitter posts
You can install the script here: DW Post Expand/Collapse/Hide. Please test it for me!
The controls are added to the end of each entry's title, and by default are (+) for expand, (-) for collapse, and (x) for hide.
It only works with core2 styles--that is, if you've imported a style from LJ, it won't work on that. But it should work for all Dreamwidth styles that aren't Zesty White. Fortunately, more and more core2 styles are getting added to Dreamwidth every code push.
Additionally, on occasion every few weeks or months or so, you probably want to empty out all the saved values so you don't clog your browser up with them. The commands for doing that are in Tools -> Greasemonkey -> User Script Commands.
If you're adventurous, there are some options at the beginning of the script designed to be edited for different effects and behavior including:
* Which classes in the entry get hidden when it is collapsed.
* Whether entries are collapsed or expanded by default.
* The text of the collapse/expand and hide action links, and their bracketing.
Future planned features include:
* Add flagging posts for later attention
* Add autocollapse (or autoexpand) for listed journals
* Add autocollapse for Twitter posts

no subject
no subject
THANK GOD.
no subject
(no subject)
(no subject)
(no subject)
(no subject)
Amen.
no subject
When I click on the(-) the entry disappears, but it does not reappear by clicking (+). It disappears completely by clicking (x), but I can't get it anything to come back with any of the user script commands.
(Sitting on Windows XP, transmogrified site scheme, I have a few other scripts installed... haven't tried without them yet)
no subject
* What version of FF and Greasemonkey do you have? It might be a problem with that, because I'm testing it on your reading page and not having those problems.
* Do things come back after user script commands when you refresh? (Although that is a good idea, resetting entry states after one of those commands!)
Thanks for helping me test!
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
no subject
no subject
How do you unhide?
no subject
I'm still figuring out a better way to unhide, but currently there are two options:
* You can use the "Clear hidden entry values" command in Tools -> Greasemonkey -> User Script Commands to wipe out all hidden toggles
* You can put "about:config" in the location bar, filter for "greasemonkey.scriptvals.dw", find the user/post value that's set to 2 that you want to hide, and delete it.
no subject
no subject
no subject
no subject
(no subject)
Re: for mobile devices
Re: for mobile devices
for mobile devices
That will be fabulous for mobile devices where screen space is at a minimum.
Mentioning this, I'm going to poke around DW to see if anyone's working on a mobile DW API or interface. If not, I just might open up a terminal window and crank up my favorite Unix text editor to work up one, myself. Be warned, though. I'm a TTY junkie and everything would be Zen simple and spartan.
/\__/\ (='.'=) (")_(")Music Eels - Packing Blankets
no subject
no subject
no subject
*worships*
no subject
(no subject)
(no subject)
no subject
no subject
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
Btw - this is one of the most awesome GM scripts since the LJ cut expander! *g*
no subject
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
P.S. Thanks again for making this add-on!
no subject
(no subject)
(no subject)
no subject
I notice that it says there are options to decide some things. does this include being able to keep the post's user icon up on the collapsed post? if so, can you tell me how to do that? it's about the only issue i have - i want to see the user icon, because it's mostly how i identify accounts.
no subject
"userpic",out of:var collapseables = new Array("entry-content", "metadata", "userpic", "entry-management-links");
Then save.
(no subject)
sad
no subject
no subject
no subject
no subject
no subject