mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
4 lines
155 B
JavaScript
4 lines
155 B
JavaScript
document.getElementById('my-id').onclick = function() {
|
|
this.parentNode.innerHTML = '<h2><a href="' + location.href + '">A link</a></h2>'; // $ Alert
|
|
};
|