Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Firefox hack to make SL blogs readable

Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
09-18-2009 12:20
I've complained about the SL Blogs being unreadable, and mentioned several times that it should be possible to make a Greasemonkey script to fix that... and I finally did it.

All this thing does is change the font, but that makes a big difference for me.

This is no great shakes, but it works. When I learn enough to make it do more, I will. Please feel free to add stuff yourself.

The great thing about Greasemonkey is that it lets you add functionality to web pages that belong to someone else's website. It all happens in YOUR browser, so you are not messing with LL property in any way.

In this case, there's no added functionality, just a change in appearance.

There's another one in post 6 of this thread that takes the "groups" box off the Dashboard. It's just a proof of concept. I mean to work on it on Monday.

What you need to do is:

(1) use Firefox as your browser
(2) install Greasemonkey:

https://addons.mozilla.org/en-US/firefox/addon/748

(3) save the script below to your computer, calling it

opts4slblogs.user.js

(the name is important; if it doesn't end in .user.js it will not work)

(4) drag and drop the file onto your browser (Firefox). A Greasemonkey window will appear. Press Install.
(5) visit blogs.secondlife.com and see the difference

The file is below. As I said, at this point, all you can change is the font. If you don't like Georgia, make it something else.

Here is the file:


// ==UserScript==
// @name Options for Second Life Blogs
// @namespace http://blogopts4sl
// @description Allow user to customize SL Blogs
// @include http://blogs.secondlife.com/
// @include https://blogs.secondlife.com/
// @version 0.0.1
// @author Seven Okelli
// ==/UserScript==


var elmHead, elmStyle;
elmHead = document.getElementsByTagName('head')[0];
elmStyle = document.createElement('style');
elmStyle.type = 'text/css';
elmHead.appendChild(elmStyle);
elmStyle.innerHTML = 'body { font-family: Georgia, Times New Roman; }';
_____________________
:
: I met most of the people I know in Second Life through these forums.
: I learned most of what I know of Second Life through these forums.
: When I couldn't get inworld, these forums were the next best thing.
: And sometimes these forums WERE the best thing.
:
Lindal Kidd
Dances With Noobs
Join date: 26 Jun 2007
Posts: 8,371
09-18-2009 12:49
Thanks, Seven.

While this is sure to be much appreciated, do you suppose anyone at LL sees the irony in the fact that their shiny new blogorums need a Greasemonkey script to make them usable...when it took them years to break the existing forums to the point that THEY needed a Greasemonkey script?

Introducing stuff that's broken from Day One instead of working software that you can break later...well, I guess that's progress, of a sort. :(
_____________________
It's still My World and My Imagination! So there.
Lindal Kidd
Ann Otoole
Registered User
Join date: 22 May 2007
Posts: 867
09-18-2009 12:51
Thanks Seven. The blog format is perfectly usable for many people but for those that need it your contribution will no doubt be very much appreciated.
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
09-18-2009 12:53
From: Ann Otoole
Thanks Seven. The blog format is perfectly usable for many people but for those that need it your contribution will no doubt be very much appreciated.


/me laughs

Thanks, Ann (and Lin). I did it for me! I couldn't read that font.

Hopefully I'll be able to put some *real* functionality into it. Greasemonkey is fairly open-ended.

.
_____________________
:
: I met most of the people I know in Second Life through these forums.
: I learned most of what I know of Second Life through these forums.
: When I couldn't get inworld, these forums were the next best thing.
: And sometimes these forums WERE the best thing.
:
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
09-18-2009 13:32
Next I'm going to work on one for the Dashboard - to remove unwanted items.

.
_____________________
:
: I met most of the people I know in Second Life through these forums.
: I learned most of what I know of Second Life through these forums.
: When I couldn't get inworld, these forums were the next best thing.
: And sometimes these forums WERE the best thing.
:
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
09-18-2009 14:07
This is another one, to take the "Groups" box off the Dashboard.

I have to go home right now, and I don't think I'll be able to work on this until Monday, but I should be able to move the stuff around on that page without too much trouble.

If you want to use it, save it to your computer, call it

fixdashboard.user.js

and install it into GreaseMonkey, as in the first post of this thread (drag it into your browser).

the file:

// ==UserScript==
// @name fixdashboard
// @namespace http://dashopts4sl
// @include https://*.secondlife.com/my/*
// ==/UserScript==

var elemDeleted = document.getElementById("widget-groups";);
elemDeleted.parentNode.removeChild(elemDeleted);
_____________________
:
: I met most of the people I know in Second Life through these forums.
: I learned most of what I know of Second Life through these forums.
: When I couldn't get inworld, these forums were the next best thing.
: And sometimes these forums WERE the best thing.
: