Max Glenister

Software & Servers • 3 min read Plain text

Grooveshark view-modes userscript for Fluidapp/Chrome/GreaseMonkey

blog.omgmog.net2011

I’ve created a userscript to give the Grooveshark website some view modes. This is specifically for use with Fluid, but I imagine it would work okay with Chrome/etc too.

More information about the userscript/setup after the break!

Prerequisites

  • Fluid - http://fluidapp.com/ (Mac OS X - Windows users might be able to use Prism)
  • My “Grooveshark view modes” userscript
  • A nifty Grooveshark icon (I found this on Google, it’s 512x512 so right-click and save it)

Setting up Fluid

After you’ve downloaded and install Fluid, open the Fluid.app and you will be presented with a screen asking for the following details:

URL:http://listen.grooveshark.com

Name: Grooveshark Web

Location: can leave this as your Applications directory

Icon: find the Grooveshark.png that you saved earlier

After that’s done, and you’ve created your new Grooveshark app, go to your Applications directory and open it, you should be presented with a browser window with just Grooveshark loaded in it.

Now you need to change some of the application preferences

Under ‘Appearance’ you’ll want to set the following:

Window Style: Chromeless (None)

Window Level: Normal

Window Shadow: Off

Now to load the userscript. With the Grooveshark app loaded, in your menubar you should see a little ‘script’ icon next to the menu.

Click this and go to “Open Userscript Folder”, this will open up the userscript folder for this Grooveshark Fluid application. You can copy or save my “viewmodes.user.js” to this directory now, and then go back to the ‘script’ menu, select “Reload All Userscripts”, and then when you go to the ‘script’ menu again you should be able to select the “Grooveshark view modes” script.

You can now hit Cmd+R to reload the app, and you should now notice that the window positions itself to the top of your screen, and spans the whole width of the screen. This is now the default view mode.

You should notice four new icons at the top of the window:

  • Sidebar Toggle - toggles the left sidebar. Currently there’s an issue where you get some blank space to the right side of the playlist when using this, but this can be resolved by opening/closing the queue tray at the bottom of the window.

  • Fullmode Toggle - returns you to this default ‘fullmode’ if you’re already in either the queuemode or barmode.

  • Queuemode Toggle - collapses the window so that only the titlebar, controls/progress bar and queue tray are visible. This view is 250px tall.
  • Barmode Toggle - collapses the window even further so that only the titlebar and controls/progress bar are visible. This view is 110px tall.

Manual configuration

If you’d like to adjust the default/full window height, you’ll need to open the viewmodes.user.js in your favourite text editor, and look for the line that begins var fullheight = 400; you can change this to any numerical value.

  • Software & Servers · shares #userscripts
    prev/next to left/right arrow key bind userscript

    This is a userscript for Google Chrome (it might work with Firefox/Greasemonkey but I haven’t tested). It binds the left/right keys to click on prev/next links.

    December 2011 • 1 min read
  • Software & Servers · shares #software
    Using Greasemonkey scripts with Google Chrome

    This isn’t new news, but it’s something I’ve found quite useful. You can use userscripts created for Firefox/Greasemonkey in Google Chrome. Many of the scripts that you can find over on userscripts.org can be used effortlessly by Google Chrome, and once installed can be disabled/uninstalled from the Extensions tab.

    October 2010 • 1 min read
  • Software & Servers · shares #guide
    Replacing the macOS audio switcher with SwiftBar

    The built-in audio output menu in macOS has always felt a bit limited. The icons aren’t very helpful, the device names can’t be customised, and if you’ve got a few different outputs, it becomes tricky to quickly tell what’s what.

    October 2025 • 3 min read

Discussion

  • T

    This is fantastic! Thank you so much!- Tim.

Comments are closed

You can still reply from your own site with a Webmention.

Webmentions last fetched 9 November 2026, 15:59