Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本外掛不適用於 Firefox 57 以上 #6

Open
Taiwania opened this issue Sep 28, 2017 · 1 comment
Open

本外掛不適用於 Firefox 57 以上 #6

Taiwania opened this issue Sep 28, 2017 · 1 comment
Labels

Comments

@Taiwania
Copy link

由於 Firefox 57 以後規定只能用 web extension,導致目前 Firefox 57 以上的版本無法使用本外掛,希望能夠修正。

@kidwm kidwm added the wontfix label Sep 29, 2017
@u881831
Copy link
Contributor

u881831 commented Oct 11, 2017

因為目前 WebExtensions 欠缺建立 raw socket 的 API,沒有辦法直接修正。而且從他們的討論來看這個 API 會有不少安全性限制,應該無法用在 BBS 連線。使用本機程式建立連線並透過 Native messaging 技術(FX,GC)就成為唯一的方法。
目前 WebExtensions branch 裡面的程式可以在 FX 57+ 使用,不過還不適合一般使用者。這部分至少需要做一個本機的安裝程式同時安裝上述的本機元件和瀏覽器擴充套件(FX,GC),也就是說會失去跨平台的特性。這邊需要討論一下將來的開發方向才能決定。
另外當 BBS 伺服器提供 WebSockets 連線的話就可以單獨使用瀏覽器套件連線。PTT 目前開放的測試性
WebSockets 連線
鎖 Origin ,而為了防追蹤 WebExtensions 的網址(Origin)隨機生成的,所以 FX 57+ 的 WebExtensions 應該不能使用 PTT 的 WebSockets 連線。至於使用一般網頁架構以及 PTT WebSockets 連線的話至少會碰到複製貼上的問題,這部分可能要大改或是重新設計顯示模組,短時間內應該不會動。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants