please check sample case and repair that pleaseeeeeee... Sample.rar
this code
UniSession.AddJS('window.open(''https://support.wwf.org.uk'''_blank'');' ); // to open a new window/tab
corect and use my program but open page in popup blocker
how to open url without popup blocker in browser
@Sherzod@Farshad Mohajeri
Topics that look like this and have not responded:
1-
2
For example:
procedure TMainForm.UniButton1Click(Sender: TObject);
begin
//UniSession.AddJS('window.open(''https://www.google.com'', ''_blank'');'); // to open a new window/tab
end;
UniButton1.ClientEvents.ExtEvents ->
function click(sender, e, eOpts)
{
window.open("https://www.google.com", "_blank");
}
...