script call open website

I had it a while ago but I can't seem to find it anymore.

Does anyone know what is the script call to open a website?
found this for VX Ace

# Use The Following in a Script Call:
# open_website( url )
# Replacing the URL with a websire url in quotation marks
# So the Following would be valid:
# open_website( "rmrk.net" )

class Game_Interpreter
def open_website( url )
url.gsub!("http://", "")
Thread.new { system("start http://#{url}") }
end
end
Yeah, I have no idea how to write that for mv
if you just want it accessible through the title screen then this plugin should help
http://yanfly.moe/2015/10/25/yep-021-external-links/
No, unfortunately I need a script call. I'm not using a title screen.
Try this :
Code:
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');

// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
Try this :
Code:
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');

// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
Works perfectly, sorry for the late reply l never got a warning and got stuck in a massive storm this month.

Added you in credits.
Thank you for this!

thenerdmansion, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-open-website.74706/