JBrowser Source Docs
You are reading the documentation for JBrowser 1.5.3. The newest release is 1.5.4. Go to the latest documentation

jbrowser.single_instance

Generated from the source code of JBrowser 1.5.3.

jbrowser/single_instance.py · 59 lines

Single-instance guard: a second launch forwards its URLs to the running window.

Two processes must never share the same Chromium profile directories, and opening a link from another app should land in the existing window as a new card.

SingleInstance#

class SingleInstance(QObject)source
SingleInstance(key: str, parent: QObject | None=None)

Signals

Signal Arguments
received (str)

SingleInstance.notify_existing#

notify_existing(payload: str) -> boolsource

SingleInstance.listen#

listen() -> Nonesource

SingleInstance.close#

close() -> Nonesource

Stop answering so a restarted instance can take over the name.