Static Reddit Header

By ictinus Last update Oct 9, 2012 — Installed 2,535 times.

Script Summary: Make the Reddit header & side bar static, allowing it to be visible at all times. Also moves 'My Reddits' to a header tab and prevents tabs from being obscured by the username/preferences/logout area when the window size is small. Adds 'rising' tab next to the 'new' tab. Adds user tab menu containing user page tab links: activity, comments, disliked, friends, hidden, liked, saved, submitted, overview Adds a dropdown list of 'top' options to the top tab. Attempts to force sticky messages to appear below the static header.



Version: 1.30



NOTE: Configuration of the options are made through the reddit interface. Look for the link '§§' next to the Reddit 'preferences' link.

=-=-=-=

  • 09 October 2012
    • (1.30) Static Side Bar is now an option independent of Static Header as requested by keylogthis.
  • 05 October 2012
    • (1.29) Added per reddit configuration. Fixed header sizing. Removed down arrow image on tabs.
  • 01 March 2012
    • (1.28) Use .srhContent rather than .content for styling to prevent issues with use of .content in the side bar (eg. /r/geek)
  • 28 February 2012
    • (1.27) Side bar is now static along with the header as requested by jzupp.
  • 09 February 2012
    • (1.26) changed layout for static header, fixes compatability with some other scripts and CSS sticky banners.
  • 29 November 2011
    • (1.25) added ability to configure script options, look for §§ link in the top right.
  • 07 November 2011
    • (1.24) removed options for linking the sub-reddit title and fixing the search field as they are no longer needed.
  • 05 November 2011
    • (1.23) added ability to move Sticky messages to above the content area.
  • 14 October 2011
    • (1.22) added Acount Activity to the user tab. Fixed 'friends' spelling in the user tab.
  • 12 October 2011
    • (1.21) grr, now the header should be fixed. Changed script site security to allow https and remove scary 'allow access to all domains' message. Fixed moveSubReddits menu click event.
  • 08 August 2011
    • (1.20) added additional header resize calls to update the header height sooner when possible.
  • 28 January 2011
    • (1.18) added friends to the user tab. made tab styling consistent with existing tabs.
    • (1.19) improved header tab compatibility with custom CSS.
  • 06 November 2010
    • (1.17) fix funtionality on Search page.
  • 01 October 2010
    • (1.14) added tab menu for 'top' pages.
    • (1.15) Added 'all time' as an option to the 'top' tab, and fixed the urls.
    • (1.16) Clear Search field text on focus, revert to 'search reddit' on blur if empty.
  • 11 July 2010,
    • (1.11) added a link to the subreddit title in the right side pane. ok not header related, but so what.
    • (1.12) bug fix for non-existing subreddit title on main page, doh!
    • (1.13) bug fix for non-existing subreddit title on user page.
  • 10 July 2010
    • (1.07) Get the first 'content' class sibling of 'Side' class div, not the first 'content' class element.
    • (1.08) added 'rising' tab to header.
    • (1.09) added user tab menu containing user page tab links: overview, comments, submitted, liked, disliked, hidden
    • (1.10) fixed what was I thinking code loops. Moved user tab to end of tabs for consistent 'my reddits' positioning.
  • 07 July 2010
    • (1.06) Fixed Firefox border radius bug. Prevent script running twice with exclude.
  • 04 July 2010
    • (1.01) removed outerHTML reference fixing 'undefined' error in Firefox.
    • (1.02) Fixed FF content capture.
    • (1.03) Fixed for pages that do not display 'side' panel (eg. Inbox)
    • (1.04) Added moveSubRedditDrop function. Inspired by userscript sub2menu.
    • (1.05) Fixed a few things for both Chrome and Firefox.
  • Released: 03 July 2010, make the Reddit header static.
=-=-=-=-=-=