(wrong string) �me sur les Erudits

Auteur: NightShadow <nightshadow_at_...>
Date: Mon, 5 Feb 2001 12:42:00 +0100

>D'abord, voici ce quon trouve dans le code source :
></TITLE></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>><meta name="DESCRIPTION" content="Nul ne peut vous forcer à faire</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>quoi que ce soit!"></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Ce qui est scandaleux, vu que maintenant, puisque que la fonction</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>"prison()" est sur toutes les pages et qu'elles sont sans le titre</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>adequat, on est oblige d'utiliser les frames, sans acces direct a</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>aucune page independament du reste du site (genre : un bookmark sur</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>la page des liens).</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>C'est du foutage de gueule ?</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>function prison()</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>{</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>if (top.document.title != "Les érudits de l'ambigu")</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>top.document.location = "<a href="/cgi-bin/extern.cgi?http://erudits.free.fr"" rel="nofollow">http://erudits.free.fr"</a>; ;</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>}</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>On ne peut plus marquer sa page favorite !</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>J'ai jete un oeuil... Effectivement, ils ne sont pas alles au plus</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>simple. Il y a deux problemes.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Je pense que ce serait *vraiment* une bonne idee d'eliminer la</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>fonction "prison()" au chargement. Elle est de toute evidence la</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>cause de la boucle.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Son but est (contrairement a ce que son nom pourrait laisser croire)</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>d'eliminer d'eventuelles frames parasites d'un autre site, ce qui se</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>comprend. Le probleme est qu'elle fait une verification sur le titre</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>de la page.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Voici la cause precise du probleme : vous avez des pages nommees</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>"Les Erudits de l'Ambigu", or la verification se fait sur la String</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>"Les érudits de l'ambigu".</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Ce qui cause le rechargement de la page, et parfois une boucle. Je ne</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>parle meme pas des eventuels caches mals geres des navigateurs.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>        Je connais un script sympathique qui serait (peut-être?) une alternative:</FONT><br> <br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><SCRIPT language="javascript"> </FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><!--</FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>if (parent.frames.length!=0) </FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>parent.location.href=location.href </FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>// --></FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000></SCRIPT> </FONT><br> <br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>Bon, maintenant, je sais pas si ça peut pas faire foirer autre chose... car bon, d'après moi, c'est </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>juste un script que l'on peut placer sur le fichier index, car sinon, il fait aussi disparaître les </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000>frames "normales", on va dire...</FONT><br> <FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Voici le deuxieme probleme, le plus emmerdant en fait.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>ATTENTION : l'adresse (qui est normalement en bookmark/signet, et</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>pire referencee par les autres sites)</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>><a href="/cgi-bin/extern.cgi?http://erudits.free.fr/" rel="nofollow">http://erudits.free.fr/</a></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>pose des problemes, la page index.html (chargee par defaut) N'EXISTE</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>PLUS. Parce que les nouveaux webmestres ont adopte la stupide norme</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>MS-DOS parce qu'ils utilisent peut-etre un stupide produit de la meme</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>boite, qui a automatiquement tronquer en index.htm</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Et ca, sur le net, c'est *mal*.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Renommez au plus vite en index.html</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>Par la meme occasion, refaites les nommages en *.html de toutes vos</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>pages sans oublier les liens, ca faciletera les depanages.</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>La solution temporaire est de forcer le navigateur avec d'autres</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>adresses du site. Essayer :</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>><a href="/cgi-bin/extern.cgi?http://erudits.free.fr/index.htm" rel="nofollow">http://erudits.free.fr/index.htm</a></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>>ou bien</FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000080>><a href="/cgi-bin/extern.cgi?http://erudits.free.fr/pages/index.htm" rel="nofollow">http://erudits.free.fr/pages/index.htm</a></FONT><FONT FACE="Times New Roman" SIZE=2 COLOR=#000000><br> </FONT><br> <FONT FACE="Times New Roman" SIZE=2>        Euh... je peux me tromper, mais les fichiers en *.htm sont justemment les plus recommandés </FONT><FONT FACE="Times New Roman" SIZE=2>(pourquoi, ça je sais pas!), car, si on utilise un programme un peu à la pointe du progrès (comme </FONT><FONT FACE="Times New Roman" SIZE=2>Dreamweaver 4, je crois que personne ne me contredira ;-) ), les fichiers sont nommés par défaut en </FONT><FONT FACE="Times New Roman" SIZE=2>*.htm</FONT><br> <br> <FONT FACE="Times New Roman" SIZE=2></FONT><FONT FACE="Times New Roman" SIZE=2>mais c'est vrai que les fichiers *.html sont chargés par défaut, et pas les*.htm, alors, faites </FONT><FONT FACE="Times New Roman" SIZE=2>comme moi, faites une copie de votre fichier index.htm, et renommez la copie index.html, et puis </FONT><FONT FACE="Times New Roman" SIZE=2>uploadez le tout, et comme ça, tout le monde est content...<br> </FONT><br> <font face="Times New Roman" > Nightshadow<br> Mail : nightshadow_at_...<br> Web: www.nightshadow.be.tf<br> </body> </div> <div class="foot"> <map id="navbarfoot" name="navbarfoot" title="Messages en rapport"> <ul class="links"> <li><dfn>Ce message</dfn>: [ <a href="#start1971">Corps du message</a> ]</li> <li><dfn>Message suivant</dfn>: <a href="1972.html" title="Message suivant dans la liste">C?dric: "Re: probl?me sur les Erudits"</a></li> <li><dfn>Message précédent</dfn>: <a href="1970.html" title="Message précedent dans la liste">Gilles d'Argyres: "Re : problème sur les Erudits"</a></li> <li><dfn>En réponse à</dfn>: <a href="1970.html" title="Message auquels ce message répond">Gilles d'Argyres: "Re : problème sur les Erudits"</a></li> <li><dfn>Suivant dans le thème</dfn>: <a href="1973.html" title="Message suivant dans la discussion">C?dric: "Re: Re_:_probl?me_sur_les_Erudits"</a></li> </ul> <ul class="links"> <li><a name="options3" id="options3"></a><dfn>Messages récents triés</dfn>: [ <a href="date.html#msg1971" title="Messages récents par date">par Date</a> ] [ <a href="index.html#msg1971" title="Discussions récentes">par Th&eagrave;me</a> ] [ <a href="subject.html#msg1971" title="Messages récents par sujet">par Sujet</a> ] [ <a href="author.html#msg1971" title="Messages récents par auteur">par Auteur</a> ]</li> <li><dfn>Autres archives</dfn>: <b>!!!!!!></b> <a href="/digests">Visit the <span class="se">Search Engine</span> of <b>Lhankor Mhy</b></a> <b><!!!!!!</b></li> </ul> </map> </div> <p><small><em>Cette archive a été créée par <a href="HTTP://www.hypermail-project.org/">hypermail </a></em></small></p> </body> </html>