Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Having viewed the code by the CRX addon I'd like to ask -

Was all or part of the program written in another language and compiled to Javascript?

My Javascript is not the good but it looks that way to me, or perhaps was constructed from some table driven system.



It's TypeScript bundled with esbuild. I needed to minify the output because the monaco editor resulted in file sizes over the 4MB limit imposed on FF addons. The background script is here: https://github.com/icholy/ContainerScript/blob/master/backgr...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: