• OpenMyBrowser - gui.OpenURL now opens your browser
    9 replies, posted
Hello, To learn C++ and how to make modules I decided to tackle something I've never really liked, and that's the Steam browser. So I created OpenMyBrowser: a module that replaces gui.OpenURL with a function that opens your preferred/default browser. The module has one cvar for the client which is [code]openmybrowser_use_my_browser[/code] which allows you to turn OpenMyBrowser on and off. If you want to set up a bind for this, you can simply do: [code]bind key "toggle openmybrowser_use_my_browser"[/code] To toggle it with a key of your choice. [quote][vid]http://billyvenner.xyz/files/2016-03-19%2004-44-23.mp4[/vid][/quote] There is also developer documentation and functions you can use available on GitHub! Enjoy [URL="https://github.com/BillyOnWiiUIn144p/OpenMyBrowser"]Github[/URL] [U]Credits[/U] Thanks Verideth for the help with some stuff I was confused about :v:
This will go swimmingly with borderless windowed full resolution mode.
[QUOTE=BillyOnWiiU;49963085]Hello, To learn C++ and how to make modules I decided to tackle something I've never really liked, and that's the Steam browser. So I created OpenMyBrowser: a module that replaces gui.OpenURL with a function that opens your preferred/default browser. The module has one cvar for the client which is [code]openmybrowser_use_my_browser[/code] which allows you to turn OpenMyBrowser on and off. If you want to set up a bind for this, you can simply do: [code]bind key "toggle openmybrowser_use_my_browser"[/code] To toggle it with a key of your choice. There is also developer documentation and functions you can use available on GitHub! Enjoy [URL="https://github.com/BillyOnWiiUIn144p/OpenMyBrowser"]Github[/URL][/QUOTE] [IMG]http://i.imgur.com/SLBQV6C.png[/IMG] gui.OpenURL("C:/Program Files (x86)/Steam/steamapps/common/garrysmod/garrysmod/fuckmyshitup.bat") :v:
[QUOTE=Leystryku;49964800]:snip:[/QUOTE] Fixed, I would have seen that if I wasn't making this at 5am :v:
[QUOTE=BillyOnWiiU;49963085]Thanks Verideth for the help with some stuff I was confused about :v:[/QUOTE] No problem man. Glad to help! Keep up the great work! Oh yeah if I could rate I'd rate winner x1 so yeah
Would there not be security issues such as opening up a dodgy site? Not saying there could be, genuinely asking ☺
[QUOTE=Britain;49976781]Would there not be security issues such as opening up a dodgy site? Not saying there could be, genuinely asking ☺[/QUOTE] I would trust Chrome more than the Steam Browser :v: If you're talking about general unwanted web pages (such as porn :v:) then it'd be the same situation with the Steam browser too.
[QUOTE=BillyOnWiiU;49977015]I would trust Chrome more than the Steam Browser :v: If you're talking about general unwanted web pages (such as porn :v:) then it'd be the same situation with the Steam browser too.[/QUOTE] Can you actually download stuff via Steam browser though?
THANK FUCK
[QUOTE=Britain;49978146]Can you actually download stuff via Steam browser though?[/QUOTE] No. I see this as a feature and not a security issue, you have to authorize most downloads on secure browsers anyway, and I can see you're using Chrome so you should be fine :v:
Sorry, you need to Log In to post a reply to this thread.