old_contents: import selenium.webdriver as webdriver
  from selenium.webdriver.common.keys import Keys
  from time import sleep
  from os import listdir
  from os.path import isfile, join
  
  firefox_extension_path = '/home/pi/.mozilla/firefox/4dtxxbqk.default/extensions/'
  
  if __name__ == "__main__":
      urls = ['file:///home/pi/dosenet-web/display-monitors/Front.html', 'https://radwatch.berkeley.edu',
              'https://radwatch.berkeley.edu/rad101#tab2',
              'https://radwatch.berkeley.edu/rad101#tab3',
      		'https://radwatch.berkeley.edu/dosenet/map#dosenet_rad_banner',
      		'https://radwatch.berkeley.edu/dosenet/data#chartdata',
      		'https://radwatch.berkeley.edu/dosenet/data#alldata',
      		'file:///home/pi/dosenet-web/display-monitors/WeatherStation.html',
              'file:///home/pi/dosenet-web/display-monitors/FindMore.html']
      sleeps = [10,30,10,10,30,30,30,20,15]
  
  profile = webdriver.FirefoxProfile()
  extensions = [join(firefox_extension_path, f) for f in listdir(firefox_extension_path) if isfile(join(firefox_extension_path, f))]
  for f in extensions:
      profile.add_extension(f)
  
  profile.set_preference("hidenavbar.hidden", True)
  profile.set_preference("hidenavbar.hideonstart", 1)
  profile.set_preference("extensions.hidtb.auto_hide_one_tab", True)
  
  b = webdriver.Firefox(firefox_profile=profile)
  b.get('http://localhost')
  b.find_element_by_xpath('/html/body').send_keys(Keys.F11)
  
  while True:
      for idx, url in enumerate(urls):
          b.get(url)
          sleep(sleeps[idx])
new_contents: #!/usr/bin/env python
  import selenium.webdriver as webdriver
  from selenium.webdriver.common.keys import Keys
  from time import sleep
  from os import listdir
  from os.path import isfile, join
  
  firefox_extension_path = '/home/pi/.mozilla/firefox/4dtxxbqk.default/extensions/'
  
  if __name__ == "__main__":
      urls = ['file:///home/pi/dosenet-web/display-monitors/Front.html', 'https://radwatch.berkeley.edu',
              'https://radwatch.berkeley.edu/rad101#tab2',
              'https://radwatch.berkeley.edu/rad101#tab3',
      		'https://radwatch.berkeley.edu/dosenet/map#dosenet_rad_banner',
      		'https://radwatch.berkeley.edu/dosenet/data#chartdata',
      		'https://radwatch.berkeley.edu/dosenet/data#alldata',
      		'file:///home/pi/dosenet-web/display-monitors/WeatherStation.html',
              'file:///home/pi/dosenet-web/display-monitors/FindMore.html']
      sleeps = [10,30,10,10,30,30,30,20,15]
  
  profile = webdriver.FirefoxProfile()
  extensions = [join(firefox_extension_path, f) for f in listdir(firefox_extension_path) if isfile(join(firefox_extension_path, f))]
  for f in extensions:
      profile.add_extension(f)
  
  profile.set_preference("hidenavbar.hidden", True)
  profile.set_preference("hidenavbar.hideonstart", 1)
  profile.set_preference("extensions.hidtb.auto_hide_one_tab", True)
  
  b = webdriver.Firefox(firefox_profile=profile)
  b.get('http://localhost')
  b.find_element_by_xpath('/html/body').send_keys(Keys.F11)
  
  while True:
      for idx, url in enumerate(urls):
          b.get(url)
          sleep(sleeps[idx])
subject: fix for running as cronjob