ID:260672
 
I'm on my EeePC a lot, and it's quite hard navigating with the sidebar / topbar.
Could there be a members option to automatically hide this?
I hate wasting space like that :)
Clicking that orange arrow will remove it for the duration of your session. Do you really need a feature that removes a single click every time you start a new session on the website?

Clicking and refreshing a page once per session isn't exactly inconveniencing or taxing.

(Forgive me if I'm coming on strong or hostile in anyway, it's not my intention, I'm just really tired. So I'll provide a smiley to lighten the tone of my post. =D)
In response to Tiberath
Perhaps there's a Greesemonkey script that does this for me? :)
In response to Flame Sage
Flame Sage wrote:
Perhaps there's a Greesemonkey script that does this for me? :)

Probably possible, but looking at the source of the page just now, that particular div doesn't have a name or id I can go by straight off the bat. And I doubt it'll be in the same position in the element array on every page. It's possible, but I'm not entirely sure what the dynamics of the BYOND site are.

That, and I'm not even sure what my favourite colour is right now. I'll look into it now, but I can't promise any results tonight.
In response to Tiberath
Ok, thanks Tibby.
In response to Flame Sage
Flame Sage wrote:
Ok, thanks Tibby.

// ==UserScript==
// @name BYOND Hide Side and Top Bars.
// @namespace Tiberath
// @description Hide the side and top bar when you load the BYOND page.
// @include http://www.byond.com/*/
// @include http://www.byond.com/members/DreamMakers/*/
// @exclude http://www.byond.com/members/*/
// ==/UserScript==

function hide_left() {
var tds = document.getElementsByTagName('td');
for(var i = 0; i <= tds.length; i++) {
if(tds[i].width == 200) {
tds[i].style.display = 'none';
break;
}
}
}

function hide_navimg() {
var images = document.getElementsByTagName('img');
for(var u = 0; u <= images.length; u++) {
if(images[u].src == "http://www.byond.com/rsc/cornertoggle_off.gif") {
images[u].style.display = 'none';
break;
}
}
}

//Perform the actions.
document.getElementById('new_topbar').style.display = 'none';
hide_left();
hide_navimg();


It's untested on user blogs, but if I'm lucky and I understand that exclusion stuff enough, that should cut it.

There's probably a much better way to do it, but that'll suit your purposes until someone who's not so tired can come along and do a better job. Happy new year.
Flame Sage wrote:
I'm on my EeePC a lot, and it's quite hard navigating with the sidebar / topbar.
Could there be a members option to automatically hide this?
I hate wasting space like that :)

If you click the little orange arrow icon it should hide the sidebar and topbar. That's saved with a cookie so if you have cookies enabled (as you'd need in order to be logged in), it should stay where you want it.

Lummox JR
In response to Lummox JR
Nope, it always resets for me.
This greesemonkey script worked though.
In response to Flame Sage
Flame Sage wrote:
Nope, it always resets for me.
This greesemonkey script worked though.

Ah, I was wrong about how it stays. It's a session cookie so it will expire after your browser closes.

Lummox JR
In response to Lummox JR
Then why not make it a cookie? :)
In response to Flame Sage
Flame Sage wrote:
Then why not make it a cookie? :)

Because I spent the better part of an hour (I know, that's pathetic for the size of the script) writing a GreaseMonkey script for you to use =(

On the other hand: Booyah! I was right about it being session controlled. =)
In response to Tiberath
Tiberath wrote:
Because I spent the better part of an hour (I know, that's pathetic for the size of the script) writing a GreaseMonkey script for you to use =(

Hmm, in that case, couldn't he use Add N Edit Cookie Add-on for FF, which should (?) allow him to set the cookie manually ;)
In response to Schnitzelnagler
Yep, changing expiration for cookies is a really nifty function and would probably work perfectly for this.
In response to Tiberath
It doesn't seem to work here, here, and in individual forum threads.

It would be nice if there was a check box in your account settings to save your preferred layout. I don't see a reason not to add it besides saying "well, you can get around it if you try."