I have a javascript code that is given as
var info = document.getElementsByTagName("info");
Now I would like to get this js as string in Unity (as I am performing injection) and I am able to do it as
string information = "var info = document.getElementsByTagName('info');"
As you see I have to change the quote to single quote here. I do not want to do this. How do I avoid it and use the string as I get it? Unfortunately, I have t