User:Kaimbe/timeless.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
function mouseover(e) {
var t = R(this, mw.config);
if (t) {
var n, i = d(this, mw.config, t);
switch (i) {
case c.TYPE_PAGE:
n = l;
break;
case c.TYPE_REFERENCE:
n = f;
break;
default:
return
}
var r = $(this),
o = $(window),
a = {
pageX: e.pageX,
pageY: e.pageY,
clientY: e.clientY,
width: r.width(),
height: r.height(),
offset: r.offset(),
clientRects: this.getClientRects(),
windowWidth: o.width(),
windowHeight: o.height(),
scrollTop: o.scrollTop()
};
y.linkDwell(t, this, a, n, p, i)
}
}