A web extension that displays filenames for images uploaded to Google by users (in maps, reviews, etc).
Its major parts are:
- The manifest file (manifest.json) - sets the properties of the extension and links to all other files
- Service worker (background.js) - intercepts responses from
googleusercontent.com
and exposes theContent-Disposition
header to the content script - Content script (image-namer.js) - scans Google pages for images loaded from
googleusercontent.com
using thebackground-image
CSS property and fetches the filename from theContent-Disposition
header.