var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push({
    name:'e621',
    version:'0.1',
    prepareImgLinks:function (callback) {
        var res = [];
        $('img[src*="data/preview"]').each(function () {
            var img = $(this),
                src = img.attr('src');
            src = src.replace('/preview', '').replace(/jpg$/, '');
            img.data().hoverZoomSrc = [src + 'jpg', src + 'png', src + 'gif'];
            res.push(img);
        });
        callback($(res));
    }
});
@@ -96,17 +96,17 @@
 sion:'0.
-1
+2
 ',%0A    p
@@ -179,31 +179,29 @@
  $('
-img%5Bsrc*=%22data/preview%22
+article%5Bdata-file-url
 %5D').
@@ -235,19 +235,23 @@
     var 
-img
+article
  = $(thi
@@ -252,17 +252,17 @@
  $(this)
-,
+;
 %0A       
@@ -274,94 +274,31 @@
     
-src = img.attr('src');%0A            src = src.replace('/preview', '').replace(/jpg$/, '
+img = article.find('img
 ');%0A
@@ -340,45 +340,37 @@
  = %5B
-src + 'jpg', src + 'png', src + 'gif'
+article.attr('data-file-url')
 %5D;%0A 

Fix e621/e926 unreliable image hovering (#630)