Shadow some PDF.js extension scripts to alter insertion