#3 port to Firefox 60

Terbuka
dibuka 6 tahun lalu oleh pabs · 8 komentar

Firefox 60 ended support for XUL extensions so iceweasel-branding no longer works and needs porting to the new WebExtensions system.

If this is not possible, please provide the details and close this bug report.

Firefox 60 ended support for XUL extensions so iceweasel-branding no longer works and needs porting to the new WebExtensions system. If this is not possible, please provide the details and close this bug report.

it is entirely possible - parabola has been maintaining it's iceweasel branding all along

https://git.parabola.nu/packages/iceweasel-branding.git/

it is entirely possible - parabola has been maintaining it's iceweasel branding all along https://git.parabola.nu/packages/iceweasel-branding.git/
Paul Wise komentar 6 tahun lalu
Poster

Would it be possible to merge those changes back and release a new version?

Would it be possible to merge those changes back and release a new version?
platform komentar 6 tahun lalu
Pemilik

WebExtensions things are different ones. This 'extension' is actually doing theming, which is not possible by WebExtensions. But what we actually creating is a debian package. If we could make a package which directly patches the Firefox files installed on the system, we could continue to use Iceweasel branding.

WebExtensions things are different ones. This 'extension' is actually doing theming, which is not possible by WebExtensions. But what we actually creating is a debian package. If we could make a package which directly patches the Firefox files installed on the system, we could continue to use Iceweasel branding.
Paul Wise komentar 6 tahun lalu
Poster

Unfortunately the Debian Firefox package stores all of the files that are being overridden inside the omni.ja package so it is not possible to divert or modify those files.

Interestingly this command still gets you an Iceweasel icon with the XUL extension package installed, but none of the other things.

firefox --class Iceweasel

Even more interestingly the new Tor Browser also uses the --class option but it modifies the same things the XUL Iceweasel branding does so maybe there is a new way to do this (or maybe they just patch Firefox).

Unfortunately the Debian Firefox package stores all of the files that are being overridden inside the omni.ja package so it is not possible to divert or modify those files. Interestingly this command still gets you an Iceweasel icon with the XUL extension package installed, but none of the other things. firefox --class Iceweasel Even more interestingly the new Tor Browser also uses the --class option but it modifies the same things the XUL Iceweasel branding does so maybe there is a new way to do this (or maybe they just patch Firefox).
platform komentar 6 tahun lalu
Pemilik

TorBrowser is a different build of patched Firefox ESR.

TorBrowser is a different build of patched Firefox ESR.
platform komentar 6 tahun lalu
Pemilik

Does it work to place a custom package in /usr/lib/firefox/browser/features?

Does it work to place a custom package in `/usr/lib/firefox/browser/features`?
platform komentar 6 tahun lalu
Pemilik

Needs testing.

Needs testing.
Paul Wise komentar 6 tahun lalu
Poster

Looks like those are whitelisted through this mechanism:

/usr/lib/firefox/browser/omni.ja:main/modules/addons/XPIProvider.jsm const BUILT_IN_ADDONS_URI = "chrome://browser/content/built_in_addons.json";

/usr/lib/firefox/browser/omni.ja:chrome/browser/content/browser/built_in_addons.json {"dictionaries": {"en-US": "dictionaries/en-US.dic"}, "system": ["activity-stream@mozilla.org", "aushelper@mozilla.org", "firefox@getpocket.com", "formautofill@mozilla.org", "onboarding@mozilla.org", "screenshots@mozilla.org", "webcompat-reporter@mozilla.org", "webcompat@mozilla.org"]}

Looks like those are whitelisted through this mechanism: /usr/lib/firefox/browser/omni.ja:main/modules/addons/XPIProvider.jsm const BUILT_IN_ADDONS_URI = "chrome://browser/content/built_in_addons.json"; /usr/lib/firefox/browser/omni.ja:chrome/browser/content/browser/built_in_addons.json {"dictionaries": {"en-US": "dictionaries/en-US.dic"}, "system": ["activity-stream@mozilla.org", "aushelper@mozilla.org", "firefox@getpocket.com", "formautofill@mozilla.org", "onboarding@mozilla.org", "screenshots@mozilla.org", "webcompat-reporter@mozilla.org", "webcompat@mozilla.org"]}
Masuk untuk bergabung dalam percakapan ini.
Tidak ada tonggak
Tidak ada penerima
3 Peserta
Memuat...
Batal
Simpan
Belum ada konten.