Lines Matching refs:browser
47 for browser in alternatives:
48 if '%s' in browser:
50 browser = shlex.split(browser)
51 if browser[-1] == '&':
52 return BackgroundBrowser(browser[:-1])
54 return GenericBrowser(browser)
58 command = _browsers[browser.lower()]
60 command = _synthesize(browser)
85 browser = get(name)
86 if browser.open(url, new, autoraise):
105 def _synthesize(browser, *, preferred=False): argument
117 cmd = browser.split()[0]
130 controller.name = browser
131 controller.basename = os.path.basename(browser)
132 register(browser, None, instance=controller, preferred=preferred)
480 for browser in ("firefox", "iceweasel", "iceape", "seamonkey"):
481 if shutil.which(browser):
482 register(browser, None, Mozilla(browser))
485 for browser in ("mozilla-firefox",
488 if shutil.which(browser):
489 register(browser, None, Netscape(browser))
498 for browser in ("galeon", "epiphany"):
499 if shutil.which(browser):
500 register(browser, None, Galeon(browser))
507 for browser in ("google-chrome", "chrome", "chromium", "chromium-browser"):
508 if shutil.which(browser):
509 register(browser, None, Chrome(browser))
546 for browser in ("firefox", "firebird", "seamonkey", "mozilla",
548 if shutil.which(browser):
549 register(browser, None, BackgroundBrowser(browser))