Skip to content

Commit dff0198

Browse files
committed
fix
1 parent e5b7673 commit dff0198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@
593593
url: /tumblr\.com/,
594594
getImage: function() {
595595
if(/\/avatar_/.test(this.src))return this.src.replace(/(media\.tumblr\.com.*_)[^_]+(\.[^\.]+)$/i,"$1512$2");
596-
else return this.src.replace(/[^\/]*(media\.tumblr\.com.*_)[^_]+(\.[^\.]+)$/i,"$1raw$2");
596+
else return this.src.replace(/[^\/]*(media\.tumblr\.com.*_)\d+(\.[^\.]+)$/i,"$1raw$2");
597597
}
598598
},
599599
{name: "Acgget",

0 commit comments

Comments
 (0)