We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

How do I customize the Firefox 4 error page?

  • 4 përgjigje
  • 7 e kanë hasur këtë problem
  • 11 parje
  • Përgjigjja më e re nga redpost

more options

how do I customize the error message... the one with "server not found" and "try again"

how do I customize the error message... the one with "server not found" and "try again"

Krejt Përgjigjet (4)

more options

FF4 combined a bunch of files into omni.jar -- unzip it to edit (it's a zip file, unzip to its own folder, don't just do it inside of the firefox folder). It's located different places depending on your OS; in Ubuntu, it's usually in /usr/local/firefox/ or /usr/share/firefox.

Depends on what you want to edit in the error page, but here are two possibilities inside omni.jar:

  • omni.jar-unzipped/chrome/en-US/locale/en-US/global/netError.dtd
  • omni.jar-unzipped/chrome/toolkit/global/netError.xhtml

You'll need to redo any changes any time you upgrade Firefox. Back everything up too, just in case!

Ndryshuar nga redpost

more options

Changes in Firefox 8 on Ubuntu 10.04 Lucid:

  • omni.jar moved to /usr/lib/firefox-8.0/
  • netError.xhtml is now in omni.jar-unzipped/chrome/toolkit/global/netError.xhtml

Ndryshuar nga redpost

more options

Changes in Firefox 9.01 on Ubuntu 10.04 Lucid:

  • netError.xhtml is now in chrome/toolkit/content/global/netError.xhtml
more options

And now in Firefox 11 on Ubuntu 10.04 Lucid:

  • omni.jar is now called omni.ja
  • netError.xhtml is still located in chrome/toolkit/content/global/