How can run js after webview loadded

Dear team,
How can i evaluateJS affter webview was loaded.
Thanks

Hey @phamdinhcuong881d465,

Are you looking for something like this?

Oh no, my app load once url from my client, and then i want to disable user edit some field example : agent id, link download app from client…
Because i want my user my agent for my benifit, This is my js script:

  • var x3 = document.getElementsByClassName(“btn_AD”); x3[0].parentNode.removeChild(x3[0]);
  • document.getElementById(“AgentID”).setAttribute(“readonly”, “true”);

I understand, but if you can package this script to component for my app or some case a can put it into my app.

Thanks

Oh no, my app load once url from my client, and then i want to disable user edit some field example : agent id, link download app from client…
Because i want my user my agent for my benifit, This is my js script:

  • var x3 = document.getElementsByClassName(“btn_AD”); x3[0].parentNode.removeChild(x3[0]);
  • document.getElementById(“AgentID”).setAttribute(“readonly”, “true”);

I understand, but if you can package this script to component for my app or some case a can put it into my app.