mirror of
https://github.com/github/codeql.git
synced 2026-04-11 18:14:01 +02: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
|
|
};
|