mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
10 lines
No EOL
288 B
JavaScript
10 lines
No EOL
288 B
JavaScript
(function() {
|
|
var me = document.currentScript;
|
|
console.log(me);
|
|
document.body.addEventListener('load', function(e) {
|
|
// Prevent the element's onload event from firing
|
|
if(e.srcElement == me || e.target == me) {
|
|
e.cancelBubble = true;
|
|
}
|
|
}, {capture: true});
|
|
})(); |