Add MD5 hashes to sauce linking.
This commit is contained in:
parent
bd542eb4b5
commit
60d071cb39
@ -1992,6 +1992,7 @@
|
||||
<ul>These variables will be replaced by the corresponding url:\
|
||||
<li>$1: Thumbnail.</li>\
|
||||
<li>$2: Full image.</li>\
|
||||
<li>$3: MD5 hash.</li>\
|
||||
</ul>\
|
||||
<textarea name=sauces id=sauces></textarea>\
|
||||
</div>\
|
||||
@ -2604,6 +2605,8 @@
|
||||
return img.src;
|
||||
case '$2':
|
||||
return img.parentNode.href;
|
||||
case '$3':
|
||||
return img.getAttribute('md5').replace(/\=+$/, '');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
master
|
||||
- Mayhem
|
||||
Increase Sauce linking possibilites:
|
||||
Thumbnails, full images.
|
||||
Thumbnails, full images, MD5 hashes.
|
||||
|
||||
2.25.5
|
||||
- Mayhem
|
||||
|
||||
@ -1533,6 +1533,7 @@ options =
|
||||
<ul>These variables will be replaced by the corresponding url:
|
||||
<li>$1: Thumbnail.</li>
|
||||
<li>$2: Full image.</li>
|
||||
<li>$3: MD5 hash.</li>
|
||||
</ul>
|
||||
<textarea name=sauces id=sauces></textarea>
|
||||
</div>
|
||||
@ -2054,6 +2055,8 @@ sauce =
|
||||
img.src
|
||||
when '$2'
|
||||
img.parentNode.href
|
||||
when '$3'
|
||||
img.getAttribute('md5').replace /\=+$/, ''
|
||||
|
||||
revealSpoilers =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user