NOT CURRENTLY WORKING. This vector attempts to detect tags that consume markup. Then shows select can be used to break out of the consumption.
<script>
window.scriptsExecuted = {};
function logged(tag) {
if(!scriptsExecuted[tag]) {
scriptsExecuted[tag] = 1;
}
scriptsExecuted[tag]++;
}
</script><$[data1]><script>logged('$[data1]')</script></$[data1]>
<select><$[data1]></select><script>logged('$[data1]')</script></$[data1]></select>for (const [tag, amount] of Object.entries(scriptsExecuted)) {
if(amount === 1) {
log(tag)
}
}