Permalink
Browse files

Update lib/reddit_enhancement_suite.user.js

Added image expando support for quickmeme's mobile domain and an "add captions" feature for quickmeme links
  • Loading branch information...
1 parent 737b6fa commit d9f7eff6c28057fe8214a9300da56f00152ae49f @hypah committed Nov 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/reddit_enhancement_suite.user.js
@@ -9947,7 +9947,7 @@ modules['showImages'] = {
}
},
quickmeme: {
- hashRe: /^http:\/\/(?:(?:www.)?quickmeme.com\/meme|qkme.me|i.qkme.me)\/([\w]+)\/?/i,
+ hashRe: /^http:\/\/(?:(?:www.|m.)?quickmeme.com\/meme|qkme.me|i.qkme.me)\/([\w]+)\/?/i,
go: function() {},
detect: function(elem) {
var href = elem.href.toLowerCase();
@@ -9956,7 +9956,7 @@ modules['showImages'] = {
handleLink: function(elem) {
var groups = this.hashRe.exec(elem.href);
if (groups) {
- this.handleInfo(elem, 'http://i.qkme.me/'+groups[1]+'.jpg');
+ this.handleInfo(elem, 'http://resme.me/'+groups[1]+'.jpg');
}
},
handleInfo: function(elem, info) {

0 comments on commit d9f7eff

Please sign in to comment.