Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for gizmodo.jp, gizmodo.de, gizmodo.com.au, gizmodo.pl,…
… copains d'avant. CSS is now loaded through script. Fixed positioning when body's padding != 0. Don't remove titles from iframs anymore (Amazon fix). Don't zoom in small windows/frames (Reddit fix).
- Loading branch information
romain.vallet
committed
Dec 9, 2010
1 parent
91e6d7e
commit fa5eec0
Showing
8 changed files
with
129 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) 2010 Romain Vallet | ||
// Licensed under the MIT license, read license.txt | ||
|
||
var hoverZoomPlugins = hoverZoomPlugins || []; | ||
hoverZoomPlugins.push( { | ||
name: 'Copains d avant', | ||
version: '0.1', | ||
prepareImgLinks: function(callback) { | ||
var res = []; | ||
hoverZoom.urlReplace(res, | ||
'img[src*=image-uniservice]', | ||
/\/image\/\d+\//, | ||
'/image/450/' | ||
); | ||
hoverZoom.urlReplace(res, | ||
'img[src*=image-parcours]', | ||
/\/image\/\d+\//, | ||
'/image/750/' | ||
); | ||
callback($(res)); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters