Skip to content

Releases: SysAdminDoc/AmazonEnhanced

v2.0.4 — fix regression: products not loading

15 Apr 03:36

Choose a tag to compare

Regression fix

v2.0.3 introduced CSS that hid legitimate Amazon content on some pages. Reverted the offending selectors.

Root cause:

  • Image-mode rules had catch-all descendant selectors: .a-cardui img, .gw-card img, [class*="p13n-sc-"] img, [class*="octopus-"] img. These matched any image inside those very common containers, not just product photos.
  • Some stonecrusher-derived sponsored selectors (#sidebar-top, #sidebar-bottom, #masrw-top > #skippedLink ~ div[cel_widget_id^="desktop-dp-atf_"]) potentially hide legitimate content on certain pages/locales.

What's kept:

  • Image mode still covers the p13n and octopus product-image classes via explicit img.CLASSNAME selectors (img.p13n-sc-dynamic-image, img.p13n-product-image, img.octopus-sims-img, img.octopus-pc-item-image, img.sims-fbt-image, img.asin-image, img.g-itemImage, etc.) — so the original 'Consider these items' invert-mode fix is preserved.
  • Specific stonecrusher selectors that are safe: #pdagEncapsulated, .sponsoredBy, .adFeedback__text, .bit-aa-install-widget-contents, #cs-app-prompt.

Removed:

  • Catch-all descendant image selectors
  • Unverified stonecrusher sponsored selectors (they can come back once I can validate against live pages)
  • Prime Video self-ad selectors (out of scope for shopping)

v2.0.3 — fix invert on recs + add Darken mode

15 Apr 03:28

Choose a tag to compare

Fixed

  • Invert mode now works on "Consider these items" / "Related to items you've viewed" carousels. Those use p13n-sc-dynamic-image, octopus-*, sims-fbt-image, and similar class names that weren't in the original selector list. All image modes now cover the full set via CSS :is().

Added

  • New image mode: Darken — inspired by stonecrusher/stylus-UserCSS. Just opacity: 0.75 on images. Clean brightness reduction without color distortion or filter artifacts. Added as a 6th option in the Theme tab picker.
  • Additional sponsored-ad selectors from the same source: #pdagEncapsulated, #atfResults h5[class*="sponsored"], .sponsoredBy, .adFeedback__text, #sidebar-top/#sidebar-bottom, Amazon Assistant install prompts.
  • Prime Video self-ad hiding: .tancaccept, .dv-dp-top-banner, .dv-hero-carousel, .dv-superhero-carousel, .av-hql-container.

Note

If you had "Invert" selected in v2.0.2 and these related-items images still looked white, that was the bug fixed here. Reload the extension and Amazon tabs.

v2.0.2 — block APE/Javelin SafeFrame sponsored ads

15 Apr 03:22

Choose a tag to compare

Fixes sponsored-ad blocking on the homepage and gateway. The 'Featured in Video Games'-style sponsored cards were slipping through because they use Amazon's APE / JavelinRenderingService ad stack, which is distinct from the sp-sponsored-result tiles that already got blocked on search pages.

New selectors (CSS + JS)

  • [cel_widget_id^="adplacements:"]
  • [data-cel-widget^="adplacements:"]
  • [data-csa-c-painter="JavelinRenderingService"]
  • [id^="ape_"][id$="_placement"|"_iframe"|"_Feedback"|"_ClickTracking"]
  • [id^="sf-host-load_"]
  • .ape-placement, .ape-feedback
  • [class*="ad-placements"]
  • [class*="gateway-btf_ad"], [class*="gateway-atf_ad"]
  • [id*="desktop-homepage-btf-card"], [id*="desktop-homepage-atf-card"]
  • iframe[title="Sponsored ad"]
  • iframe[src*="amazon-adsystem.com"]
  • iframe[src*="sash/"][src*=".html"]

Both Hide sponsored and Shade instead modes updated.

v2.0.1 — fix persistent white widgets

15 Apr 03:14

Choose a tag to compare

Fixes the remaining white widgets on product pages and homepage. The root cause was that most of Amazon's rgb(255, 255, 255) values come from embedded <style> blocks rather than inline style="" attributes, which means CSS attribute-selectors couldn't override them. The runtime JS sweep is now the primary defense.

Expanded sweep coverage:

  • [id$="_feature_div"] — covers all 200+ PDP feature divs in one selector
  • #buybox, #desktop_buybox*, #apex_*, #corePrice*
  • Cart, orders, review, and table-row containers
  • Homepage .a-carousel*, .a-cardui*, [class*=fluidCard]

Tuning:

  • Dropped once-only gate so late-painted elements re-qualify
  • Per-sweep cap raised 400 → 800
  • Near-white threshold 230 → 235 (catches #fff, #f7f7f7, #eaeded)
  • Delayed re-sweeps at 1.5s, 4s, 8s post-init to catch Amazon's lazy-loaded carousels

Explicit CSS for 25 common PDP widget ids so they're dark on first paint (no flash-of-white before the sweep runs).

v2.0.0 — 15-feature major release

15 Apr 03:08

Choose a tag to compare

v2.0.0 — Major feature release

15 new features across dark-pattern protection, transparency, data portability, and accessibility. Popup expanded from 6 to 10 tabs. All features individually flag-gated.

Dark-pattern pack

  • Auto-decline warranty / protection plan — SquareTrade/Allstate upsell is silently set to "No thanks" on PDP, cart, and post-ATC interstitial.
  • Force one-time purchase — detects pre-selected Subscribe & Save radios and switches back.
  • Auto-uncheck gift-receipt, share-info, and add-on dark patterns at checkout.
  • Extra "Sort by" optionsMost reviews, Newest, Best $/unit injected into the search sort dropdown.
  • CPU Tamer (experimental) — throttles background `setInterval`/`setTimeout` to ≥1s when the tab is hidden.

Transparency pack

  • Country-of-origin badge on product pages, cached per-ASIN, re-surfaced on search tiles.
  • Reveal seller — actual 3P seller name + link near product title.
  • Variation bait warning — flags listings where variant prices span >3× (common bait-and-switch).
  • Local price history — sparkline of every price you've personally seen on a product. No external API, no Keepa account required.

Tools & data portability

  • Copy clean product link button on PDPs (Markdown-formatted).
  • Order history export — CSV / JSON from `/your-orders`.
  • Wishlist export — CSV / JSON / Markdown from wishlist pages.
  • Late-delivery watcher — background alarm fires a Chrome notification when a promised delivery date passes without "Delivered" status (requires `notifications` permission).

Accessibility & safety

  • Large-text mode (17px body + scaled headings)
  • High-contrast mode (yellow/black/cyan/green, overrides theme)
  • ARIA fixes for Amazon's icon-only buttons
  • Allergen / ingredient watchlist — user-defined terms banner on PDP match

Install

  • `AmazonEnhanced-v2.0.0.zip` — extract and Load unpacked in `chrome://extensions/` (Developer mode).
  • `AmazonEnhanced-v2.0.0.crx` — drag into `chrome://extensions/`.

Upgrading from v1.x

Same extension ID (crx_id `8cc004804af4a41ac04ebdebe45adb18`) — the CRX auto-updates in place. You'll be prompted to approve the new `notifications` permission (only used by the opt-in late-delivery watcher).

Architecture

  • 15 features live in `content.js` section 12, each self-contained and in its own try/catch so one broken selector can't block others.
  • MAIN-world injection for CPU tamer (inline `<script>` tag).
  • Background service worker runs a single `amze-late-watch` alarm every 6 hours over `chrome.storage.local['amzeWatchedOrders']`.
  • New storage keys: `amzeOrigins` (country cache), `amzePriceHistory` (per-ASIN price log, 60-entry cap), `amzeWatchedOrders` (late-delivery tracker).

v1.1.2

15 Apr 02:50

Choose a tag to compare

v1.1.2

Fixed

  • Persistent white backgrounds on cart, checkout, and product pages. Amazon inlines `style="background:#fff"` on many widgets with no distinctive class. Now covered via:
    • CSS attribute selectors that override inline white backgrounds in all common forms (`#fff`, `#FFF`, `white`, `rgb(255,255,255)`, legacy `bgcolor="#FFFFFF"`).
    • Broader container coverage (`#a-page`, `#pageContent`, `#dp`, `#dp-container`, `#ppd`, `.a-container`, `.a-padding-*`, `.a-fixed-left-grid`, `.a-fixed-right-grid`).
    • Runtime JS sweep that marks any near-white container (`R,G,B ≥ 230`) with `data-amze-kw` so the theme forces it dark. Capped at 400 elements per sweep; re-runs on DOM mutations.
  • Tile image-mode was nearly invisible. Padding increased from 4px to 10px with a visible border + shadow so the frame around product images is distinct from the surrounding dark page.

Note on images looking "unchanged"

If product images themselves still appear white-background, that's by design for Tile mode (the default) — it wraps the image without touching the pixels. In the popup's Theme tab, switch the Image dark-mode picker to:

  • Dim — softens the image with brightness/contrast
  • Invert — flips every targeted image (great for text/icons, ruins photos)
  • Smart — samples corner pixels and inverts only images whose background is near-white

v1.1.1

15 Apr 02:39

Choose a tag to compare

v1.1.1

Fixed

  • Lavender-card bug on homepage. The image-mode tile rule was matching `.a-dynamic-image` on Amazon's container `
    ` elements, not just `` tags — resulting in huge light-grey rectangles behind homepage feed cards with unreadable white text. All image-mode selectors are now scoped to `img.*` only.
  • Light Prime Visa promo strip, cart subtotal sidebar, and related-products panel. Added dark-theme coverage for `.a-cardui`, `.gw-card`, `[class*="FluidCard"]`, `#hlb-message`, `#hlb-subcart`, `#sw-subtotal`, `#sw-hsa-rcx-upsell`, `#sc-buy-box`, `.sc-subtotal`, `#rcx_container`, `.rcx-carousel-card`.
  • Unreadable hero-card text. Amazon sometimes inlines `color: #fff` for dark-over-image layouts; forced readable text color while preserving `.a-price` and link colors.

Install

  • `AmazonEnhanced-v1.1.1.zip` — extract and Load unpacked in `chrome://extensions/` (Developer mode).
  • `AmazonEnhanced-v1.1.1.crx` — drag-and-drop into `chrome://extensions/`.

v1.1.0

15 Apr 02:32

Choose a tag to compare

v1.1.0

Added

  • Image dark-mode system with five modes (picker in Theme tab):
    • Off — no change
    • Tile (default) — wraps each product image in a soft light card, no color distortion
    • Dim — `brightness(0.85) contrast(1.05)`
    • Invert — `invert(0.92) hue-rotate(180deg)` for every targeted image
    • Smart — samples image corners via canvas; inverts only near-white backgrounds. Falls back to tile on CORS-tainted canvas.
  • Broader dark-theme coverage: search autocomplete, modals and popovers, review cards, side refinement panel, account/orders pages, checkout, cart tables, variant swatches, badges (Bestseller, Amazon's Choice), focus ring, text selection.
  • Star ratings now preserve warm gold on dark themes.

Changed

  • Popup copy and README simplified.

Install

  • `AmazonEnhanced-v1.1.0.zip` — extract and Load unpacked in `chrome://extensions/` (Developer mode).
  • `AmazonEnhanced-v1.1.0.crx` — drag-and-drop into `chrome://extensions/`.

v1.0.0 — Initial release

15 Apr 02:10

Choose a tag to compare

v1.0.0 — Initial release

Chrome MV3 extension for 20 Amazon locales.

Install

  • AmazonEnhanced-v1.0.0.zip — extract and Load unpacked in chrome://extensions/ (Developer mode).
  • AmazonEnhanced-v1.0.0.crx — drag-and-drop into chrome://extensions/.

Features

  • Sponsored-result removal (search tiles, PDP carousels, infinite scroll). Optional shade mode.
  • 13 section-declutter toggles: Brands related, Inspired by browsing, Customers also bought, Buy it again, Climate Pledge, Editorial, From the manufacturer, Compare, Subscribe & Save default, cart upsells, homepage clutter, footer, inline padding.
  • Review-quality scoring: histogram-based heuristic (polarization, 1-star share, verified sample ratio, volume). Adjusted rating shown alongside Amazon's.
  • Price-per-unit badges on search tiles. Locale-safe numeric parsing.
  • Suspicious-MSRP flag for strikethrough list prices >70% above actual.
  • Amazon URL cleanup: strips tag, ref_, pd_rd_*, pf_rd_*; canonicalizes /dp/ASIN.
  • Brand filters: Amazon in-house brand list, gibberish-brand heuristic, user regex blocklist.
  • Themes: Catppuccin Mocha (default), AMOLED, Light. Comfortable/Compact density.

Locales

.com .co.uk .ca .de .fr .it .es .nl .pl .se .com.tr .in .co.jp .com.au .com.mx .com.br .sg .sa .ae .eg