Forum Discussion

martin_58353's avatar
Sep 11, 2017
Solved

STREAM::expression with special characters

I need inject code into JavaScript returned from server some code: original code from server:   this.initNewTransfer(t, n),   replaced/injected code:   this.i...
  • martin_58353's avatar
    Sep 11, 2017

    I found correct strings for replacement:

     

    set find "initNewTransfer\\x28t, n\\)"
    set replace "this.initNewTransfer\x28t, n\), INJECTED-CODE"

    Is there any better solution?