Xtina (the_xtina) wrote in lj_nifty,
I don't like the new profile page even one bit, so I wrote a script to reset it.  So far as I've tested, it works in all five LJ themes, using Firefox 3 on Windows Vista and XP.

Plus, fun of funs, you get to comment out things you don't care about seeing (like schools or virtual gifts).

(Userpic overlap is a known thing - I need to study up a bit on table structuring in order to fix it.)

Install and enjoy!  Lemme know if something breaks!

[eta - 11/24] It's updated now to work with Firefox 2.0, as far as I can tell.  With many thanks to soph.  :)

[eta - 12/01] I got it to work with IE.  Aiee!  Go here if you're particularly daring.

[eta - 12/09] Probably checking the script page every few days would make more sense.  I've added language support!

[eta - 12/18] LJ changed the page again, so I updated my script again.  With thanks to galfridian for alerting me to their nefariousnessitude!



PS: Yall, I love scripting, and would not have made this public if I didn't like making this script better.  (Plus grr LJ.)  Also, I am a pickypants, and I have learned Javascript by cobbling things together.  So I encourage you to report errors and improvements, no matter how slight.  :)

If something is not working for you and you are in Firefox, please follow these steps:

* Go to Tools > Error Console.
* Hit the Clear button.
* In Firefox, with the script freshly installed (just in case), go to a profile that's failed for you.
* Once the page has fully loaded, go to the Error Console window and click the Errors button (located at the top).  You should see an error message show up in here, ideally - the link underneath should be a path to lj_profile_reset.user.js.  Select the error, right-click > Copy it, and post it as a new comment here.
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 188 comments
Previous
← Ctrl← Alt
Next
Ctrl →Alt →

wwowie

November 22 2008, 19:02:34 UTC 5 years ago

Something seems a little wonky (see image) for me for the tags, otherwise this is great! Thanks. :)

the_xtina

November 22 2008, 19:23:42 UTC 5 years ago

Weeeird.  Could you paste the code for that here?

- Select that block, from the Memories label to the end of the Tags line.
- Right-click>view selection source, then paste that into Notepad.
- Search/replace > with &gt; and < with &lt;.
- Pastify here.

Danke!

wwowie

5 years ago

soph

5 years ago

wwowie

5 years ago

the_xtina

5 years ago

wwowie

5 years ago

aigua

November 22 2008, 19:09:11 UTC 5 years ago

this works perfectly fine for me. haven't found any glitches yet. thank you!

soniclibra

November 22 2008, 19:19:05 UTC 5 years ago

i actually prefer the new profile page.. it looks a lot more professional and the info I look at more often is at the top right, without having to click next to another page..

suzu

November 22 2008, 21:46:19 UTC 5 years ago

Awesome! I knew someone would come through with a script to revert it. Thanks!

bitter_crimson

November 22 2008, 22:23:55 UTC 5 years ago

I don't mind the new profile, but this is a great script! I'm going to inform my flist of it, 'cause I know many of them wanted something like this.

inlaterdays

November 22 2008, 22:50:44 UTC 5 years ago

Thank you so much! This works in Opera too, when used with soph's Greasemonkey adapter for Opera.

I am so happy right now. :)

soph

November 23 2008, 18:33:23 UTC 5 years ago

It's not mine - I didn't make that Emulate GM Functions script. I just know that it's needed for some things.

Also, this script doesn't use any of the functions that the script emulates, so it'll work perfectly fine even without that.

inlaterdays

5 years ago

halfawake

November 23 2008, 01:37:45 UTC 5 years ago

I tried this and it didn't change the look of my profile at all. I'm using Firefox 3.0.4, Windows XP, and the Dystopia style. I had to install Greasemonkey first, but it installed fine with no complaints from Firefox. Let me know if you'd like a screenshot.

the_xtina

November 23 2008, 02:05:43 UTC 5 years ago

Pardon the obvious questions, I just want to be clear.  You have GM installed, installed the script, and no change?

Weird.  Go to Tools > Error Console, choose Clear if there's anything there, then refresh or load a profile page (any).  What comes up in the Error section of the Error Console, if anything?

halfawake

5 years ago

the_xtina

5 years ago

the_xtina

5 years ago

halfawake

5 years ago

the_xtina

5 years ago

halfawake

5 years ago

psychme

November 23 2008, 02:54:59 UTC 5 years ago

This works nicely. Thank you!

soph

November 23 2008, 18:21:51 UTC 5 years ago

I can confirm that if you replace "document.getElementsByClassName" with "getElementsByClassName" and add the ultimate GetElementsByClassName into the code, this script works on Firefox 2.0.0.17 and probably other 2.0.0.x versions as well.

Maybe you could make available a version like this for Firefox 2? Everything seems to work fine as far as I can tell.

soph

November 23 2008, 18:23:10 UTC 5 years ago Edited:  November 23 2008, 18:28:11 UTC

Well, almost. On http://community.livejournal.com/privchange/profile?mode=full on Firefox 2, the community name doesn't show up in the User: bit at the top, just the community icon and the thumbs up icon.

[edit: Hmm, actually, the username doesn't show up anywhere. Going to investigate now.]
[edit 2: Found the problem, it's due to another script I have. Not your fault!]

lollobrigida

5 years ago

the_xtina

5 years ago

the_xtina

5 years ago

soph

5 years ago

soph

5 years ago

the_xtina

5 years ago

soph

5 years ago

the_xtina

5 years ago

soph

5 years ago

the_xtina

5 years ago

soph

5 years ago

soph

5 years ago

the_xtina

5 years ago

soph

5 years ago

the_xtina

5 years ago

nikkiscarlet

November 25 2008, 03:58:36 UTC 5 years ago

Just wanted to say OMG THANK YOU for putting this together, and that I've not only told my flist but also put a great big link to this page in my bio for random passers-by. There's definitely a lot of demand for this script out there, so I figure the more people who know about it, the better. :) Thanks again!

gnatkip

November 26 2008, 14:35:23 UTC 5 years ago

Thanks so much!

eekkee

November 26 2008, 17:27:01 UTC 5 years ago

:)
Thank you so much!

waterofthemoon

November 26 2008, 18:42:49 UTC 5 years ago

I didn't realize how MUCH I missed the old profiles until I installed this and breathed a sigh of relief. LOVE LOVE LOVE.

lazy_daze

November 26 2008, 19:13:57 UTC 5 years ago

Awesome, thank you!!

One weird thing - now with this every time I go to a profile page it automatically reloads straightaway with ?mode=full. Know why this might happen? D:

the_xtina

November 26 2008, 21:35:31 UTC 5 years ago

Oh, because I wanted it.  I always want mode=full, and never liked having to click on the &%*$ link.

...

Fine, fine, I shan't inflict my preferences too much.  :)  Updated - if you install now, it won't autoredirect.

lazy_daze

5 years ago

sorchasilver

November 26 2008, 22:35:56 UTC 5 years ago

Oh, that's AWESOME. I've been using Stylish and a script bitter_crimson wrote, but I think this is going to be the one from now on. Thank you!

kashmir1

November 26 2008, 23:15:01 UTC 5 years ago

OH MY GOD YOU ARE MY HERO. Thank you so, so, so much!

I clapped when I refreshed my profile and it looked NORMAL again. :D

cormallen

November 26 2008, 23:40:52 UTC 5 years ago

Eee, thank you ever so much!

greenapricot

November 27 2008, 01:25:06 UTC 5 years ago

This is wonderful! It's so nice to see things back the way I want them to be. Thanks so much!

opaleyes

November 27 2008, 03:25:03 UTC 5 years ago

This is awesome! Thanks so much!
Any idea why it might only show one of my schools though? (Though, good lord, I'll gladly give up my school links for my old userinfo back.)

the_xtina

November 27 2008, 04:28:56 UTC 5 years ago

*blink*

*checks*

*facepalm*

It's fixed, good heavens.  (For each school, I'd add a line to a variable, and then reset the variable.  Smoooth.)  :D

opaleyes

5 years ago

the_xtina

5 years ago

opaleyes

5 years ago

galfridian

November 27 2008, 04:36:31 UTC 5 years ago

There are far too many ways you are my hero.

sentinelsoul

November 27 2008, 05:22:01 UTC 5 years ago

THANK YOU. Seriously, you ROCK. \m/

chankaylore

November 28 2008, 02:33:31 UTC 5 years ago Edited:  November 28 2008, 02:44:19 UTC

Random passer-by who stumbled across your script. Thankyou VERY MUCH for providing the opt-out option that LJ refuses to give. Honestly, I can't tell you how happy this piece of script makes me, and I'll be pimping you out on my journal now.

Thankyou thankyou!

Edit: Er, and a quick question, how do you hide the "Also Friend Of" portion of the profile?

the_xtina

November 28 2008, 18:05:49 UTC 5 years ago

Open the script for editing, and search for this line in the Set This block (somewhere in the line-500 range).

if (ljFriendOf) { setTable(ljFriendOf, 'Also Friend Of:'); }

Add double-slashes in front of the line, then save and exit, and reload a profile to see it changed.

//if (ljFriendOf) { setTable(ljFriendOf, 'Also Friend Of:'); }

hollywood

November 29 2008, 04:43:45 UTC 5 years ago

I LOVE YOU! I have a Mac and it works with my Mac with Firefox. :)

clefurgey

November 29 2008, 13:20:25 UTC 5 years ago

OMG, I think I love you! Is there any chance you can write one to work with IE? And does this reset just your profile or everybody's?

clefurgey

November 29 2008, 13:30:45 UTC 5 years ago

replying to myself to say holy god, this rocks! I love this, you should show it to the lj people, to show them exactly how easy it can be fixed.

the_xtina

5 years ago

clefurgey

5 years ago

the_xtina

5 years ago

clefurgey

5 years ago

kandigurl

December 1 2008, 16:13:50 UTC 5 years ago

You are my hero. Thank you SO MUCH for doing this.
Previous
← Ctrl← Alt
Next
Ctrl →Alt →