« MediaWiki:Common.js » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(4 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 2 : | Ligne 2 : | ||
function mydomain() { document.write(window.location.hostname ) } | |||
function redirectSearch() { | |||
function redirectRecherche() { | |||
var input = document.getElementById("searchTxt").value; | |||
var newURL = "https://datafranca.org/wiki/index.php?title=Cat%C3%A9gorie:GRAND LEXIQUE FRANÇAIS&pagefrom=" + input ; | |||
var target = "_top"; | |||
window.open(newURL); | |||
} | |||
function redirectSearch() { | |||
var input = document.getElementById("searchTxt").value; | var input = document.getElementById("searchTxt").value; | ||
var newURL = "https://datafranca.org/wiki/index.php?title=Cat%C3%A9gorie:ENGLISH&pagefrom=" + input ; | var newURL = "https://datafranca.org/wiki/index.php?title=Cat%C3%A9gorie:ENGLISH&pagefrom=" + input ; | ||
var target = "_top"; | |||
window.open(newURL); | window.open(newURL); | ||
} | } | ||
Dernière version du 18 avril 2021 à 22:16
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */
function mydomain() { document.write(window.location.hostname ) }
function redirectRecherche() {
var input = document.getElementById("searchTxt").value;
var newURL = "https://datafranca.org/wiki/index.php?title=Cat%C3%A9gorie:GRAND LEXIQUE FRANÇAIS&pagefrom=" + input ;
var target = "_top";
window.open(newURL);
}
function redirectSearch() {
var input = document.getElementById("searchTxt").value;
var newURL = "https://datafranca.org/wiki/index.php?title=Cat%C3%A9gorie:ENGLISH&pagefrom=" + input ;
var target = "_top";
window.open(newURL);
}
