Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Comment éditer la page "Délai dépassé" ou rediriger vers une page locale.

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 Mike Kaply

more options

Bonjour, Je travaille dans un musée. Nous utilisons Firefox sur des pc accessibles pour le public. Comment accéder à "aboutNetErrorCodes.js" pour l'éditer. Je souhaite remplacer le message par défaut de Firefox et rediriger vers une une page en local. Merci pour votre aide. Yves

Bonjour, Je travaille dans un musée. Nous utilisons Firefox sur des pc accessibles pour le public. Comment accéder à "aboutNetErrorCodes.js" pour l'éditer. Je souhaite remplacer le message par défaut de Firefox et rediriger vers une une page en local. Merci pour votre aide. Yves

所有回覆 (3)

more options

There's not an easy way to override those files.

What behavior exactly are you trying to accomplish?

more options

Many thanks Mike if you can help me.

Computers are on a local network, and sometimes we have to make some updates or sometimes a switch is down. The consequence is that Firefox show a message (in French, sorry) "Delai dépassé, ..."

I want to make a local page on each computers. The goal is to put this local page to replace the page generated by Firefox.

After, i can do that i want, exemple : I can put a WAMP server on each computers and offer a temporary service to offer an alternative.

I've searched in the omni.ja (aboutNetError.js), but don't really know if it's the good way. (Sorry for my English spoken and writen).


Edit : In aboutNetError.js, may be can i play with function initPage() to trig my local page and not the Default Firefox page error.

Something like :

function initPage() { window.location.href = "file:///C:/error/server_down.html"; }

Is it a good way ?

由 Yves 於 修改

more options

I know this is a very old question, but I never found a simple solution for you.

Modifying the omni.ja is probably the quickest way.

If you want to work together to come up with more complete solution, let me know.

It looks like you're doing a kiosk, and I might have some ideas.