disprove: (Default)
disprove ([personal profile] disprove) wrote2012-01-05 02:46 pm

userscript: livejournal - show subject field

title. Livejournal - Show Subject Field
browsers tested. Chrome & Firefox
description. Shows subject field in Livejournal's new default comment pages.

notes.
  • If you are using Firefox, you will need the Greasemonkey add-on to run this script. If you're a Chrome user, there's no need for it.
  • But don't get too smug yet, Chrome users (which I am one, I admit). Unfortunately, there is a problem in the alignment of "Subject:" and the input field in Chrome when a post has ?mode=reply or ?replyto= in its URL. I tried to fix it within the script itself, but I just gave up and adjusted the damn thing with this Stylish script I made before (and if you already have it, be sure it's version 2.4.2 or higher since the fix for the subject field misalignment in Chrome has only recently been added). That said, if you don't want to use the userstyle, that's okay -- the subject field is still functional either way.
  • While this script does allow you to enter a subject, it will not put the subject line back in the header where it used to be. Rather, it will remain bolded and be placed as the first line in the text of your comment under the blue comment header. That's just how Livejournal displays a subject line these days whether in old or new comments. Now, if you want to see it back up there, the userstyle I linked to above makes that possible.
  • The subject field no longer automatically contains Re: [Subject of Previous Comment] when replying. I think you'll need additional code for that, and I... don't know what that would be.
  •  And just in case anyone asks: subjects entered with this script will still show up in your LJ inbox and in email notifications.

So there! Now go have some indecent fun with your subject fields.

ETA: (01/06) Whoops, I noticed that the code was affecting custom comment pages as well, instead of just the ones in the new default design. Specifically, the subject field was being moved to the right when that behaviour should've been occuring only in default comment pages. Sorry! I've updated the script so it should be fixed now. And if you're using Chrome and the userstyle Release 88 Tweaks, better update that as well (you should have at least v.2.4.2 or higher) 'cause I made a mistake there, too. *facepalm*

testing :D

[identity profile] piratesswoop.livejournal.com 2012-01-05 09:04 am (UTC)(link)
You are my hero <3
ext_3740: the libertines > carl barât (you & your heart & your bruised pride)

wheeeeee~!

[identity profile] disprove.livejournal.com 2012-01-05 09:30 am (UTC)(link)
*strikes a pose* True, this isn't quite like saving babies from burning houses, but rather close, I think. ;)

And thanks for letting me know that it worked for you! I was getting a bit antsy there for a minute, wondering if the script wasn't working, hence the dozen or more people who downloaded before you not making a single peep!

[identity profile] noelleno.livejournal.com 2012-01-05 04:36 pm (UTC)(link)
Neat! Thank you for your hard work!

Does it also materialize subject titles in collapsed threads, or is it only adhering to how subject titles appear in the new layout (re: bold, under the blue info bar)?
ext_3740: the libertines > carl barât (Ashley Raphael)

[identity profile] disprove.livejournal.com 2012-01-06 06:21 am (UTC)(link)
Thanks for taking the time to comment! :)

And no, sorry, neither this script nor the userstyle makes the subject lines appear in the collapsed comments. I've tried, and while it's technically possible to make them appear, doing so also really messes up the alignment, and I couldn't quite get them to move *before* the name of the author of the comment instead of under it. *grumbles* Anyway, maybe if I have time I'll take another crack at it. (This would be so much easier to fix on Livejournal's end...)

[identity profile] noelleno.livejournal.com 2012-01-06 03:15 pm (UTC)(link)
Darn. I kind of figured, considering all their talk of ~cleaning up mountains of script~ and what not. But thank you so much for your efforts!

Thank you!

[personal profile] autumnrain 2012-01-05 04:45 pm (UTC)(link)
How wonderful, you've done something LJ reckoned couldn't be done! Thank you very much ;w;
ext_3740: the libertines > carl barât (let sleeping dragons lie)

Welcome!

[identity profile] disprove.livejournal.com 2012-01-06 06:41 am (UTC)(link)
Glad it worked for you and thanks for taking the time to leave a comment!

something LJ reckoned couldn't be done

Pfft, it's really not that they *can't* do it, it's just that they *won't*. The subject field has been here all along, they haven't removed it, they had just set the damn thing to hide. I guess in a roundabout way, we should be grateful that they hadn't gone to the trouble of removing it, otherwise this script of mine wouldn't work. Of course, we wouldn't have needed a script in the first place if it weren't for them either. -_-;

Thanks a bunch!

[identity profile] sphinxofthenile.livejournal.com 2012-01-05 06:36 pm (UTC)(link)
I believe many people love you right now. :D
ext_3740: the libertines > carl barât (smile like you've got nothing to lose)

You're welcome!

[identity profile] disprove.livejournal.com 2012-01-06 07:02 am (UTC)(link)
Haha, well, if that's true, I'm guessing a majority of them are loving me in secret! *looks at download stats vs. # of comments* Ah, though they might not say it, I'm sure they all want to build me a monument are very grateful for this script in their very heart of hearts. :D
ext_123020: (Misc: \o/)

Bravo!

[identity profile] wallflower18.livejournal.com 2012-01-05 07:31 pm (UTC)(link)
I don't need this with my rather bleak current layout but still, FANTASTIC! You're a lifesaver. <3 Mem'ing this and the post at [livejournal.com profile] mintyapple for future use. Thank you so so much for taking the time to make it available. :D
ext_3740: the libertines > carl barât (if you know love)

Thank you, thank you! *bows*

[identity profile] disprove.livejournal.com 2012-01-06 07:04 am (UTC)(link)
You're welcome, and thanks for taking the time to comment! :D
woodface: (Default)

<3333

[personal profile] woodface 2012-01-05 08:33 pm (UTC)(link)
You win the internets!

Thank you!
ext_3740: the libertines > carl barât (fuuuUUUU--)

[identity profile] disprove.livejournal.com 2012-01-06 07:10 am (UTC)(link)
Woohoo, I won something! \o/ Now these internets, I can sell them, right? ;)

You're welcome!

[identity profile] troideleven.livejournal.com 2012-01-05 08:38 pm (UTC)(link)
YES. Thank you so much for this.

A question: can the subjects be made to show up in collapsed comments? That would be one of the final triumphs in undoing the "update."
Edited 2012-01-05 20:48 (UTC)
ext_3740: the libertines > carl barât (dead film stars)

[identity profile] disprove.livejournal.com 2012-01-06 07:19 am (UTC)(link)
You're welcome, and thanks for taking the time to leave a comment.

The answer to your question is a "Yes, BUT." Yes, but it'll mess up alignment rather badly, and yes, but it'll show up under the author's username instead of before it. I'll take another crack at it later. No promises though!

[identity profile] mundaneone.livejournal.com 2012-01-05 11:46 pm (UTC)(link)
Thank you so very much!
ext_3740: the libertines > carl barât (; covets coins)

*high fives*

[identity profile] disprove.livejournal.com 2012-01-06 07:20 am (UTC)(link)
You're so very welcome, and thanks for taking the time to comment!

You are

[identity profile] loquaciousquark.livejournal.com 2012-01-06 12:21 am (UTC)(link)
A champion. Thank you so much for this.
ext_3740: the libertines > carl barât (are you the one I’ve come to sav)

;D

[identity profile] disprove.livejournal.com 2012-01-06 07:23 am (UTC)(link)
Thank you for the high praise, er, Ms./Mr. Crossbreed-Between-Belle-and-Gaston! (Or is that Mrs.?)
ext_3740: the libertines > carl barât (faithfully)

[identity profile] disprove.livejournal.com 2012-01-06 07:25 am (UTC)(link)
Ooh, thanks very much, Misha! :)

You are so

[identity profile] ex-maerhys503.livejournal.com 2012-01-06 01:35 pm (UTC)(link)
AWESOME!!!!
chaobell: Pyro taking a walk, firing flamethrower into the air just because. (Default)

♥♥♥♥♥

[personal profile] chaobell 2012-01-06 06:22 pm (UTC)(link)
Thank you!

[identity profile] futureperfect.livejournal.com 2012-01-07 11:21 pm (UTC)(link)
I thought I would come here and comment too because YOU ARE MY HERO. ♥

Also, so you don't need to come find me for comments for updates (which I appreciate like nothing else, thank you ~so much), if I track your release 88 tag in the event of you having time to look at the collapsed comments thinger, would that help?
skieswideopen: Sydney Bristow and Nadia Santos standing on a bridge (Geeks)

[personal profile] skieswideopen 2012-01-08 05:36 am (UTC)(link)
This is fantastic! I'm so happy to have subject fields back! Thank you!

You rock my world!

[identity profile] cardcaptur.livejournal.com 2012-01-08 01:10 pm (UTC)(link)
Yup, that's pretty much it ^^

[identity profile] fon-rotbar.livejournal.com 2012-01-08 02:49 pm (UTC)(link)
You wrote:
need the Greasemonkey add-on to run this script

Greasemonkey 0.9.13 is Not available for Firefox 2.6.1

I'm cry 8'((

[identity profile] fon-rotbar.livejournal.com 2012-01-08 02:52 pm (UTC)(link)
And i'm use Seamonkey 2.6.1 ...

[identity profile] marilla-pm67.livejournal.com 2012-01-09 12:38 pm (UTC)(link)
Did you fix your problem? Or are you still struggling to get Greasemonkey for Seamonkey?
Sam

[identity profile] fon-rotbar.livejournal.com 2012-01-09 12:50 pm (UTC)(link)
This problem don't fixed in my force.
Greasemonkey for Seamonkey? There search this? Please, give link to me.

[identity profile] marilla-pm67.livejournal.com 2012-01-09 01:14 pm (UTC)(link)
Hope this will help you out :

https://addons.mozilla.org/en-US/seamonkey/ search for
- Scriptish : https://addons.mozilla.org/en-US/seamonkey/addon/scriptish/?src=hp-dl-upandcoming
It's the Greasmonkey clone :) - Works like a charm.
- Stylish : https://addons.mozilla.org/en-US/seamonkey/addon/stylish/?src=search
- Scriptify : https://addons.mozilla.org/en-US/seamonkey/addon/scriptify/?src=ss
To keep the script up to date.
Go on have fun
Sam

[identity profile] fon-rotbar.livejournal.com 2012-01-09 02:26 pm (UTC)(link)
Addon "Livejournal - Show Subject Field" to be create .xpi file, and installed successfully.
Seamonkey restarted.
Subject Field- NOT VIEW!!! 8'((

Stylish installed successfully to do, and worked script "LiveJournal Release 88 Tweaks"

I'm must have style S2 LiveJournal? I'm must have disconnect "LiveJournal Release 88 Tweaks"?

Thanks to you help.

THANK YOU

[identity profile] marilla-pm67.livejournal.com 2012-01-08 03:47 pm (UTC)(link)
Thank you so much for this.

Sam.

[identity profile] corner-of-woes.livejournal.com 2012-01-08 04:18 pm (UTC)(link)
Have all the internet awards, ALLLL OF THEM!

Thanks so much

[identity profile] iiluov.livejournal.com 2012-01-08 09:38 pm (UTC)(link)
This is great! :)

[identity profile] jacyevans.livejournal.com 2012-01-09 06:21 pm (UTC)(link)
You win the internets.