File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// @name 百Bing图
33// @name :en BingBgForBaidu
44// @namespace hoothin
5- // @version 2.2.3
5+ // @version 2.2.5
66// @description 给百度首页换上Bing的背景图,并添加背景图链接与日历组件
77// @description :en Just change the background image of baidu.com to bing.com
88// @author hoothin
7272 riliLink . innerHTML = "<span class='title' style='text-decoration:overline;cursor:crosshair'>" + $ ( ".op-calendar-new-right-date" , iframe . contentDocument ) . html ( ) + "</span>" ;
7373 riliLink . onmouseover = function ( ) {
7474 t = setTimeout ( function ( ) {
75- if ( top === 0 ) iframeDoc . scrollTop ( 138 ) ;
76- if ( left === 0 ) iframeDoc . scrollLeft ( 121 ) ;
7775 if ( unsafeWindow . chrome ) {
7876 $ ( iframe ) . show ( 200 ) ;
7977 } else {
8078 iframe . style . display = "block" ;
8179 }
80+ if ( top === 0 ) iframeDoc . scrollTop ( 138 ) ;
81+ if ( left === 0 ) iframeDoc . scrollLeft ( 121 ) ;
8282 } , 500 ) ;
8383 } ;
8484 riliLink . onmouseout = function ( ) {
You can’t perform that action at this time.
0 commit comments