Psst! Amazon Search Suggestions just showed up.


Go get Greased Lightbox v0.15.

Make sure to uninstall any old versions.

Change Log

  • Added version number to script name to prevent new versions from installing over old script and discarding preferences.
  • Updated Image Socket regular expression
  • Updated deviantART regular expression
  • Updated subVariance regular expression
  • Updated MySpace regular expression (thanks Drew Burden!)
  • Updated Facebook regular expression (thanks Nick Wisniewski!)
  • Removed Textamerica support
  • Added ImageFap support
  • Fixed doubling lightboxes (thanks eXtreme!)
  • Disabled pre-fetching for Opera as a temporary fix (thanks Britt Torrance!)
  • Added timed slideshow (thanks fearphage!)
  • Added Slovak translation (thanks Ezimír Totislav!)
  • Now excludes links that contain question mark characters (thanks Jason Sundram)
  • Additional minor bugfixes (thanks Stoen!)

Spread the word

Please Digg this story. If you have a blog or a website and enjoy using Greased Lightbox, please help spread the word about this great little script by linking to it, perhaps with a little review.

Stay up to date

To stay up to date on the latest developments, make sure to subscribe.


20 Comments

  1. Here is the translation of Traditional Chinese.

    // Chinese (traditional)
    tw : [
      {
        loading    : '\\u8F09\\u5165\\u5716\\u7247\\u4E2D',
        loadingSub : '\\u6309\\u4EFB\\u610F\\u9375\\u53D6\\u6D88',
        context    : '\\u6253\\u958B\\u5716\\u7247\\u539F\\u59CB\\u7DB2\\u5740',
        error      : '\\u7121\\u6CD5\\u8F09\\u5165\\u5716\\u7247',
        next       : '\\u4E0B\\u4E00\\u5F35\\u5716 (\\u53F3\\u9375)',
        previous   : '\\u4E0A\\u4E00\\u5F35\\u5716 (\\u5DE6\\u9375)',
        magnify    : '\\u653E\\u5927\\u5716\\u7247 (+\\u9375)',
        shrink     : '\\u7E2E\\u5C0F\\u5716\\u7247 (-\\u9375)',
        update     : '\\u6709\\u66F4\\u65B0\\u7248\\u672C',
        slideshow  : '\\u958B\\u59CB/\\u505C\\u6B62\\u5FAA\\u5E8F\\u64AD\\u653E'
      }
    ], // end Chinese (traditional)

    Leave a reply

  2. Thanks! I’ll include that in the next version.

    Leave a reply

  3. Psssst: Chinese (Traditional) is technically “zh-Hant”, but most browsers (ie Safari) report it as “zh-tw” (“Chinese as spoken in Taiwan”). If you are doing matching in the string, you’ll find it with just tw or ‘-tw’. Slightly off-standard anyway.

    Leave a reply

  4.  
  5. Hi, I love your GM script but somehow it does not work properly with Flickr. When I click on a picture Greased Lightbox opens correctly but I cannot close it anymore by clicking somewhere.

    Leave a reply

  6. Firstly, thanks for creating Greased Lightbox. Lots of us users out here are appreciative of your script. Now a feature request: it appears as though Wikipedia disallows hotlinking of their images without a proper wikipedia referrer. This prevents greased lightbox from displaying wiki images unless they are linked from a wiki page. Could greased lightbox check the url before loading wiki images, so GL only appears when wiki images are linked from wiki pages.

    As an example, here’s a wiki image. Also try clicking on the image at the top of the wiki page.

    Leave a reply

  7. I found out that it has something to do with NoScript. I have to allow the site to close Greased Lightbox.

    Leave a reply

  8. @Nightwolf: Great detective work. It’s good to know that the NoScript Firefox extension doesn’t get along very well with Greased Lightbox.

    @Spartas: Thanks for pointing that out. I will look into fixing this.

    Leave a reply

  9. Any possibility this could be made compatible with the image toolbar extension?
    This is a great script but I’ve gone back to using Lightboxer, eventhough I don’t think its as good, as image toolbar is key for me. I’m sure there are others out there who would like to use image toolbar with this script!

    Leave a reply

  10. @IRBaboon: Thanks for the suggestion. I’m currently not familiar with the image toolbar extension, but I will certainly look into it.

    Leave a reply

  11. I love this script, but I have a question. I seem to remember seeing something about how you could use a key-combo to avoid opening an image via Greased Lightbox (for example, you know you need to get right to the image), but I can’t find any reference to it now. Am I imagining things, or was there a key combo that bypassed the Greased Lightbox at times?

    Leave a reply

  12. @Marty: On a PC, you can hold down Ctrl+Shift and click to bypass Greased Lightbox. I think you can also do that on a Mac, but I don’t know what the key combination would be off the top of my head (it should be something+shift, so just play around if you are on a Mac). I hope that helps!

    Leave a reply

  13. Thanks – that helps a ton. I love this script, but there are times when I really need to NOT have it work normally.

    Leave a reply

  14. First of all, thank you for this great Greasemonkey script. It’s realy awsome!
    I’ve made a Swedish translation for the next version of Greased Lightbox:

    // swedish
    sv : [
    {
    loading : 'Laddar bild',
    loadingSub : 'Klicka för att avbryta',
    context : 'Visa originalbild',
    error : 'Bild inte tillgänglig',
    next : 'Nästa bild (höger piltangent)',
    previous : 'Föregående bild (vänster piltangent)',
    magnify : 'Förstora bild (+-tangent)',
    shrink : 'Förminska bild (--tangent)',
    update : 'Ny uppdatering tillgänglig',
    slideshow : 'Starta/stoppa bildspel'
    }
    ], // end swedish

    Leave a reply

  15. how to use it for seeing photos on facebook? pls i m a newbie

    Leave a reply

  16. I too am having issues using this with Facebook, it works great in Firefox with Facebook, but I just switched to Opera and I’m trying to get it work with the FB and nothing seems to work, it works fine pretty much everywhere else, but no FB :(

    Leave a reply

  17. Greased Lightbox’s download page reports that it works with GreaseKit. I haven’t been able to get it to work with Safari at all. If you have any pointers I’d appreciate it.

    Leave a reply


  18. // wikipedia (needs to come before 'show')
    {
    name : 'wikipedia',
    includeRegExp : /^http(s)?:\/\/(.*?\.)?wikipedia.org/i,
    linkRegExp : /(.*?)\/(Ima(t?)ge(m|n?)|Immagine|Bild(e?)|Grafika|Afbeelding|Figura|Kuva|Magod|Billede):(.*)\.(jp(e?)g|gif|png|svg)$/i,
    findImageRegExp : /(.*?)\/thumb\/(.*?)\.(jp(e?)g|gif|png)$/i,
    replaceString : '$1/$2.$3',
    showFunction : function(event) { greasedLightbox.showFrom(event, 'wikipedia'); return false; }
    }, // end wikipedia

    This works with non english wikipedia pages since in some localized wikis the word Image is translated.
    eg:
    EN – http://en.wikipedia.org/wiki/Image:xxxxxxxx.xxx
    IT – http://it.wikipedia.org/wiki/Immagine:xxxxxxxx.xxx
    DE – http://de.wikipedia.org/wiki/Bild:xxxxxxxx.xxx

    Leave a reply

  19. Awesome! Thanks for posting the code.

    Leave a reply

  20. For some strange reason, Lightbox doesn’t work on deviantArt’s gallery pages.

    Leave a reply

  21. I was able to fix the compatibility problem with NoScript (as mentioned by Nightwolf) by removing the timer that hides the lightbox.

    old code:

    halt : function() {
    greasedLightbox.slideShow('stop');
    setTimeout(greasedLightbox.hide, 700);
    },

    new code becomes:

    halt : function() {
    greasedLightbox.slideShow('stop');
    greasedLightbox.hide();
    },

    Leave a reply

Leave a Comment

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