I don't fully get how this code works. It's better to investigate `if (document.currentScript && !document.currentScript.src.startsWith(chrome.runtime.getURL(''))) { throw new Error('Unauthorized script injection detected'); }`
I don't fully get how this code works.
It's better to investigate
if (document.currentScript && !document.currentScript.src.startsWith(chrome.runtime.getURL(''))) { throw new Error('Unauthorized script injection detected'); }