Tags: SysAdminDoc/AmazonEnhanced
Tags
v2.0.4: fix regression — products not loading v2.0.3 added catch-all image-mode selectors (.a-cardui img, .gw-card img, [class*='p13n-sc-'] img, [class*='octopus-'] img) and broad stonecrusher sponsored selectors (#sidebar-top, #sidebar-bottom, #masrw-top > #skippedLink ~ div[cel_widget_id^= 'desktop-dp-atf_']) that appear to have hidden or broke render on legitimate product content. Tightened to explicit class selectors only: - Image modes now target only declared img.CLASSNAME entries — no wildcard descendant matches. - Kept stonecrusher sponsored selectors that are specific and verified safe: #pdagEncapsulated, .sponsoredBy, .adFeedback__text, .bit-aa-install-widget-contents, #cs-app-prompt. - Removed the unverified: #atfResults h5, #sidebar-top, #sidebar-bottom, image-map-ns_ shogun-widget, masrw-top ATF sub-nav, and Prime Video self-ads (these can be revisited once I can verify selectors against a live DOM).
v2.0.3: fix invert on related-items carousels + add Darken mode
Related-items carousels ('Consider these items' / 'Related to
items you've viewed') use p13n/octopus image classes not covered
by the original selectors. Rewrote image-mode rules using :is()
to cover the full set:
- 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
- img.s-access-image, img.bxc-grid__image
- img.imageThumbnail, img.coupon-image
- img.recs-carousel-element-img-outer
- img.octopus-quick-look-product-image
- [class*='p13n-sc-'] img, [class*='octopus-'] img
- .a-cardui img, .gw-card img
New 'Darken' image mode (opacity: 0.75) — inspired by
stonecrusher/stylus-UserCSS. Cleanest option since it doesn't
touch color channels. Added as 6th button in Theme picker.
Integrated additional stonecrusher sponsored/ad selectors:
#pdagEncapsulated, #atfResults h5[class*=sponsored],
.sponsoredBy, .adFeedback__text, #sidebar-top, #sidebar-bottom,
#masrw-top skippedLink sibling desktop-dp-atf widgets,
.bit-aa-install-widget-contents, #cs-app-prompt.
Prime Video self-ads: .tancaccept, .dv-dp-top-banner,
.dv-hero-carousel, .dv-superhero-carousel, .av-hql-container.
v2.0.2: block Amazon APE / Javelin SafeFrame sponsored ads The homepage 'Featured in Video Games'-style sponsored cards render through Amazon's APE / JavelinRenderingService system — distinct from the sp-sponsored-result tiles already blocked on search pages. Added CSS + JS selectors for: - [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'] (SafeFrame host HTML) Both hideSponsored and shadeSponsored modes updated.
v2.0.1: kill persistent white widgets on PDP + homepage MHTML analysis showed rgb(255,255,255) values live in Amazon's embedded <style> blocks (not inline style="" attrs), so CSS attribute-selectors can't reach them. The JS sweep is the only reliable override — expanded its coverage substantially. Sweep now targets: - [id$="_feature_div"] (catches all 200+ PDP feature divs) - #buybox, #desktop_buybox*, #apex_*, #corePrice* - Cart/orders/reviews containers - Table rows (tr/td/th) - Homepage .a-carousel*, .a-cardui*, [class*=fluidCard] Also: - Dropped once-only check gate (Amazon paints late) - Per-sweep cap 400 -> 800 - Near-white threshold 230 -> 235 (catches #fff, #f7f7f7, #eaeded) - Delayed re-sweeps at 1.5s, 4s, 8s post-init for lazy-loaded widgets - Explicit CSS pre-paint for 25 common PDP widget ids to avoid flash-of-white before the sweep runs
v2.0.0: 15-feature pack — dark patterns, transparency, exports, a11y Dark-pattern pack: - Auto-decline SquareTrade/Allstate warranty upsell (PDP + cart + ATC interstitial) - Force one-time purchase when S&S radio is pre-selected - Auto-uncheck gift-receipt / share-info / add-on dark patterns - Extra 'Sort by' options: Most reviews, Newest, Best $/unit - CPU Tamer (MAIN-world inject): throttle bg setInterval/Timeout to >=1s when tab hidden Transparency pack: - Country-of-origin badge on PDP + cached per-ASIN for search tiles - Reveal seller (SoldBy-clone): 3P seller name + link near title - Variation bait warning when variants span >3x price - Local price history sparkline (60 entries/ASIN cap, no external API) Tools & data portability: - Copy clean product link (Markdown) - Order history export (CSV / JSON) - Wishlist export (CSV / JSON / Markdown) - Late-delivery watcher (background alarm every 6h, notifications API) Accessibility & safety: - Large-text mode (17px body + scaled headings) - High-contrast mode (yellow/black/cyan/green) - ARIA fixes for icon-only buttons - Allergen watchlist: user-defined terms banner on PDP match Popup expanded from 6 to 10 tabs (Cart, Trust, Tools, A11y added). 460x640 popup. New notifications permission. 11 storage keys (amzeSettings, amzeOrigins, amzePriceHistory, amzeWatchedOrders).
v1.1.2: kill persistent white backgrounds Nuclear CSS attribute selectors override inline style='background:#fff' and its many variants (#FFF, white, rgb(255,...), legacy bgcolor attr). Added broader container coverage: #a-page, #pageContent, #dp, #dp-container, #ppd, #imageBlock_feature_div, .a-container, .a-padding-*, .a-fixed-left/right-grid. Runtime JS sweep killWhiteBackgrounds reads computed bg on .a-box/.a-section/.a-cardui/.a-container elements and marks any near-white (R,G,B >= 230) with data-amze-kw='1' so theme.css forces them dark. Capped at 400 elements per sweep. Re-runs on DOM mutations. Tile image-mode padding increased 4→10px with border+shadow so the frame around images is visibly distinct from the surrounding dark page.
v1.1.1: fix lavender homepage cards + add cart/promo dark coverage Root cause of the homepage bug: the image-mode 'tile' rule targeted .a-dynamic-image, which Amazon applies to container <div>s not just <img> elements. Result was huge #e8e8ee rectangles behind whole card contents, with Amazon's white hero text rendering light-on-light. Fix: scope all image-mode selectors to img.* only (img.a-dynamic-image, img.s-image, img.sc-product-image). Also added dark coverage for widgets the stock rules missed: .a-cardui, .gw-card, [class*=FluidCard], homepage feed cards, #hlb-message, #hlb-subcart, #sw-subtotal, #sw-hsa-rcx-upsell, #sc-buy-box, .sc-subtotal, #rcx_container, .rcx-carousel-card. Force readable text on these while preserving price and link colors.
v1.1.0: image dark-mode system + broader theme coverage
Five image handling modes:
- off (no change)
- tile (soft light card wrap — default, no color distortion)
- dim (brightness/contrast softening)
- invert (Dark-Reader-style — flips all targeted images)
- smart (canvas corner-sample; invert only near-white backgrounds;
falls back to tile on CORS tainted canvas)
Theme coverage expanded to autocomplete dropdown, modals, popovers,
review cards, side refinement panel, checkout, account/orders pages,
cart tables, variant swatches, bestseller badges, focus ring, text
selection, horizontal rules. Star ratings preserve warm gold.
Docs and popup copy simplified. Manifest description tightened.
Initial release: AmazonEnhanced v1.0.0 Chrome MV3 extension for Amazon UX enhancement across 20 locales. Bundles sponsored-result removal, 13 granular declutter toggles, local review-quality scoring (post-Fakespot/ReviewMeta gap), price-per-unit badges with locale-safe parsing, suspicious-MSRP flagging, affiliate/tracking URL stripping, Amazon-brand filter, and Catppuccin Mocha / AMOLED / Light themes with anti-FOUC. Zero telemetry, no external APIs, no build tooling.