<
Depuis la version < 76.1 >
modifié par Paul Libbrecht
sur 2019/09/01 17:56
À la version < 77.1 >
modifié par Paul Libbrecht
sur 2019/10/14 00:04
>
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -26,6 +26,15 @@
26 26   setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850);
27 27   })
28 28   }
29 +
30 +
31 +var isGood = document.location.href.startsWith("https://");
32 +var isWrong = document.location.href.startsWith("http://");
33 +console.log("Insisting? " + isGood + " " + isWrong);
34 +if(!isGood && isWrong) {
35 + if(console && console.log) console.log("Redirecting to the https side.");
36 + document.location.replace("https://" + document.location.href.substring("http://".length));
37 +}
29 29  
30 30  </script>
31 31  {{/html}}

Actualités

Annonce

Journal

Branches

Maîtrise
Compas
PioCas
Scouts
LouJa
Farfadet

photos

Groupe

Branches

Portrait

Admin

Pédagogie

Cahier de Chant

















contact

This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions