Greased Lightbox v0.15
August 26, 2007If you want to be notified the next time I write something, sign up for email alerts or subscribe to the RSS feed. Thanks for reading.
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
Arphen Lin said
August 27th, 2007 at 1:45 am
Here is the translation of Traditional Chinese.
(post author) Joe Lencioni said
August 27th, 2007 at 7:20 am
Thanks! I’ll include that in the next version.
millenomi said
August 27th, 2007 at 10:40 am
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.
Nightwolf said
September 2nd, 2007 at 8:32 am
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.
spartas said
September 2nd, 2007 at 12:25 pm
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.
Nightwolf said
September 2nd, 2007 at 5:24 pm
I found out that it has something to do with NoScript. I have to allow the site to close Greased Lightbox.
(post author) Joe Lencioni said
September 3rd, 2007 at 8:16 pm
@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.
IRBaboon said
September 8th, 2007 at 7:56 am
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!
(post author) Joe Lencioni said
September 8th, 2007 at 9:20 am
@IRBaboon: Thanks for the suggestion. I’m currently not familiar with the image toolbar extension, but I will certainly look into it.
Marty said
September 15th, 2007 at 10:22 pm
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?
(post author) Joe Lencioni said
September 16th, 2007 at 9:50 pm
@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!
Marty said
September 20th, 2007 at 3:12 pm
Thanks - that helps a ton. I love this script, but there are times when I really need to NOT have it work normally.
Magnus said
November 3rd, 2007 at 11:20 am
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
ankit said
November 27th, 2007 at 7:16 am
how to use it for seeing photos on facebook? pls i m a newbie
Joseph Cote said
December 3rd, 2007 at 1:13 pm
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 :(
Jamie Phelps said
December 27th, 2007 at 11:28 pm
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.
CereS said
January 2nd, 2008 at 4:01 pm
// 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
(post author) Joe Lencioni said
January 2nd, 2008 at 4:05 pm
Awesome! Thanks for posting the code.
otapia said
January 8th, 2008 at 9:39 am
For some strange reason, Lightbox doesn’t work on deviantArt’s gallery pages.
Vurlix said
January 16th, 2008 at 4:48 pm
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 Comment