Thanks for the URLs. The addon is more what I was looking for anyway.
(Wonder why MozillaZine didn't suggest it.)

In 2004 I did extensive surgery on the XUL files etc. of the then
version of Firefox to make it suitable for a kiosk (running on Linux).
It was somewhat tedious, but straightforward (no C++ recompilation) to
remove the URL bar, menu items, buttons etc. so the user couldn't get
away from the full-screen browser window, or otherwise incapacitate the
kiosk. (Trivial X-window manager, no other application software, etc.)

Things seem a lot harder now.


On Tue, 26 Jul 2016 21:36:17 +0200
Ignaz Forster <[email protected]> wrote:

> In this case start Firefox with the "--purgecaches" parameter once
> (see also 
> http://inpursuitoflaziness.blogspot.de/2014/01/editing-files-from-omnija-in-firefox-20.html).
>  
> I've just verified this works for me (Linux, FF45.2.0esr) when
> setting the variable to a lower number.
> 
> The best way to keep the change permanent would probably be to write
> an extension, and you may want to check if existing extensions (e.g. 
> https://addons.mozilla.org/de/firefox/addon/back-forward-history-tweaks/ 
> or https://addons.mozilla.org/en-US/firefox/addon/backforedrop/)
> already do what you want.
> 
> Regards,
> Ignaz
> 
> 
> Am 26.07.2016 20:40, schrieb Paul Kosinski:
> > In my Linux installation of Firefox ESR 45.2.0, I tried to modify
> > the parameter "MAX_HISTORY_MENU_ITEMS" in the omni.ja file's
> > sub-file "chrome/browser/content/browser/browser.js" and then
> > repack it using "zip -qr9XD" as instructed on the Web page
> > indicated:
> > https://developer.mozilla.org/en-US/docs/Mozilla/About_omni.ja_(formerly_omni.jar%29)
> >
> > It didn't work. All I got was the following:
> >
> > test@ime1:~> /opt/Firefox/45.2.0.test/firefox
> > 1469556545366   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545366   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545366   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545367   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545367   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545367   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> > 1469556545464   addons.repository       WARN    cacheEnabled:
> > Couldn't get pref: extensions.getAddons.cache.enabled
> >
> > I had also tried another, totally unrelated, modification to omni.ja
> > and got the same error messages. But it works just fine with the
> > original omni.ja. I am getting the impression that Firefox ESR
> > 45.2.0 is somehow locked down and only works if omni.ja *isn't*
> > modifed.
> >
> >
> > On Tue, 26 Jul 2016 12:54:02 +0200
> > Ignaz Forster <[email protected]> wrote:
> >
> >> Am 23.07.2016 21:14, schrieb Paul Kosinski:
> >>> Is there a way to increase the number of entries shown when you
> >>> hold down (or right-click) the Back or Forward button?
> >>
> >> Looking at the source code there's currently no way to configure
> >> this.
> >>
> >> Depending on how desperate you are you may unzip the file
> >> browser/omni.ja, change the value of "MAX_HISTORY_MENU_ITEMS" in
> >> chrome/browser/content/browser/browser.js and repack it (see
> >> https://developer.mozilla.org/en-US/docs/Mozilla/About_omni.ja_%28formerly_omni.jar%29
> >> for detailed instructions on how to do this). This file will be
> >> overwritten on every update however...
> >>
> >> Regards,
> >> Ignaz
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to