Skip to content

Commit fc2e72f

Browse files
committed
fix
1 parent 30b102f commit fc2e72f

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
@@ -1183,7 +1183,7 @@
11831183
{name: "Wallhaven",
11841184
url: /wallhaven\./,
11851185
getImage: function() {
1186-
return this.src.replace(/wallpapers\/thumb\/small\/th/i,"wallpapers/full/wallhaven");
1186+
return this.src.replace(/wallpapers\/thumb\/small\/th/i,"wallpapers/full/wallhaven").replace(/th\.wallhaven\.cc\/small\/(.*)?\//i,"w.wallhaven.cc/full/$1/wallhaven-");
11871187
}
11881188
},
11891189
{name: "lofter",

0 commit comments

Comments
 (0)