Jump to content
UBot Underground

Ui Html Panel - Open Url new browser


Recommended Posts

You can also make the onclick of the link run a command and shell it out using cmd. This way you can choose the browser but obviously it's safer to do it the way Darryl said since that will open in the default browser I'm just adding that it's possible that way as well. Here is an example with load html and a button but you can do it in the ui html panel and with a link just use a javascript void for the href.

define open_site {
    shell("cmd.exe /c start http://imautobots.com")
}
load html("<input type=\"button\" value=\"Click\" onclick=\"ubot.runScript(\'open_site\')\">")

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...