We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 943ef1f commit 23f2f22Copy full SHA for 23f2f22
1 file changed
Picviewer CE+/Picviewer CE+.user.js
@@ -587,6 +587,13 @@
587
getImage: function() {
588
return this.src.replace(/\/m([^\/]+)$/i,"/$1");
589
}
590
+ },
591
+ {name: "Tumblr",
592
+ url: /tumblr\.com/,
593
+ getImage: function() {
594
+ if(/\/avatar_/.test(this.src))return this.src.replace(/(media\.tumblr\.com.*_)[^_]+(\.[^\.]+)$/i,"$1512$2");
595
+ else return this.src.replace(/[^\/]*(media\.tumblr\.com.*_)[^_]+(\.[^\.]+)$/i,"$1raw$2");
596
+ }
597
598
];
599
0 commit comments