mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +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
|
|
};
|