parent
a7926e58a4
commit
2bde723c43
2 changed files with 4 additions and 2 deletions
|
|
@ -437,11 +437,13 @@ def reset_browsers(indent=8, width=32):
|
|||
other_results=other_results, profile=profile)
|
||||
|
||||
|
||||
def scan_for_browsers(just_firefox=False):
|
||||
def scan_for_browsers(just_firefox=False, skip_ie=False):
|
||||
"""Scan system for any supported browsers."""
|
||||
for name, details in sorted(SUPPORTED_BROWSERS.items()):
|
||||
if just_firefox and details['base'] != 'mozilla':
|
||||
continue
|
||||
if skip_ie and details['base'] == 'ie':
|
||||
continue
|
||||
try_and_print(message='{}...'.format(name),
|
||||
function=get_browser_details, cs='Detected',
|
||||
other_results=other_results, name=name)
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ if __name__ == '__main__':
|
|||
|
||||
# Scan for supported browsers
|
||||
print_info('Scanning for browsers')
|
||||
scan_for_browsers()
|
||||
scan_for_browsers(skip_ie=True)
|
||||
|
||||
# Install extensions
|
||||
print_info('Installing Extensions')
|
||||
|
|
|
|||
Loading…
Reference in a new issue