MediaWiki:Gadget-Suppress-tooltip.js
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/**
* For suppressing tooltips on interactive elements created with an API call
* @example <>
*/
(function($,mw){
removeTooltips();
}(jQuery, mediaWiki));
function removeTooltips(){
$(document).on('mouseenter', '.map-content-wrapper a', function(){
$(this).removeAttr('title');
});
$(document).on('mouseenter', '.map-expandable a', function(){
$(this).removeAttr('title');
});
}