ettoolong / bbsfox-e10s Goto Github PK
View Code? Open in Web Editor NEWFirefox Add-on BBSFox for E10S support
License: GNU General Public License v2.0
Firefox Add-on BBSFox for E10S support
License: GNU General Public License v2.0
現在透過 style.cursor 無法把png檔指定成游標了,
影響功能: 滑鼠瀏覽
開啟E10S才會有這個問題, 關掉就正常, 表示這應該是 Firefox 本體的 bug,
可以等官方修正.
要彈出一個套用到哪組站台設定的確認框
這個行為還需要再討論, 因為目前並沒有一個操作是直接從BBS頁面去動到設定的,
因為可能會影響到多個站台, 例如: 多個站台使用預設站台設定時的情況.
右鍵+滾輪有時候會無法阻擋選單地跳出,重新整理後又正常了
不知道是更新Nightly還是BBSFOx後,此困擾數天的問題消失了..
關掉E10S後是正常的, 推測是FX本體bug. 可以等官方修.
在Mac上一直有字型的問題
而且最近幾次Firefox改版又讓字體高度和垂直對齊變得很怪
是否可以像這一樣:https://forum.moztw.org/viewtopic.php?t=32493
使用瀏覽器本身的字型設定
半形字用 font.name.monospace.*
全形字在 font.name.monospace.* 設定的字型未包含中文字符時 fallback到其他預設字型
或者讓英文字型和中文字型可分開設定
因為中文沒有等不等寬的問題
拆開來可以讓字型的選擇更靈活
剛裝了個腳本結果發現在bbsfox下沒有作用
搜了下以前曾有人問過這問題但沒解答
https://www.ptt.cc/bbs/Browsers/M.1480376782.A.3AD.html
使用環境: Firefox 48.0.2 + BBSFox 5.0.13
受 E10S 的影響, 要重寫.
Ett大大
火狐更新至「43.0.1」後,此元件就被視為「無法驗證BBSFox於Firefox使用,已被停用。」,此元件就被強制停用了。
火狐提出的相關連結為:https://support.mozilla.org/zh-TW/kb/add-on-signing-in-firefox?as=u&utm_source=inproduct
火狐上就你這套最好用!!
SSH 模組目前從FireSSH來的, 有很多用不到的功能, 有一些會在AMO套件驗證的地方造成警告.
現在 youtube 預設的播放是使用 Html5 了,
而優先指定高畫質播放在 flash 上有用 Html5 上沒用.
0x00007ffff2cdc9fe in nsSocketTransport::InitiateSocket (this=this@entry=0x7fffd4c9ac00) at /home/wcpan/local/src/firefox/netwerk/base/nsSocketTransport2.cpp:1258
1258 MOZ_CRASH("Attempting to connect to non-local address!");
#0 0x00007ffff2cdc9fe in nsSocketTransport::InitiateSocket() (this=this@entry=0x7fffd4c9ac00) at /home/wcpan/local/src/firefox/netwerk/base/nsSocketTransport2.cpp:1258
#1 0x00007ffff2cdd6e3 in nsSocketTransport::OnSocketEvent(unsigned int, nsresult, nsISupports*) (this=0x7fffd4c9ac00, type=<optimized out>, status=nsresult::NS_OK, param=0x7fffc320fa40)
at /home/wcpan/local/src/firefox/netwerk/base/nsSocketTransport2.cpp:1861
#2 0x00007ffff2ce11d1 in nsSocketEvent::Run() (this=<optimized out>) at /home/wcpan/local/src/firefox/netwerk/base/nsSocketTransport2.cpp:85
#3 0x00007ffff2c1731f in nsThread::ProcessNextEvent(bool, bool*) (this=0x7fffe7405600, aMayWait=<optimized out>, aResult=0x7fffe2afe7ef)
at /home/wcpan/local/src/firefox/xpcom/threads/nsThread.cpp:989
#4 0x00007ffff2c40d04 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0x7fffe7405600, aMayWait=<optimized out>) at /home/wcpan/local/src/firefox/xpcom/glue/nsThreadUtils.cpp:290
#5 0x00007ffff2cdbab0 in nsSocketTransportService::Run() (this=0x7fffe69e4290) at /home/wcpan/local/src/firefox/netwerk/base/nsSocketTransportService2.cpp:943
#6 0x00007ffff2c1731f in nsThread::ProcessNextEvent(bool, bool*) (this=0x7fffe7405600, aMayWait=<optimized out>, aResult=0x7fffe2afe99f)
at /home/wcpan/local/src/firefox/xpcom/threads/nsThread.cpp:989
#7 0x00007ffff2c40d04 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0x7fffe7405600, aMayWait=<optimized out>) at /home/wcpan/local/src/firefox/xpcom/glue/nsThreadUtils.cpp:290
#8 0x00007ffff302efcf in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (this=0x7fffe5c7da40, aDelegate=0x7fffe74ad690)
at /home/wcpan/local/src/firefox/ipc/glue/MessagePump.cpp:340
#9 0x00007ffff2fedcbb in MessageLoop::RunInternal() (this=0x7fffe74ad690) at /home/wcpan/local/src/firefox/ipc/chromium/src/base/message_loop.cc:233
#10 0x00007ffff2fede0d in MessageLoop::Run() (this=<optimized out>) at /home/wcpan/local/src/firefox/ipc/chromium/src/base/message_loop.cc:226
#11 0x00007ffff2fede0d in MessageLoop::Run() (this=this@entry=0x7fffe74ad690) at /home/wcpan/local/src/firefox/ipc/chromium/src/base/message_loop.cc:206
#12 0x00007ffff2c15c4d in nsThread::ThreadFunc(void*) (aArg=0x7fffe7405600) at /home/wcpan/local/src/firefox/xpcom/threads/nsThread.cpp:391
#13 0x00007ffff7fbd7be in _pt_root (arg=0x7fffe7479340) at /home/wcpan/local/src/firefox/nsprpub/pr/src/pthreads/ptthread.c:216
#14 0x00007ffff7bc5454 in start_thread (arg=0x7fffe2aff700) at pthread_create.c:334
#15 0x00007ffff11b1eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
輸入帳號跟密碼不會自動登入,關閉e10s沒問題。
Iceweasel 44.0.2 (GNU/Linux x64)
BBSFox 4.0.18.1
問題出在 https://player.twitch.tv/js/player.js
其中一行
e.postMessage(r, '*');
那個 e 是以
window.opener || window.parent
拿到的
猜測是為了和第三方服務整合
從一般網頁點過去並不會有問題
但是若是從 BBSFox 點過去則會因為它是 chrome window 而丟出 permission denied
導致 Twitch 回收舊的 flash player 失敗 (大概為了 robustness, Twitch 採用的是延遲太久就砍掉 flash player 再開新 player 的方案)
頁面上 flash player 太多就卡死了
有開啟"偵測鍵結"功能,點擊後開啟在前景分頁,可以設定成開啟在背景分頁嗎?
ettoolong 大你好,我在一個檢視 ANSI 檔的 Addon 中使用了您的 uao.js 和 b2u.tab(https://github.com/eight04/ansi-viewer/tree/master/main/uao )。我想確認一下 License 的問題︰
firefox 46.0.1
bbsfox 4.0.25
新增站台(PTT),後面雜項開啟黑名單,輸入 ID,重開,仍然沒有變化,該推文仍然是亮的。
現在不能再透過 gBrowser.mCurrentTab.linkedBrowser.setAttribute('context', 'contentAreaContextMenuEx'); 指定 context-menu 了.
影響功能: 不和http頁面共用快顯功能表.
如果真的不行就只能把這功能拿掉了. 強制 BBSFox 和一般網頁共用快顯功能表.
原因:
檔案存取的部份在E10S下不能用舊的寫法了.
會變成正常滾動滾輪
停用過FireGesture但情況不變
另外若設定FireGesture的滾輪手勢為切換分頁
使用該手勢切換至BBSFox作用的頁面時
該頁面會受到最後的滾輪動作影響
(e.g. 右鍵+滾輪up切換至該頁面時會出現BBSFox裡滾輪up的行為)
版本: Firefox 48.0b3
在切換符號時,只能切到"線框"這欄,而且會切不回去。
我是使用fx 32位元版本
他寫不支援,可是我很需要使用啊!!
拜託了!!!
謝謝
ssh無法連線
測試版本 5.0.17
從兩天前開始,不管P1orP2都連不上,但用別的套件正常。
我是用Mac版的Firefox(52.0)
Firefox Developer Edition
Version: 52.0a2(2016-11-30)(64-bit)
OS: macOS 10.12
連線至telnet://ptt.cc or ssh://[email protected]呈現黑畫面
stable版本的firefox則正常
現在 youtube 預設的播放是使用 Html5 了,
而 Html5 下, 現在全螢幕有問題.
要改當到 frame-script 去處理.
5.0.22版本於Nightly 56.0a1版本
會持續轉圈且不會顯示任何訊息/內容
FireFox版本是54.0.1 (64-bit),OS是macOS 10.12.5。BBSFox自動更新至5.0.23開始無法使用,例如在網址列輸入 ssh://ptt.cc/
或 ssh://[email protected]
都會跳出這個視窗,也就是Firefox突然不能辨視該SSH應由BBSFox來開啟。若需要提供更多資訊請回應,我一定儘快附上。謝謝。
第二張圖(閱讀文章的滑鼠手勢)底下的說明
http://imgur.com/a/i9eZt
反白處應該是Orange area
主選單要檢查事件監聽的code看看, 快顯功能表如果沒辦法就自己加一個.
主要是content-script當中針對 window 和 text box 的 controllers 失效,
可能是 FX 本體的 bug. 可以先等官方修.
我懷疑是我安裝的另外一個extensions vimperator 造成的,不確定該不該在這邊回報
我也不太知道要怎麼debug. 不過目前停用vimperator後還沒發生過上述的bug
內嵌影片視窗和標點符號輸入窗的下拉選單在沒有啟用E10S下會無法使用.
在 content layer 的 key press event 被 adb 吃掉了, 改在 overlay layer 接收事件看看.
另外, 其它熱鍵也可能被吃, 看要不要都搬到 overlay layer 處理?
官方的實驗 API
libdweb github
基於官方的 API 實作的 BBSFox (只完成部份功能)
BBSFox
有興趣的人可以自己下載下來玩. 解壓縮後
cd libdweb
yarn install
或 npm install
然後如果你是要用 nightly 版測試就 yarn demo:bbsfox:nightly
或 npm run demo:bbsfox:nightly
然後如果你是要用 dev edition 版測試就 yarn demo:bbsfox:dev
或 npm run demo:bbsfox:dev
protocol register 那邊應該也能作, 只是我沒有實作在這版裡面.
自最近一次更新後出現此問題
相關回報文章如下:
https://www.ptt.cc/bbs/PttBug/M.1473595208.A.E92.html
所有的右鍵選單事件, 部份鍵盤滑鼠事件處理, 把 bbsfox core 的 pref 傳到 overlay 層.
OS: Windows10 64bit
ISP: 中華電信
Fx: 49.0.1
使用此套件瀏覽ptt時,如果一段時間沒有使用(時間不固定,短則數分鐘,長則數小時),則會自動斷線,必須重新整理該頁面才能繼續使用。已經嘗試過重新安裝Fx、重新安裝此套件、除了此套件其餘套件全部停用...等等除錯方式都無法解決。
但奇怪的是,在OSX中使用Fx+BBSFox卻不會有斷線問題,讓人有些困擾。不知是否能找到問題並修正呢?
例如: [1;47m?[5m?*[m
底色一開始是白, 閃過一次後變黑.
原因: 原本的實作是在 content script 中使用 gBrowser 的 findbar 處裡搜尋.
解決方法, 自行實作搜尋的部份(參考畫面上取得文字的方法).
也可以暫時拿掉此功能, 因為用的人似乎不多.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.