How to run Greasemonkey scripts in Safari

by Ross McKillop on November 14, 2007

Firefox Mac

If you’re a die-hard Safari user, you may want to check out one of Firefox’s best features - Greasemonkey. Using the free software SIMBL and GreaseKit, you can run most of the scripts created for Greasemonkey - in Safari. And Mailplane. And all WebKit apps. So now you can use the genius that is Folders4Gmail while using Safari.

  1. First up - download SIMBL and install it (installation consists of clicking ‘next’ a bunch of times).
  2. Exit Safari if you’re using it.
  3. Next, download GreaseKit. To install it, drag the GreaseKit.bundle file to ~/Library/Application Support/SIMBL/Plugins

    note: if you don’t have a SIMBL/Plugins/ folder, just create it, then drop GreaseKit.bundle into it.

  4. GreaseKit
    click to enlarge

  5. Now re-open Safari. You should see a GreaseKit entry in the Safari menu bar.
  6. GreaseKit

  7. Head on over to http://userscripts.org and find a Greasemonkey script to try out. Again, I’ll recommend Folders4Gmail. When you find one you want to install, click the Install this script button.
  8. GreaseKit

  9. You’ll see a bunch of javascript fill up your browser window, and a Safari dialog box will appear asking you to confirm the installation. Click Install.
  10. GreaseKit
    click to enlarge

  11. Your GreaseKit menu will now include the installed script.
  12. GreaseKit

  13. Check to make sure the script works in Safari by actually using it. In this case, I installed Folders4Gmail, and it works exactly as it should. Note: I installed 5 random Greasemonkey scripts using GreaseKit and all of them worked perfectly - if you find one that doesn’t, please feel free to leave a comment here.
  14. GreaseKit

Related Posts:
  • How to revert to the “old” Google favicon
  • Folders4Gmail updated for latest version of Gmail
  • How to run Web Applications from your OS X desktop
  • Screenshot Simulation: Safari 2.x Preferences
  • Folder Actions for OS X explained - with real-world examples
  • { 18 trackbacks }

    Run Greasemonkey Scripts in Safari with SIMBL and GreaseKit
    11.14.07 at 6:27 am
    Techzi » Blog Archive » Install Greasemonkey Scripts in Safari with GreaseKit [How To]
    11.14.07 at 3:05 pm
    ¿Como arrancar GreaseMonkey en Safari? | aNieto2K
    11.14.07 at 11:11 pm
    Apple Blog » Blog Archive » Install Greasemonkey Scripts in Safari with GreaseKit
    11.15.07 at 4:23 am
    Justin Blanton | Run Greasemonkey scripts in Safari
    11.15.07 at 10:56 pm
    » Install Greasemonkey Scripts in Safari with GreaseKit [How To]
    11.16.07 at 8:35 am
    Marcin Kaszyński » Blog Archive » Czy jest na sali ktoś z Safari?
    11.16.07 at 2:06 pm
    links for 2007-11-29 | KevinDonahue.com
    11.29.07 at 12:19 am
    Use Google Web History Without Installing Google Toolbar » Hancorp Technologies
    01.09.08 at 4:27 pm
    Google Web History access without installing Google Toolbar » D' Technology Weblog: Technology, Blogging, Tips, Tricks, Computer, Hardware, Software, Tutorials, Internet, Web, Gadgets, Fashion, LifeStyle, Entertainment, News and more by Deepak Gupta
    01.10.08 at 3:25 pm
    run greasemonkey scripts in all browsers « Daily Links Posting
    01.16.08 at 6:12 am
    Repost - run greasemonkey scripts in all browsers « Amanda Kerik’s WordPress Blog
    01.16.08 at 1:19 pm
    How to run Web Applications from your OS X desktop - Simplehelp
    05.22.08 at 10:04 pm
    How to revert to the “old” Google favicon - Simplehelp
    05.30.08 at 9:14 pm
    Run Greasemonkey User Scripts in IE, Opera and Safari
    08.06.08 at 9:30 pm
    R2G Blog » اجرای افزونه های گریس مانکی در اینترنت اکسپلورر، اوپرا و سافاری
    08.07.08 at 6:22 am
    اجرای افزونه های گریس مانکی در اینترنت اکسپلورر، اوپرا و سافاری - Persian Mobiles
    08.07.08 at 8:44 am
    Add TehUpload to SlicedThread! - SlicedThread
    08.13.08 at 5:35 am

    { 11 comments… read them below or add one }

    1 Blaze 11.16.07 at 11:10 am

    I tried installing Colorful List View for Google Reader and Google Reader title unread count, and neither worked..

    2 Aseem Kishore 11.26.07 at 3:10 pm

    I’ve also written a list of really useful Greasemonkey scripts that you can check out here:

    http://www.online-tech-tips.com/computer-tips/25-useful-greasemonkey-scripts-you-should-take-a-look-at/

    Enjoy!

    3 Clif Rogers 11.29.07 at 8:54 pm

    I tried to insatll Facebook Auto-Colorizer and It didnt work.

    4 Nino 12.06.07 at 4:42 am

    To Install GreaseKit, I had drag to ~/Library/InputManagers/SIMBL.

    5 JH 01.11.08 at 6:21 am

    I can’t seem to get this to work on Safari 3.0.4 while using Tiger.
    Could you please offer any insight? Thanks!

    6 downloads 04.03.08 at 1:01 pm

    clicking the “install this script” button put the script into my downloads folder, so I dragged the .js file back into safari and it asked to install.

    7 Ross McKillop 04.03.08 at 1:13 pm

    @downloads:

    Thanks for the tip! It might have something to do w/ the new version of Safari (I didn’t have to do that when I installed, but that was a few versions ago). Thanks again!

    8 PeterVk 05.11.08 at 9:21 pm

    Does anyone know a decent resource for learning to write GreaseKit scripts? Or a how-to to port Greasemonkey scripts for GreaseKit?

    9 Jo 07.09.08 at 2:02 am

    Hi. I don’t know if I’m doing something wrong, but the following script doesn’t seem to work:
    http://userscripts.org/scripts/source/29469.user.js
    It’s meant to fix the width of an igoogle gadget
    http://spanishgringo.blogspot.com/2008/07/my-dropbox-gadget.html
    I have installed Greasekit OK, in that I have the menu item in safari, and the script seems to be installed ok too (it has a tick next to it). But the gadget is still the same width

    10 Aseem Kishore 07.18.08 at 11:29 am

    Hey man…nice explanation. I had written a post a while back on some of my favorite Greasemonkey scripts:

    http://www.online-tech-tips.com/computer-tips/25-useful-greasemonkey-scripts-you-should-take-a-look-at/

    11 Sandy 08.25.08 at 9:46 am

    I dropped the GreaseKit.bundle under Macintosh HD’s library:application support: SIMBL:Plugins and nothing happened to Safari’s menu. I also clicked on the GreaseKit.bundle and a window pops up, saying: There’s no default application specified to open the document”GreaseKit.bundle”. I am stuck.

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>