mirror of
https://github.com/github/codeql.git
synced 2026-03-17 04:56:58 +01:00
4 lines
154 B
JavaScript
4 lines
154 B
JavaScript
document.getElementById('my-id').onclick = function() {
|
|
this.parentNode.innerHTML = '<h2><a href="' + location.href + '">A link</a></h2>'; // NOT OK
|
|
};
|