MozTW 討論區
https://forum.moztw.org/

Firefox 3.6 & 3.7 版的 Flash 問題(疑似 Bug)
https://forum.moztw.org/viewtopic.php?f=2&t=29288
1 頁 (共 1 頁)

發表人:  sjcman5002 [ 2010-01-17, 09:51 ]
文章主題 :  Firefox 3.6 & 3.7 版的 Flash 問題(疑似 Bug)

這個問題早在 3.6b3 我就發現了(應該是更早前)
想說還不是正式版就不理會它
但到了現在的 RC 版仍存在著, 所以想問問大家是否也有這問題
(Firefox 3.7也是有這問題, 但 Firefox 3.5 則沒有)

1. 先將桌面解析度調到 1024x768
2. 在 Stylish 中,加入下面 code (開心農場全景, 我自己寫的),並啟用
3. 進入 Facebook 的開心農場 (http://apps.facebook.com/farmgame_tw/index.php)
4. 將 Scrollbar 拉到最下面後(左鍵按住不放),再讓鼠標停在下圖紅色圈圈中幾秒
  圖檔
5. 再將 Scrollbar 往上拉到最上面(左鍵仍按住不放)
6. 此時的 Flash 畫面就會全白或全黑(視佈景主題)
7. 若發生問題後,即使將左鍵放開,不管怎麼去拉 Scrollbar ,
  Flash 畫面仍不會顯示了(會一直保持全白或全黑)

代碼:
@namespace url(http://www.w3.org/1999/xhtml);
/*
@-moz-document domain("facebook.com") {
#home_sidebar > div + div + div[id^="c4acf4"],
#home_sidebar > div + div + div + div,#sidebar_ads,
IFRAME[name^="fb_iframe_"][src^="http://xsell.6waves.com/"],
.UIContentBox.UIContentBox_Gray,
div[id^="app_content_"] > DIV > CENTER,
div[id^="app_content_"] > DIV > DIV > CENTER {display:none !important;}
}*/

@-moz-document url-prefix("http://apps.facebook.com/farmgame_tw/"),
url-prefix("http://apps.facebook.com/happyharvest/") {
   .UIStandardFrame_Content {
      position:relative !important;
      top: -20px !important;
      width: 100% !important;
   }
   div[id^="app_content_"] > DIV > DIV > STYLE:first-child + DIV,
   div[id^="app_content_"] > DIV > DIV > DIV:first-child {
      position:relative !important;
      left: 10px !important;
      width: 98% !important;
   }
   #content > DIV,
   .UIStandardFrame_Container {
      width: 1009px !important;
      position:relative !important;
      left: -21px !important;
   }
   div[id^="app_content_"] > DIV > DIV > DIV ~ .tabs ~ IFRAME {
      height: 864px !important;
   }
   div[id^="app_content_"] > DIV > DIV > DIV:first-child ~ IFRAME ~ IFRAME {
      height: 300px !important;
   }
   IFRAME {
      width: 100% !important;
   }
INPUT.set { min-width: 300px !important; }

div[id^="app_content_"] > DIV > DIV > STYLE:first-child + DIV + P + P + P + DIV + DIV + SCRIPT + SCRIPT + IFRAME + CENTER + BR + DIV {
      display:none !important;
   }
/* 隱藏開心農場的廣告 */
   #home_sidebar > div + div + div[id^="c4acf4"],
   #home_sidebar > div + div + div + div,
   #sidebar_ads,
   IFRAME[name^="fb_iframe_"][src^="http://xsell.6waves.com/"],
   .UIContentBox.UIContentBox_Gray,
   div[id^="app_content_"] > DIV > CENTER,
   div[id^="app_content_"] > DIV > DIV > CENTER,
   .UIStandardFrame_SidebarAds {
      display:none !important;
   }

}

/* 開心農場flash的網址 */
@-moz-document url-prefix("http://fbfarmtw.elex-tech.us/"), url-prefix("http://fbfarm.elex-tech.us/") {
   #myfarm{
      width: 100% !important;
      height: 860px !important;
   }

/* 隱藏下方的4個圖 */
   HTML > BODY > P {
      display: none !important;
   }
}

@-moz-document url-prefix("http://apps.facebook.com/farmgame_tw/index.php?mod=") {
   #content > DIV,
   .UIStandardFrame_Container {
      width: 98% !important;
      position:relative !important;
      left: -10px !important;
   }
}

發表人:  sjcman5002 [ 2010-01-17, 10:04 ]
文章主題 :  Re: Firefox 3.6 & 3.7 版的 Flash 問題(疑似 Bug)

補充一下
若是將 code 中的
left: -21px !important;
改成
left: -20px !important;

那麼上述的問題就不會發生了

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/