<
Depuis la version < 9.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/02 21:54
À la version < 13.1 >
modifié par Quentin / Zèbre STURER
sur 2021/11/02 21:58
>
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -77,15 +77,3 @@
77 77  </div>
78 78  {{/html}}
79 79  
80 - }
81 -\\ var isGood = document.location.href.startsWith("https:~/~/");
82 - var isWrong = document.location.href.startsWith("http:~/~/");
83 - console.log("Insisting? " + isGood + " " + isWrong);
84 - if(!isGood && isWrong) {
85 - if(console && console.log) console.log("Redirecting to the https side.");
86 - document.location.replace("https:~/~/" + document.location.href.substring("http:~/~/".length));
87 - }
88 -
89 -/~*~*/
90 -)))
91 -)))
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions