#MIT SLOAN PM Hackathon submission
Enlight Chrome extension is an AI-powered accessibility tool that allows blind and visually impaired business owners to access insights from online business web applications such as Google Analytics for their e-commerce websites. Once started, it automatically scrolls through the page, takes snapshots, caches them, and sends them as input to a multimodal LLM to extract the text and images to provide a contextual understanding of the active webpage.
Englight v1.0 is an MVP of this that allows the user to install the extension in Google Chrome, and once started by selecting the extension, it automatically accesses the content of the active tab, and scans by automatically scrolling the page to take snapshots of the webpage and caches the images to be processed by the llm.
To install this extension, follow these steps:
- Google Chrome browser.
-
Download the Extension:
-
Clone the repository to your local machine using
git
or download the ZIP file and extract it.git clone http://github.com/joachimaare/enlight_mvp_v1.git
-
If you downloaded as a ZIP, unzip the content to a directory of your choice.
-
-
Open Chrome:
- Navigate to
chrome://extensions/
in your Chrome browser.
- Navigate to
-
Enable Developer Mode:
- Enable "Developer mode" by ticking the checkbox in the upper-right corner.
- Load the Extension:
- Click on the "Load unpacked" button.
- Navigate to the directory where you cloned or unzipped the extension.
- Select the directory and click "Open".
The extension should now be installed in your Chrome browser.
To use the Full Page Capture extension, simply click on its icon in the Chrome toolbar while you are on the page you wish to capture. The extension will start capturing the visible part of the page and then automatically scroll and capture the rest of the page. Once the capture process is complete, you will see the screenshots logged in the console.
-
Initiate the Capture Process: Click on the extension's icon in the Chrome toolbar to begin capturing the webpage. This pops up a 'Start' button that can be accessed via the tab key or by clicking on it. The extension now automatically scrolls through the webppage to take snapshots of the entire page to be processed by the multimodal LLM.
-
Access the Extension's 'service worker' to view the image logs taken:
-
Navigate to
chrome://extensions/
in your Chrome browser. -
Locate the Full Page Capture extension in the list.
-
Click on the
background activity/logs
link for the Enlight extension, which might be labeled asservice worker
or similar. This will open the Developer Tools for the background service worker of the extension.
-
-
View Captured Images:
-
In the Developer Tools window, click on the "Console" tab.
-
You should see logs for each screenshot taken, formatted as Data URLs beginning with
data:image/png;base64,
followed by the image data in base64 encoding. -
The number of logs will correspond to the number of screenshots taken as the extension scrolled through the page.
-
-
Check for Completion:
These steps confirm that the extension operates correctly by taking and caching the screenshots. These images are not saved as files but are held in memory for user data privacy & security and to save local storage space.
Consent for Content Capture: At the initial setup, users are explicitly asked for their consent to capture and analyze the content of the web pages they visit. (Adherence to GDPR Article 6(1)(a), GDPR Article 7 - Conditions for Consent)
Selective Content Capture: Utilizing ‘chrome.tabs.captureVisibleTab’, the extension captures only the content of the active tab, excluding any sensitive information (that may be in the menu bar, taskbar region, or other opened tabs). This method ensures that only relevant webpage content is processed, safeguarding user privacy and minimizing data exposure. (Adherence to GDPR Article 5 - Principles Relating to Processing of Personal Data)
Secure Data Handling: All data captured and processed by the extension, from screenshots to AI-generated insights, are handled securely. Data transmission to any external servers for processing is encrypted, and strict data protection measures are in place to comply with privacy regulations and ensure the confidentiality and integrity of user data. (Adherence to GDPR Article 32 - Security of Processing)
This code is temporarily made public only for submission to and access by the MIT SLOAN PM Hackathon team.