Thank you, Taifun, for your assistance. It worked well in the latest version. However, I have tried to test it in older versions starting from 7.1 (which have the 'url' parameter in the OnNewWindowRequest block), but they don't work.
My intention is to obtain the URL when OnNewWindowRequest is triggered and then generate input data to display HTML content as shown in issue 2.
I have read through all the comments from everyone up until now, and many people among them have encountered the issue of how to retrieve the URL. Although it was straightforward in versions 7.1 and earlier, starting from version 8.0, everything has become more complicated and difficult, as the 'url' parameter has been replaced with the 'id' parameter in the OnNewWindowRequest block.