Possible to intercept developer tools REPL?

#1

Is it possible to intercept the REPL in the developer tools and use my own function to evaluate the input expressions?

#2

What do you intend to do with it?