Forum Discussion

martin_58353's avatar
8 years ago
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
    8 years ago

    I found correct strings for replacement:

     

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

    Is there any better solution?