browser.execute("Function('" + parameter + "')");
I use swt to call a function like above.
Using newlines crashed the java. I just found out using apostrophe crashes the browser.
Is there a better way to do this? So I don't have to worry about handling these characters?
For example:
browser.executeFunction("Function", parameter);
What other characters might I have to worry about?