Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 3 odpovede
  • 1 má tento problém
  • 2 zobrazenia
  • Posledná odpoveď od 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

Všetky odpovede (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 ?

Upravil(a) Yves dň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.