User:SerGreen/common.js
Jump to navigation
Jump to search
In other languages: Deutsch • Français
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Google Chrome / Microsoft Edge / Opera: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
/* Any JavaScript here will be loaded for SerGreen only on every page. */
/* ======== Item tooltips ======== */
$(document).on("mousemove", function(event) {
$(".tooltip:hover > .tooltip-block").css( { "left": event.clientX + 10 + "px", "top": event.clientY + 20 + "px" } )
})
// Remove links title
$(function() {
$(".notitle, .tooltip").find("a").attr("title", "")
})