Chrome/Firefox extension to shrink crazy forum header

Chrome/Firefox extension to shrink crazy forum header

Unread postby goosmurf » 5 Jul 12, 6:59 pm

I created a simple Chrome extension to shrink that giant forum header to something more sensible:
https://chrome.google.com/webstore/deta ... fdjmmmgppi

Firefox users can try this Greasemonkey script: https://raw.github.com/goosmurf/games-o ... up.user.js

Shrinks:
Image

To:
Image

This *only* affects the /forums URLs. I tried to minimise the actual HTML changes behind the scenes to retain styles, not mess with links etc. It's unfortunate the ad had to be killed but speaking plainly I'm an iiNet shareholder and that LREC positioning is simply awful.

If you feel like contributing: https://github.com/goosmurf/games-on-net-cleanup
Last edited by goosmurf on 6 Jul 12, 11:02 am, edited 4 times in total.
goosmurf

User avatar
Padawan
 
Offline
Posts: 173
Joined: 12 Jul 03, 10:01 am
Location: Sydney, Australia

Chrome extension to shrink crazy forum header

Unread postby Disco LT » 5 Jul 12, 7:07 pm

Looks like I'm swapping to Chrome!
Image
Disco LT

User avatar
Forgotten What The Sky Looks Like
 
Offline
Posts: 2768
Joined: 10 May 11, 6:40 pm
Location: New South Wales

Re: Chrome extension to shrink crazy forum header

Unread postby SaNE » 5 Jul 12, 7:22 pm

Goes well with what I've already done through CSS, Nice.
Image
Steam - Battlelog - X-Fire - "If you're not hurting somebody's feelings, you're losing"
SaNE

User avatar
Jedi Upstart
 
Offline
Posts: 861
Joined: 20 May 12, 6:09 pm
Location: Perth, WA

Re: Chrome extension to shrink crazy forum header

Unread postby Mythor » 5 Jul 12, 7:26 pm

Nice work, goosmurf.
Anyone up to the challenge of porting it to greasemonkey or similar for Firefox? :)
"Wasabi is a sometimes food." - Elmo
Image
Mythor

User avatar
TF2 Admin
 
Offline
Posts: 7158
Joined: 10 Jun 04, 5:45 pm
Location: San Francisco

Re: Chrome extension to shrink crazy forum header

Unread postby Artful-dodgeR » 5 Jul 12, 7:45 pm

Yes, it fixes header... but everything just turns white/grey and its HURZTING MEIN EYES.
Image
Artful-dodgeR

User avatar
Offline? What's 'offline'?
 
Offline
Posts: 3715
Joined: 16 May 04, 6:09 pm
Location: Roger Dodger, NSW.

Re: Chrome extension to shrink crazy forum header

Unread postby revengous » 5 Jul 12, 7:46 pm

EMBRACE THE CHANGE.
revengous

User avatar
Forgotten What The Sky Looks Like
 
Offline
Posts: 2048
Joined: 13 May 10, 4:42 pm
Location: Eating your pants.

Re: Chrome extension to shrink crazy forum header

Unread postby goosmurf » 5 Jul 12, 7:53 pm

Artful-dodgeR wrote:Yes, it fixes header... but everything just turns white/grey and its HURZTING MEIN EYES.


That's not a problem with this extension - someone broke something in the forums CSS. The timing is just coincidental hehe.
goosmurf

User avatar
Padawan
 
Offline
Posts: 173
Joined: 12 Jul 03, 10:01 am
Location: Sydney, Australia

Re: Chrome extension to shrink crazy forum header

Unread postby goosmurf » 5 Jul 12, 8:05 pm

Mythor wrote:Nice work, goosmurf.
Anyone up to the challenge of porting it to greasemonkey or similar for Firefox? :)


Try this:
https://github.com/goosmurf/games-on-ne ... up.user.js
goosmurf

User avatar
Padawan
 
Offline
Posts: 173
Joined: 12 Jul 03, 10:01 am
Location: Sydney, Australia

Re: Chrome extension to shrink crazy forum header

Unread postby Artful-dodgeR » 5 Jul 12, 8:17 pm

Would it be possible to amend it to work with wider screens?
Image
Artful-dodgeR

User avatar
Offline? What's 'offline'?
 
Offline
Posts: 3715
Joined: 16 May 04, 6:09 pm
Location: Roger Dodger, NSW.

Re: Chrome extension to shrink crazy forum header

Unread postby goosmurf » 5 Jul 12, 8:34 pm

Artful-dodgeR wrote:Would it be possible to amend it to work with wider screens?


TBH I didn't want to make too many changes to the site layout as every change we make is something that could possibly break if/when GON decides to update the site.

But that's also why I uploaded the source to GitHub -- feel free to fork it and modify for your own needs :)

Creating Chrome extensions is really quite easy -- if you want to just have your own modified copy just plonk all the files in one folder, and tell Chrome to load the extension from that folder. You can then edit the files in the folder directly. You do need to reload the extension between edits.

Greasemonkey is even easier. If you install the .user.js then use the Greasemonkey script manager to edit the script directly. It automatically picks up changes as you save the file.
goosmurf

User avatar
Padawan
 
Offline
Posts: 173
Joined: 12 Jul 03, 10:01 am
Location: Sydney, Australia

Re: Chrome extension to shrink crazy forum header

Unread postby Mythor » 5 Jul 12, 8:44 pm

Worked fine for one pageload and then stopped, I gather when the other bits got fixed. Heh.
At least it can be done! :)
"Wasabi is a sometimes food." - Elmo
Image
Mythor

User avatar
TF2 Admin
 
Offline
Posts: 7158
Joined: 10 Jun 04, 5:45 pm
Location: San Francisco

Re: Chrome extension to shrink crazy forum header

Unread postby lucassot » 5 Jul 12, 8:45 pm

Damn that looks so much better, great work mate. All that top section is not needed at all!
Image
lucassot

User avatar
Story Teller
 
Offline
Posts: 1909
Joined: 2 Dec 04, 12:55 am
Location: Adelaide, SA

Re: Chrome extension to shrink crazy forum header

Unread postby ashman1991 » 5 Jul 12, 8:50 pm

Absolutely love how a lot of time has been spent to do this UI change and the actual USERS of the site are saying "**** you, we are changing it."
ashman1991

Padawan
 
Offline
Posts: 343
Joined: 9 Oct 06, 9:30 pm

Re: Chrome extension to shrink crazy forum header

Unread postby PirateEggs » 5 Jul 12, 9:14 pm

Artful-dodgeR wrote:Would it be possible to amend it to work with wider screens?

What's your resolution?
I made one for myself, I'm using 1920x1080.
Image
PirateEggs

User avatar
Jedi Upstart
 
Offline
Posts: 613
Joined: 21 May 10, 8:14 am
Location: Adelaide

Re: Chrome extension to shrink crazy forum header

Unread postby Mekon » 5 Jul 12, 9:22 pm

Fantastic, that's pretty much exactly what I was looking for!

Eh... what happened to the thumbs up icon (:icon13:) ? :(
Image
Mekon

User avatar
I Draw Sustenance From Destroying Your Hyperbole
 
Offline
Posts: 7569
Joined: 8 Dec 03, 6:31 pm
Location: Dysney.Oz

Next

Return to GON Lounge

Who is online

Users browsing this forum: Linxus and 4 guests

x

#{title}

#{text}