MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2025-10-10, 03:32

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 2 篇文章 ] 
發表人 內容
文章發表於 : 2010-01-17, 09:51 
離線

註冊時間: 2009-03-24, 15:38
文章: 45
這個問題早在 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:05 編輯,總共編輯了 1 次。

回頂端
Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-TW; rv:1.9.2pre) Gecko/20100116 Namoroka/3.6pre (.NET CLR 3.5.30729)
 個人資料  
引用回覆  
文章發表於 : 2010-01-17, 10:04 
離線

註冊時間: 2009-03-24, 15:38
文章: 45
補充一下
若是將 code 中的
left: -21px !important;
改成
left: -20px !important;

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

_________________
圖檔


回頂端
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20100116 Minefield/3.7a1pre (.NET CLR 3.5.30729)
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 2 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 96 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群