Skip to content

Releases

v2.1.2

Choose a tag to compare

@theinstantwin theinstantwin released this 17 Nov 05:53

Nab's toolbar icon now looks right on dark toolbars.

Install it from the Chrome Web Store. The store update can take a few days to arrive. To load it by hand, use nab-2.1.2.zip below.

Fixed

  • The icon was a dark outline on a solid white square, which showed up as a white box on dark toolbars. It's now a green tile with a white arrow and transparent corners.

v2.1.1

Choose a tag to compare

@theinstantwin theinstantwin released this 04 Nov 21:56

Nab now works on sites that hide their images behind other elements, and a stray click can't trigger a download anymore.

Install it from the Chrome Web Store. The store update can take a few days to arrive. To load it by hand, use nab-2.1.1.zip below.

Fixed

  • Images under empty overlays now download, including on Instagram. Dragging across text or controls on top of an image still does nothing.
  • A right-click, or releasing the mouse outside the window, no longer leaves a drag running, which could download an image on your next click.
  • Pages that block the mouse release no longer strand a drag.
  • URLs with no image extension no longer save as .png whatever they hold. Chrome now names them from the file's real type.
  • Filenames are decoded, so my%20photo.jpg saves as my photo.jpg, and non-English names survive.
  • If Chrome rejects a filename, the download retries with Chrome's own name instead of failing.

Under the hood

  • Styles moved to content.css.
  • Filename and image-detection logic moved to lib.js, with 16 tests that run on every push.

Full Changelog: v2.1.0...v2.1.1

v2.1.0 — working cross-origin downloads

Choose a tag to compare

@theinstantwin theinstantwin released this 26 Jul 22:47

Drag any image to download it. No right-click, no menu, no save dialog.

Install

Install it from the Chrome Web Store.

To load it by hand instead:

  1. Download nab-2.1.0.zip below and unzip it. Keep the folder somewhere permanent — Chrome loads the extension from it, so deleting it uninstalls Nab.
  2. Go to chrome://extensions
  3. Turn on the Developer mode toggle
  4. Click Load unpacked and pick the unzipped folder
  5. Reload any tabs you already had open

What changed

Downloads now run through chrome.downloads in a service worker, which handles the CDN-hosted images the previous approach could not save. Notifications report the result the download API actually returns instead of assuming success.

Native drag is suppressed through dragstart rather than mousedown, so clicks on linked images and site lightboxes keep working.

Filenames strip query strings before the extension check, so photo.jpg?w=800 saves as photo.jpg. SVG and JPEG extensions come out right.

content.js went from 645 to 280 lines: an unused isCrossOrigin, an unreachable CORS fallback, a stubbed background-image branch, a logging layer that needed a source edit to switch on, scroll and resize handlers tracking the outline through a sub-second drag, and null checks for conditions that cannot occur.

Known issue

The toolbar icon has an opaque white background, so it renders as a white square on a dark toolbar. Fix needs an icon redesign rather than a background delete.