Topic: Firefox 68 ESR x64 plugin  (Read 1232 times)

Firefox 68 ESR x64 plugin
« on: August 24, 2019, 08:49:08 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
After a longer hiatus here comes a new revision of my renowned Firefox plugin series, it has been rewritten for Firefox ESR 68.x.
It now focusses on Mozilla Policies and is a new plugin which isn't backward compatible any longer, I also dropped 32 bit compatibility.
If you like to give it a go, you can get it under the following link.

Bug reports and suggestions for improvement are welcome.
Cheers! :cheers:
« Last Edit: August 24, 2019, 09:33:08 PM by Mikka, Reason: typos »

Re: Firefox 68 ESR x64 plugin
« Reply #1 on: August 24, 2019, 11:45:13 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
for x86 and x64 support


Code: [Select]
If,%SourceArch%,equal,x86,set,%PArch%,Win32

If,%SourceArch%,equal,x64,set,%PArch%,Win64



Set,%SetupURL%,"https://download.mozilla.org/?product=firefox-esr-next-latest-ssl&os=%PArch%&lang=%Localised%"

Re: Firefox 68 ESR x64 plugin
« Reply #2 on: August 26, 2019, 11:53:06 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Mikka,
It's been a while, good to see you  :thumbsup:

Thanks for sharing your knowledge on Firefox here and for your plugin :thumbsup:

I only use Win10XPE now, I'm not going to be able to give you feedback on the plugin itself.
But by reading your script, I was able to build it manually for Win10XPE with policies.json and Mozilla.cfg
It works without the need to pre-create profiles and it is very complete, nice works :thumbsup:

However, I failed to auto import and load bookmarks.html without profiles
Do you know if there is a way to do it without a profile ?

Tested witk uBlock Origin extension, it is well installed even without activate.js
Is it still required with Quantum ?

Re: Firefox 68 ESR x64 plugin
« Reply #3 on: August 27, 2019, 11:33:54 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Hi ChrisR,

you just found a bug! :great:

During development I noticed that the setting
Code: [Select]
lockPref("browser.places.importBookmarksHTML", true);
in the file Mozilla.cfg doesn't work any more, it will be set to false on Firefox start.

I haven't yet checked Bugzilla if someone has already reported that (I'd have to register first to do that).
But it should be a bug, as the counterpart browser.bookmarks.autoExportHTML still works.

Mozilla has changed several things in Quantum for deployment, for instance profile customisation isn't supported.
I might provide a more customisable policies.json in an upcoming version of the plugin, though.

@James:
For now I won't add 32 bit compatibility as I merely use 64 bit builds of Win81SE (and far less than in the past).

Re: Firefox 68 ESR x64 plugin
« Reply #4 on: August 27, 2019, 01:30:01 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
what works for us is - we pre-created the profile
Code: [Select]
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles
\Users\Default\AppData\Roaming\Mozilla\Firefox\Installs.ini
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles.ini
//
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles\5j1uqirh.Default-User
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles\y3iddc2e.default-release
//
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles\5j1uqirh.Default-User\bookmarks.html
\Users\Default\AppData\Roaming\Mozilla\Firefox\Profiles\5j1uqirh.Default-User\user.js

And we create User.js
Code: [Select]
// Import Bookmarks HTML
user_pref("browser.places.importBookmarksHTML", true);

Re: Firefox 68 ESR x64 plugin
« Reply #5 on: August 27, 2019, 03:05:00 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I found for loading bookmarks.html at startup with Mikka configuration
In policies.json, you must delete the line:
Code: [Select]
"NoDefaultBookmarks": true,

By placing bookmarks.html in the installation folder, next to Firefox.exe, Import and Export bookmarks works with in Mozilla.cfg
 
Code: [Select]
lockPref("browser.bookmarks.autoExportHTML", true);
pref("browser.bookmarks.file", "Y:\\Programs\\Mozilla Firefox Quantum ESR_x64\\bookmarks.html");
//pref("browser.bookmarks.file", "X:\\Program Files\\Mozilla Firefox Quantum ESR_x64\\bookmarks.html");
lockPref("browser.bookmarks.max_backups", 0);
pref("browser.bookmarks.overwrite", true);
lockPref("browser.places.importBookmarksHTML", true);
pref("browser.places.smartBookmarksVersion", 3);

The 2 ways are available, without profile or with the 2 pre-created profiles

Re: Firefox 68 ESR x64 plugin
« Reply #6 on: August 27, 2019, 05:08:32 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Quote
By placing bookmarks.html in the installation folder, next to Firefox.exe, Import and Export bookmarks works with in Mozilla.cfg
Quote
without profile
:great:

Re: Firefox 68 ESR x64 plugin
« Reply #7 on: August 31, 2019, 02:15:50 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Chris, thanks alot for solving this bug, the customised bookmarks option works now. :thumbsup:
Concerning activate.js, I haven't yet verified whether it might be dropped or not, I shall keep it for now.

James: Okay, so mimicking an existing profile is still feasible, however I'd have preferred doing that e.g. via policies.js.
Given the new deployment means I'm astonished Mozilla didn't think of that themselves.

Chris: Fortunately, there's little left that needs to be fixed by applying appropriate profile folder settings
(maybe xulstore.json adjustments and extensions' settings).

By the way, in another thread I read that there are Audio problems using Quantum for a different project than Win81SE.
Being lazy I merely use the latter (never touch a running SE...), could you elaborate the error?
For example, I merely got sound in Quantum when surfing YouTube, many competing sites (html5) won't work.
Since I seldom need sound in an SE, I didn't investigate that matter further.
« Last Edit: August 31, 2019, 02:17:11 PM by Mikka, Reason: typo »

Re: Firefox 68 ESR x64 plugin
« Reply #8 on: August 31, 2019, 02:30:32 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Mikka,
Until recently, we didn't have any sound with FF Quantum
texervn has found a solution to get the sound with:
Code: [Select]
defaultPref("security.sandbox.content.level", 2);

I don't know much more with Sandboxie but so, I get the sound now in youtube. I haven't tried with other html5 sites

Re: Firefox 68 ESR x64 plugin
« Reply #9 on: August 31, 2019, 02:44:04 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
The lowered security setting doesn't seem to be needed for Win81SE, which projects require the modification?
All projects that are based on Windows 10?

Re: Firefox 68 ESR x64 plugin
« Reply #10 on: August 31, 2019, 02:53:57 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Win10XPE requires this modification 
Not tested but I guess Win10PESE or others projects that are based on Windows 10, need it too.

Re: Firefox 68 ESR x64 plugin
« Reply #11 on: September 04, 2019, 10:07:44 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
This update should fix both the bookmarks bug and the audio problem for W10 projects.
I've also added an experimental and basic search engine customisation.
Still missing: A default browser option and profile customisation.

Update: New plugin version attached (improved search engine customisation).
« Last Edit: September 08, 2019, 10:16:53 AM by Mikka, Reason: Updated plugin (v4) »

Re: Firefox 68 ESR x64 plugin
« Reply #12 on: September 16, 2019, 10:18:22 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Version 5 of my plugin is out.

What's new:
  • Code optimisations
  • Revision of mozilla.cfg
  • Deployment sample* for extension uBlock Origin according to Mozilla's deployment technique

* Maybe a future choice for advanced users – I haven't yet decided on the details, suggestions welcome.

« Last Edit: September 17, 2019, 03:04:13 PM by Mikka, Reason: item corrected »

 

Powered by EzPortal