Skip to content

Updating open_webrtc_browser() in Compat.rb #9

@hkerma

Description

@hkerma

Hi,
I opened an issue for msf because I was having troubles with opening documentation.
Finally, I found out that open_browser() function were using 'xdg-open' and 'sensible-browser' first (which I think is a good thing) but open_webrtc_browser() uses 'google-chrome' first.

I've found out two solutions :

  • update open_webrtc_browser() function by providing 'xdg-open' and 'sensible-browser' first (but I'm not sure, as I don't really understand the purpose of this function compared to open_browser()).
  • or, update msf's document_generator.rb file, by replacing open_webrtc_function()with open_browser() in order to make it more usable (cf. issue).

Could someone tell me what solution in your opinion, is the best ? I'll then make the modifications and make a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions