Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

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

  • 3 respostas
  • 1 tem este problema
  • 2 visualizações
  • Última resposta por 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

Todas as respostas (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 ?

Modificado por Yves a

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.