An alpha of beta males ([info]erorus) wrote in [info]lj_nifty,
  • Mood: tricky

Greasemonkey Script brings back the old Update Journal Page

As you're probably well aware, there were a few changes made to LJ Wednesday, including a major overhaul of the Update Journal (and Edit Journal Entry) pages. More than a few users didn't like the new changes.

Behold, I have created a GM script to bring the old Update Journal back from the dead.

It's just javascript that moves the form elements around to where they used to be, more or less. I got the old layout from GreatestJournal. I encourage you to give the script a try, modify it, improve it, fix it, throw it away, whatever.

    Disclaimers
  • I built this all today, so it's not like there's a lot of testing done on it. I tried it on my journal, modified a post with it, and it seemed to work. (Edit: been using it the past few days, no problems.) I have not tested it thoroughly, though.
  • This may or may not work with community posts. Haven't really tried it. (This is the first one, I guess.)
  • This was tested and developed in Firefox 1.5.0.8 with Greasemonkey 0.6.6.20061017.0 on a Windows XP machine with 1280x1024 desktop resolution. If you don't run it like this, it may or may not be ugly. I tried to bring it back to the old layout which worked under most circumstances.
  • I tested more with new posts than updating old posts, so updating old posts may have more bugs than I saw.
  • If this sets your new private post to public or something, don't blame me. It really doesn't do much with the form values and should be quite portable, but TEST IT before you do anything sensitive with it. Disable Greasemonkey for sensitive posts if you want to be sure, until you know it works for you. (Edit: This really, really shouldn't be a problem.. just a disclaimer, is all.)


    Known Bugs
  • Sometimes the preview of your user picture icon ends up in the upper left corner of the page. Reload, and it may or may not go back to where it belongs. I can't reliably duplicate this to debug it. (Edit: Haven't seen this bug reappear in a while.)
  • When you set the security to "custom", the friends groups still have the old styling which moved them waaay over to the right. Untangling that list of checkboxes looked tedious and the current display doesn't bother me much, but it isn't exactly like it used to be.


I think it's good enough for daily use, even though it's not perfect. I also figure it's a good starting point for anyone who's really bothered by it to just finish it up to perfection instead of starting from scratch.

(Edit: I've fixed a few bugs since I asked this to be posted on [info]lj_nifty five days ago. I've modified this post to reflect the changes.)

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your reply will be screened

    Your IP address will be recorded 

  • 32 comments

[info]lsanderson

December 19 2006, 14:31:40 UTC 5 years ago

Typo...

"chamges" should be "changes"

[info]_milashka

December 19 2006, 14:47:32 UTC 5 years ago

Re: Typo...

yeah, and those chamges were not done yesterday, but a week ago :)

[info]erorus

December 19 2006, 14:50:58 UTC 5 years ago

Re: Typo...

It took [info]lj_nifty five days to approve my post.. I thought it'd be quicker.

[info]_milashka

5 years ago

[info]vorona

December 19 2006, 15:38:06 UTC 5 years ago

I think we should call the latest changes "chamges," because, well. They're a mistake. I loathe the look and feel of the new update page. Whyyyyy? It's jumpy and nasty. Anyway, thank you for working to override these hideous "improvements."

[info]finefinemusic

December 19 2006, 15:49:11 UTC 5 years ago

My God, you people really don't know how to shut up, do you? "Even though you fixed my menial concerns.. I would still like to complain."

[info]vorona

5 years ago

[info]grrliz

5 years ago

[info]torakiyoshi

December 19 2006, 17:08:14 UTC 5 years ago

Thank you for the replacement of a far better update page than the new one! Now, because I'm not that great with java-- how do I get it to work, please?

Have the best

-=TK

[info]erorus

December 19 2006, 19:02:35 UTC 5 years ago

how to get it to work

1. Download and install Firefox, if you're not using it already.
2. Download and install Greasemonkey, which is a browser extension for Firefox.
3. Click the "Behold" link in my post above, and Greasemonkey will ask if you want to install the script. Click the "install" button in the window that pops up, and you're done.

[info]westerdrumlins

December 20 2006, 06:03:43 UTC 5 years ago

I... I love you.

[info]ex_duelist

December 20 2006, 09:58:06 UTC 5 years ago

EXCELLENT.

Thank you SO MUCH!

[info]morgandawn

December 20 2006, 18:42:44 UTC 5 years ago

I adore this fix. And it works too. ;-) Thanks again.

[info]tzikeh

December 20 2006, 23:39:47 UTC 5 years ago

Holy shit - you are AWESOMENESS DEFINED!

[info]thepouncer

December 21 2006, 00:17:56 UTC 5 years ago

Thank you.

[info]dahliablue

December 21 2006, 13:09:35 UTC 5 years ago

*bows to you*
Thank you so much!
Now I might actually be able to edit entries.

[info]rainbow

December 22 2006, 05:33:39 UTC 5 years ago

oh, that is SO much better. i could not use the new one at all.

is there any way i can change the scrip to make the lines around the text box black? it is hard for me to see them (eye probelms) and the old page had darker ones.

but jsut have the definition at the bottom is a big big big help. thank you!

boo

[info]erorus

December 22 2006, 14:02:37 UTC 5 years ago

editing the script

Follow these steps to edit your script to add definition to the borders:
  1. Open an LJ update page
  2. Right-click the Greasemonkey icon in the lower right corner of your browser window, and select "Manage User Scripts"
  3. Select "LJ Old Update Journal Page" in the list at the right
  4. Click the "Edit" button
  5. Look for the following text near the end of the script: removeNode(divgreybox);
  6. Insert the following right after that line:
    inputs = document.getElementsByTagName('input');
    for (x = 0; x < inputs.length; x++) {
    if (inputs[x].type == 'text') {
    inputs[x].style.border='2px solid black';
    }
    }
    selects = document.getElementsByTagName('select');
    for (x = 0; x < selects.length; x++) {
    selects[x].style.border='2px solid black';
    }
    getEle('draft-container').style.border='2px solid black';
  7. Save the script, and reload your Update Journal page to see the changes.
You can also change the 2px to 1px if the border is too thick.

[info]rainbow

5 years ago

[info]metalfatigue0

December 22 2006, 09:52:06 UTC 5 years ago

Very useful. Thank you.

[info]nufaciel

December 22 2006, 16:56:11 UTC 5 years ago

Thank you very much! :)

[info]china_shop

December 23 2006, 07:11:03 UTC 5 years ago

Thank you! :-)

[info]rosiedoes

December 28 2006, 01:02:55 UTC 5 years ago

I honestly love you.

It's kind of weird using one that's like-the-old-one-but-not, but it's so much better than the pap they had us using recently.

Thank you.

(Hah. I got an error posting this.)

[info]shiny_starlight

December 28 2006, 01:15:29 UTC 5 years ago

Seriously, you are full of awesome like an awesome thing. This is so much better than what thedy made us change to. Thanks hon *hugs*

[info]gizmometer

December 30 2006, 00:02:20 UTC 5 years ago

First: LOVE LOVE LOVE OMG.

It basically works great!

However I have noticed one problem - editing entries, where you said there might be issues - if there have been any tags assigned before editing... they... vanish, once the entry's saved. Not a problem if you notice/know it's happening, can just go back and add, but people might not notice!

[info]harmonyfb

January 1 2007, 04:38:57 UTC 5 years ago

Thank you.

[info]abby_i

January 5 2007, 17:57:48 UTC 5 years ago

Wonderful, thanks. This may make me finally move from IE to FF full time!

I was just wondering though, is there a way to adjust the width of the tables used?

I'm still on good old 8x6 and it's far too wide for me at the moment.

[info]abby_i

January 5 2007, 18:05:31 UTC 5 years ago

Sorry, is it also possible to make the next one size larger?

[info]erorus

5 years ago

[info]abby_i

5 years ago

[info]iamzuul

January 30 2007, 21:35:21 UTC 5 years ago

FOR THE WIN.
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…