Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (8 loc) · 1.07 KB

README.md

File metadata and controls

12 lines (8 loc) · 1.07 KB

altML Chrome Extension

Read More: What are extensions?

The altML Chrome Extension is a program built using HTML, CSS, and JavaScript to interact with the browser. The extension's job is to interact with websites, find images that are missing their alt attributes, and contact the caption server to fill them in.

  • assets/icons is where all of the icons for the extension live.
  • popup holds the files that load whenever you click on the icon for the chrome extension. This is where preference options are set.
  • altML-contentScript.js is the JS injected on every web page. This is where images are scanned and captions are fetched from the server,
  • background.js this is an extension file that runs in the background instead of per-page.
  • manifest.json is where the extension information for Chrome and the Chrome Web Store is located. This requests permissions from the browser, and tells the browser about extension file locations and options.