7 ms·
This was the injected JS code: document.getElementById('name-input').value = document.getElementById('yay').outerHTML; setName(); console.log('yay') The `
by FranchuFranchu 2y ago
This was the injected JS code:
document.getElementById('name-input').value = document.getElementById('yay').outerHTML; setName(); console.log('yay')
The `<img>` tag I used was wrapped around a `div` element that had the `yay` id. I used `onload` instead of `onerror`, with an image link from Wikipedia.