Search code examples
pythonurlbrowser-extension

Python URL handlers for web browsers


How can I use Python to add a handler to a browser, so when someone clicks a link like foo://foobar/ it'll open my program to handle it? Ideally there would be a way to do it cross-platform, but I recognize that OS-specific code will probably be needed.


Solution

  • GNOME

    Windows

    OS X