Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var CustomProto = Object.create(Node.prototype);
- CustomProto.createdCallback = function() {
- this.textContent = 'alert(1)';
- };
- document.registerElement('x--', {
- prototype: CustomProto,
- extends: 'script'
- });
- </script>
- <script <!-- is=x--></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement