Skip to content

Instantly share code, notes, and snippets.

@seanbperiod
Created March 15, 2023 17:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanbperiod/d5e681245c462875f27ebe6e59be0297 to your computer and use it in GitHub Desktop.
Save seanbperiod/d5e681245c462875f27ebe6e59be0297 to your computer and use it in GitHub Desktop.
Amazon Saved Cart Grid with Honey enabled FIX
// ==UserScript==
// @name Fix Amazon Saved Cart Grid with Honey enabled
// @namespace amazon-honey-fix-MBP14
// @version 0.1
// @description Fixes saved cart grid on Amazon from going to 3 columns - particularly on Macbook 14"
// @author Sean Burdick
// @match http*://www.amazon.com/gp/cart/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com
// @grant none
// ==/UserScript==
const addStyle = (styleText) => {
const style = document.createElement('style');
style.appendChild(document.createTextNode(styleText));
document.head.appendChild(style);
};
addStyle(`
div#sc-saved-cart-items { width: 100%!important;}
`);
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment