Fwiw, the issue is this bit in browser_ext_find.js:
let frameScriptUrl = `data:,(${frameScript})()`;
It's clever and all, but data: URI parsing (and all URI parsing, really) strips newlines. So if you put a line comment in that function, you will get the entire function after that part commented out.