We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0b39cd commit f53b613Copy full SHA for f53b613
1 file changed
JiandanHero/JiandanHero.user.js
@@ -3,7 +3,7 @@
3
// @name:en Jiandan Hero
4
// @name:zh-TW 煎蛋俠
5
// @namespace hoothin
6
-// @version 1.0
+// @version 1.1
7
// @description 为煎蛋jandan.net提供左右方向键快捷翻页、鼠标悬停显示大图、屏蔽指定用户发言等功能
8
// @description:en Tools for jandan.net
9
// @description:zh-TW 為煎蛋jandan.net提供左右方向鍵快捷翻頁、鼠標懸停顯示大圖、屏蔽指定用戶發言等功能
@@ -74,7 +74,7 @@
74
for(i=0;i<imgs.length;i++){
75
let img=imgs[i],left,top;
76
img.onmouseover=function(e){
77
- bigImg.src=img.src.replace(/\/s\/custom\//,"/s/medium/").replace(/\.sinaimg\.cn\/mw600/,".sinaimg.cn/large");
+ bigImg.src=img.src.replace(/\b(custom|square)\b/,"medium").replace(/\.sinaimg\.cn\/mw600/,".sinaimg.cn/large");
78
document.body.appendChild(bigImg);
79
bigImg.onload=function(){
80
relocBigImg(left, top);
0 commit comments