Discovery Gaming Community
Is there a way to toggle off Sidebar permanently? - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Rules & Requests (https://discoverygc.com/forums/forumdisplay.php?fid=6)
+--- Forum: Site & Forum Feedback (https://discoverygc.com/forums/forumdisplay.php?fid=14)
+--- Thread: Is there a way to toggle off Sidebar permanently? (/showthread.php?tid=159517)



Is there a way to toggle off Sidebar permanently? - SnakThree - 03-27-2018

Is there a way to toggle off Sidebar permanently?


RE: Is there a way to toggle off Sidebar permanently? - SnakThree - 03-30-2018

Is there?


RE: Is there a way to toggle off Sidebar permanently? - Alex. - 03-30-2018

I guess technically you can do something like:
Code:
$( '#side, #debug' ).hide(); $( '#forum' ).css( 'width', '100%' );
in some tool like Greasemonkey


RE: Is there a way to toggle off Sidebar permanently? - SnakThree - 03-30-2018

Any easier way, like implementing a cookie telling website that I toggle it off every time I visit?


RE: Is there a way to toggle off Sidebar permanently? - Remnant - 03-30-2018

Yeah, cookies is definitely one way to go about it.
JavaScript interfaces with cookies with very few lines of code.

Adding that logic into the JavaScript which hides and shows the toolbar sounds simple enough.

Reference: The almighty W3Schools


RE: Is there a way to toggle off Sidebar permanently? - SnakThree - 07-31-2018

So far this constantly appearing sidebar after I turn on my browser is getting on my nerves. Offering my deepest gratitude for whoever fixes this flawed design.


RE: Is there a way to toggle off Sidebar permanently? - Alex. - 07-31-2018

document.cookie = "dgcsidebar=false;"