We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95f3d61 commit c60270fCopy full SHA for c60270f
1 file changed
BingBgForBaidu/BingBgForBaidu.user.js
@@ -2,7 +2,7 @@
2
// @name 百Bing图
3
// @name:en BingBgForBaidu
4
// @namespace hoothin
5
-// @version 2.3.3
+// @version 2.3.4
6
// @description 给百度首页换上Bing的背景图,并添加背景图链接与日历组件
7
// @description:en Just change the background image of baidu.com to bing.com
8
// @author hoothin
@@ -96,7 +96,7 @@
96
$(iframe).hide(500);
97
};
98
if(today[0].classList.contains("op-calendar-new-table-festival")){
99
- riliLink.innerHTML+=" <font color='#FFFF66' style='background-color:#e02d2d;font-weight:bold'>("+today[0].title+")</font>";
+ riliLink.innerHTML+=today[0].title?" <font color='#FFFF66' style='background-color:#e02d2d;font-weight:bold'>("+today[0].title+")</font>":"";
100
riliLink.title=today[0].title;
101
}
102
0 commit comments