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
  • How to remove the DiggBar from sites visited via digg
  • Folders4Gmail updated for latest version of Gmail
  • How to run Web Applications from your OS X desktop
  • Screenshot Simulation: Safari 2.x Preferences
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

     

    You can always opt out of this email subscription at any time.

    { 38 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
    Los videos flash consumen muuuuuucho en OSX ? - Foros de CHW
    12.04.08 at 3:56 pm
    links for 2009-02-06 | girliegeek
    02.06.09 at 11:01 pm
    Adeus, Firefox: foi bom enquanto durou | O Blogue do Janio
    02.24.09 at 6:52 pm
    Les meilleurs scripts Greasemonkey » In Mulot Veritas
    03.09.09 at 8:40 am
    Jak se zbavit kvízů na Facebooku? | display: blog;
    03.22.09 at 2:17 am
    How to remove the DiggBar from sites visited via digg - Simple Help
    04.19.09 at 12:48 am
    Greasemonkey on Safari! - Gaming Gutter
    04.21.09 at 3:49 pm
    blog.claudioschwarz.com » Facebook Quiz ausschalten.
    04.22.09 at 1:58 am
    Techeroid » Troys: One Twitter Script to Rule Them All
    04.24.09 at 2:50 pm
    Troys: One Twitter Script to Rule Them All
    04.24.09 at 3:37 pm
    We Love Crowds » Troys: One Twitter Script to Rule Them All
    04.24.09 at 3:40 pm
    Troys: One Twitter Script to Rule Them All | GroupHelp.NET - Easy everything!
    04.24.09 at 3:48 pm
    Geeks meme » Troys: One Twitter Script to Rule Them All
    04.24.09 at 3:51 pm
    Troys: One Twitter Script to Rule Them All | koala eye
    04.24.09 at 3:52 pm
    Troys: One Twitter Script to Rule Them All | UpOff.com
    04.24.09 at 7:38 pm
    Troys: One Twitter Script to Rule Them All | tech.shaundunne.com
    04.24.09 at 11:18 pm
    Troys: One Twitter Script to Rule Them All | google android os blog
    04.24.09 at 11:25 pm
    How to run Greasemonkey scripts in Safari | Rakuda Raku Tech Blog
    04.25.09 at 7:08 pm
    Troys:功能强大的Twitter Greasemonkey脚本 - 读写网唯一官方中文站 - 搜狐IT独立群体博客
    04.25.09 at 9:22 pm
    شرح إضافة للـ Firefox لمستخدمي الـ Rapidshare - ماك ارابيا : mac ماكنتوش ...
    05.13.09 at 1:38 pm

    { 27 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.

    12 Gregg 09.18.08 at 3:28 am

    I installed SIMBL, but when I go to ~/Library/ApllicationSupport, there’s no /SIMBL dossier. Why ?

    NB : I’m on a french version of Leopard, but should’nt change anything …

    13 Tom Markiewicz 10.22.08 at 1:25 pm

    @Gregg try uninstalling SIMBL then reinstalling. That worked for me, but I know I had an older version…

    14 Neeti P 11.10.08 at 1:29 am

    Hello, I am trying to install the Facebook Video script and it doesn’t seem to work. I think I properly installed Greasekit (it appears on my menu) but the option to download a video on facebook isn’t working. Can anyone tell me what I’m doing wrong? I got the script from userscript.org. Thanks.

    15 braedy 11.10.08 at 12:59 pm

    IMDB Pirated Version does not work.
    I only get the javascript file. If I put in my GreaseKit directory
    ~/Library/Application Support/GreaseKit/
    it will show up in the script editor, but it doesn’t function.

    any help/progression?

    16 Gahh! 01.03.09 at 8:10 pm
    17 Ираида 02.19.09 at 3:52 pm

    То что нужно, спасибо за статейкеу :)

    18 Seth Greenblatt 02.26.09 at 2:40 am

    Have you looked at Safari 4, at all? I tried a few scripts and none of them worked. Thanks!

    Seth

    19 Jason 02.27.09 at 10:42 am

    I’ll second Seth on the non-working scripts in Safari 4

    20 Alan 03.01.09 at 9:05 am

    Requesting Safari 4 compatibility.

    21 Steve 03.16.09 at 11:28 am

    This was all working for me for quite a long time.

    Then a few days go, GreaseKit stopped showing up in Safari and MailPlane.
    I had done an upgrade to Folders4Gmail a few days before that and everything was working great.

    I don’t know what has changed to make it not work now. I’m using Safari 3.1.2

    If anyone has a clue for me, that would be great!

    Thanks in Advance!
    Steve

    22 Patrick 05.01.09 at 3:57 pm

    I am using the new Safari and neither script works for me. I tried the folders for Gmail and a Gmail compactor. Oh well.

    23 Trejkaz 05.24.09 at 2:17 am

    SIMBL crashed Safari (4) for me, even when I didn’t even have any scripts installed.

    24 Byren 06.11.09 at 11:08 am

    safari version - 3.2.3 (5525.28.3)

    script that does not function properly - http://userscripts.org/scripts/show/46848

    25 Mac 06.14.09 at 5:51 pm

    I tried to use the script in this page
    http://userscripts.org/scripts/show/28129
    but it doesn’t work.

    By the way, I am using Safari 4.0 and Mac OS 10.4.11.

    Thank you for your attention.

    26 Adam 06.29.09 at 7:20 pm

    For all of those with some issues, it looks like GreaseKit left out a handful of Greasemonkey functions that several scripts rely on. If you install this script, most of your issues should be resolved, it atleast got everything I wanted running in Safari 4.0 release.

    27 Byren 06.30.09 at 9:05 am

    thanks Adam…worked great!

    i had also upgraded to: Version 4.0.1 (5530.18)

    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>