Created
March 15, 2023 17:16
-
-
Save seanbperiod/d5e681245c462875f27ebe6e59be0297 to your computer and use it in GitHub Desktop.
Amazon Saved Cart Grid with Honey enabled FIX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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