Skip to content

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.

Notifications You must be signed in to change notification settings

joachimasare/enlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#MIT SLOAN PM Hackathon submission

Englight Chrome Extension

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.

Installation

To install this extension, follow these steps:

Prerequisites

  • Google Chrome browser.

Loading the Extension

  1. 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.

  2. Open Chrome:

    • Navigate to chrome://extensions/ in your Chrome browser.
  3. Enable Developer Mode:

    • Enable "Developer mode" by ticking the checkbox in the upper-right corner.

Screenshot 2024-02-22 134223

  1. 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".

Screenshot 2024-02-22 134238

The extension should now be installed in your Chrome browser.

Screenshot 2024-02-22 134251

Usage

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. Screenshot 2024-02-22 134307

Screenshot 2024-02-22 134318

Screenshot 2024-02-22 134336

Verifying Captured Images

  1. 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.

  2. 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 as service worker or similar. This will open the Developer Tools for the background service worker of the extension.

      Screenshot 2024-02-23 043341

  3. 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.

      Screenshot 2024-02-23 043359

    • The number of logs will correspond to the number of screenshots taken as the extension scrolled through the page.

  4. Check for Completion:

    • Once the extension has finished scrolling through the entire page and capturing screenshots, you should see a final log entry indicating that the process is complete, such as "Capture complete."

      Screenshot 2024-02-23 044922

    • Copy and paste any of the image urls into the address bar to view the captured image.

      Screenshot 2024-02-23 043412

      Screenshot 2024-02-23 043422

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.

User Privacy, Security, and Consent

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)

Proprietary

This code is temporarily made public only for submission to and access by the MIT SLOAN PM Hackathon team.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published