A fork of View-Image-Info-Chrome extension
Major changes:
- google analytics is removed
- video info is also shown
- info is shown inside the page instead of a new window
- background script runs only on demand when the extension's menu item is selected in the menu
- content script runs only on demand when showing the info, and tries to find the clicked element retroactively
Minor changes:
- added an automatic dark theme via
prefers-color-scheme
- rewritten in modern JavaScript syntax
- network request for the info is now a pure HEAD query
- almost all visible text was slightly reworded
- the UI was slightly restyled
- the icon was redrawn using a shutter image by Freepik as a base
contextMenus
- to add the context menu, duh<all_urls>
- to get the file size and type of the image
Chrome allows you to easily limit the extension so it can access only a few sites:
- right-click the extension icon in the toolbar (or browser menu) and click "Manage" - it'll open
chrome://extensions
details page for this extension - click "On specific sites"
- enter the URL you want to allow
- to add more sites click "Add a new page"