Sophie (soph) wrote in lj_nifty,

LJ Profile Adjustments Greasemonkey script

[updates:

* 2008-11-13 11:48pm GMT - New option added, "Center the page when width is reduced". Watch this post for new tweaks added, since I'll try to update it frequently.
* 2008-11-14 12:15pm GMT - Reorganised layout of options, fixed a bug in the 'move user stats' option, and added a new option for increasing the font size of the title and subtitle.
* 2008-11-14 12:31pm GMT - Tweaked order of settings a bit.
* 2008-11-17 12:05am GMT - Fixed script so it works on OpenID profiles too.
* 2008-11-17 1:43pm GMT - Added option to remove text from the topmost links.
* 2008-11-17 4:29pm GMT - Fixed a slight bug with the "remove text from topmost links" option preventing it from continuing when one of the options was greyed out.
* 2008-11-18 2:08am GMT - Reorganised the style code to allow for reliable removing of styles, added two tweaks from lienne, and added a third section to the list of tweaks, "Section tweaks".
* 2008-11-18 1:18pm GMT - Fixed a small bug that didn't remove the "Moderators" arrow.
* 2008-11-18 8:38pm GMT - Fixed a bug whereby Safari users (and potentially other browsers, too) could not use the script. However, please see the note below.]


Safari users: This script will not work in GreaseKit 1.4 or 1.5, due to the removal of some of the GM_* functions necessary for the script to work. However, there is a major vulnerability in GreaseKit 1.3 and below which can make your browsing unsafe. This script will work in GreaseKit 1.3, but I strongly advise that you wait for a new version of GreaseKit that fixes the problem and brings back the functions necessary for this script to run.

Note: To be informed of updates to this script, subscribe to the script update thread on this post (Paid users only, unfortunately.) When I update the script, I'll post a comment to the thread.

It's not hard to notice recently that there's been a lot of debate over the new profile page design, and a lot of people have been calling for changes.

I've taken the liberty to make a Greasemonkey script that, rather than forcing you to one specific layout, lets you pick and choose the tweaks you want to apply to the profile page. You can find the Greasemonkey script here:

http://matrix.theblob.org/greasemonkey/ljprofileadjustments.user.js

After installing the script, go to a profile page and click the "Customize profile >>" link at the top. A box will show itself that allows you to make any of the following tweaks individually:

Tweaks to the top of the profile
  • Move user stats to bottom of page
  • Remove topmost horizontal rule
  • Remove images on topmost links
  • Remove text on topmost links (requires page reload to disable)
  • Increase the font size of the title and subtitle
  • Increase the font size of user stats

Section tweaks
  • Remove horizontal rules from all but the top
  • Apply new section/subsection style (courtesy of lienne)
  • Remove arrows from sections/subsections (courtesy of lienne)
  • Add more spacing between sections

General layout tweaks
  • Underline all links
  • Reduce overall width of page
  • Center the page when width is reduced
  • Indent interests and user lists


Since you can choose any of these individually, you really can customise the page to how you *personally* want it to look. Changes take effect instantly, and are saved so you don't have to make these changes every time; they get automatically applied whenever you visit a profile page.

Note that this script only affects how you see the profile, not how anybody else sees yours.

If you have any suggestions for more tweaks to include, let me know and I'll do my best to include them. :)
  • 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 

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

the_xtina

November 13 2008, 23:17:09 UTC 5 years ago

AWESOME.

A minor bug: when "Move user stats to bottom of page" is selected, the space between the top bar and the Basic Info section is teensy.

soph

November 13 2008, 23:19:40 UTC 5 years ago

Yeah, I've been trying to figure out how to fix that, but haven't had much luck so far. I'll keep trying though - watch this post in case there are any updates.

the_xtina

5 years ago

soph

5 years ago

the_xtina

5 years ago

bitter_crimson

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

I was (with my poor CSS skillz) futzing around with Stylish yesterday, and was able to make a lot of changes, but I was hoping someone would do a Greasemonkey script to accomplish some of the things that can't really be done (or at least, I don't know how to do them) with CSS. Heh, so, I specifically mean the user stats at bottom of page, here. I know a lot of people hated them at the top, and I wrote a Stylish thing to just hide them completely, but it's so much more useful to give the option of moving them to the bottom without hiding them.

Anywho, thanks for your work!

ex_uniquewo

November 13 2008, 23:26:33 UTC 5 years ago

A suggestion: maybe margin: 0 auto for "Reduce overall width of page" so that it stays centered anyway. I'm thinking of people who don't always have the same set width for their browser windows.

soph

November 13 2008, 23:29:09 UTC 5 years ago

I think I'll make that a separate tweak, because I personally didn't like it centered when I tried it, but I know others will, so I'll do that. :D

(btw, I'm so sorry I haven't yet got round to your PM yet. I've been meaning to answer and haven't been able to yet. :/)

mordyn4

November 13 2008, 23:26:34 UTC 5 years ago

Nice job, this is a lot of fun to play with! I'd prefer for the customize link be at the bottom, but that's about it.

Works perfectly with GreaseKit (Safari), just so you know.

soph

November 13 2008, 23:49:30 UTC 5 years ago

Thanks for letting me know!

As for the customize link being at the bottom, maybe I should make that a tweak in itself :D

mordyn4

5 years ago

trobadora

November 13 2008, 23:32:42 UTC 5 years ago

This is fantastic, thank you!

trobadora

November 14 2008, 16:40:41 UTC 5 years ago Edited:  November 14 2008, 16:43:10 UTC

Okay, I've now looked at my profile more than I have ever before, just to play with the options and compare the results. Still fantastic. :-)

One question: Is it possible to stop the journal title from displaying if none is given? That utterly redundant "so-and-so's journal" thing is really starting to bug me.

(edited to add missing word)

rainbow

November 13 2008, 23:35:18 UTC 5 years ago

oh, THANK YOU!

thewhiteowl

November 13 2008, 23:36:14 UTC 5 years ago

What about ?mode=full? I added a * at the end of the URLs, you might want to do that to the source.

soph

November 13 2008, 23:39:07 UTC 5 years ago

Oh, good point. I'm going to add ?mode=full to the URLs specifically because it would probably cause some pages, like http://community.livejournal.com/profilescomic/profile (note: NSFW comm, though the profile is okay) to not display properly.

thewhiteowl

5 years ago

kellzilla

November 13 2008, 23:56:21 UTC 5 years ago

Worked perfectly, awesome! Thanks :)

sarig

November 14 2008, 00:01:58 UTC 5 years ago

Does this greasemonkey come for Opera? :/

athena8

November 14 2008, 00:37:18 UTC 5 years ago

Love it. Thank you! ♥

tipsiturvi

November 14 2008, 00:45:04 UTC 5 years ago

First time Greasemonkey user. O_O It's awesome.

And this script is amazing! My profile looks SO MUCH BETTER. Thank you!

beer_good_foamy

November 14 2008, 00:47:59 UTC 5 years ago

Awesome. Thank you.

inlaterdays

November 14 2008, 00:49:00 UTC 5 years ago

I tried installing this in Opera, and the menu displays beautifully but I can't get it to accept changes. Is there a way I can get Opera to run it?

(Thank you - and everyone, especially bitter_crimson and uniquewonders - who has taken the time to help myself and others out lately. And I'm sorry to ask what is probably a dumb question.)

soph

November 14 2008, 01:45:43 UTC 5 years ago

Not a dumb question! You'll need to install the Emulate GM functions script for the saving to work, I believe.

nakeisha

5 years ago

soph

5 years ago

nakeisha

5 years ago

nakeisha

5 years ago

soph

5 years ago

nakeisha

5 years ago

inlaterdays

5 years ago

nakeisha

5 years ago

inlaterdays

5 years ago

nakeisha

5 years ago

inlaterdays

5 years ago

nakeisha

5 years ago

inlaterdays

5 years ago

nakeisha

5 years ago

bitter_crimson

5 years ago

nakeisha

5 years ago

bitter_crimson

5 years ago

nakeisha

5 years ago

nemesis

November 14 2008, 01:20:46 UTC 5 years ago

dskLJFLDF HELLO I THINK I LOVE YOU

this is FANTASTIC I can finally get rid of the horizontal lines ksdalfjla amazing

midnightmadness

November 14 2008, 01:40:40 UTC 5 years ago

Nice job. Thanks.

matcha

November 14 2008, 02:53:15 UTC 5 years ago

So much love for this script. Thank you!

ayedel

November 14 2008, 04:04:17 UTC 5 years ago

OMG I love you :D Thanks so much for helping my head from having migraine again when I try to look at the profile. My lecturer(also my doctor) and I thank you :D!

julian_black

November 14 2008, 04:24:33 UTC 5 years ago

Excellent! Thank you!

girlfight

November 14 2008, 04:40:17 UTC 5 years ago

You are wonderful.

priestess_grrrl

November 14 2008, 04:50:13 UTC 5 years ago

okay, this is SO THE BEST THING EVAR!! You are made of awesome! ^_^

telrunya

November 14 2008, 08:34:26 UTC 5 years ago

I love you for doing this, thank you.

darknightrain

November 14 2008, 08:55:13 UTC 5 years ago

Thanks so much for this.

psychme

November 14 2008, 09:13:12 UTC 5 years ago

You are fabulous. Thank you!

queen_mello

November 14 2008, 09:59:46 UTC 5 years ago

I kinda just stumbled across this community but I saw what your post and just wanted to say that I love you! Thank you so much.
You are my new hero. :)

tea_doll

November 14 2008, 10:36:58 UTC 5 years ago

Thanks so much for this ^_^ Is there any way to make the journal's title and subtitle bigger?

soph

November 14 2008, 12:17:00 UTC 5 years ago

Sure! I just added a tweak for it, and reorganised the tweaks into two sections at the same time. Install it again and you should see it. :)

tea_doll

5 years ago

Previous
← Ctrl← Alt
Next
Ctrl →Alt →