Difference between revisions of "User:Strife Onizuka/monobook.js"

From Second Life Wiki
Jump to navigation Jump to search
m (Created page with 'function killEvt( evt ) { evt = evt || window.event || window.Event; // W3C, IE, Netscape if ( typeof ( evt.preventDefault ) != 'undefined' ) { evt.preventDefault(); // Don't...')
 
(Replaced content with "alert("hello")")
Line 1: Line 1:
function killEvt( evt ) {
alert("hello")
evt = evt || window.event || window.Event; // W3C, IE, Netscape
if ( typeof ( evt.preventDefault ) != 'undefined' ) {
evt.preventDefault(); // Don't follow the link
evt.stopPropagation();
} else {
evt.cancelBubble = true; // IE
}
return false; // Don't follow the link (IE)
}

Revision as of 11:29, 3 February 2015

alert("hello")