access to downloaded code as a text

Posted in General by Alexander Levakov Sat Mar 04 2017 17:57:22 GMT+0000 (Coordinated Universal Time)·Viewed 1,112 times

I have an idea to make i18n of JavaScript code on the fly. So I'd like to get source code of a file then to make substitution of words (phrases) and only after that to "make eval" of that code. Is it possible?
Markdown is allowed