bluelaser / Amazon

// ==UserScript==
// @name         Amazon
// @version      0.21
// @description  Styling BSR
// @homepageURL    https://openuserjs.org/install/bluelaser/Amazon.user.js
// @updateURL   https://openuserjs.org/install/bluelaser/Amazon.user.js
// @author       bluelaser
// @license         MIT
// @noframes
// @include        https://www.amazon.com/*
// @require     https://code.jquery.com/jquery-3.2.1.min.js
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('.sc-dhWmbD.fDsoTu {background-color:#e6e6e6}');
addGlobalStyle('.sc-DhIVs.gOgEBp {font-weight:bold;color:black;font-size:15px;}');
addGlobalStyle('.sc-DhIVs.gOgEBp>span {font-weight:normal;}');
addGlobalStyle('.sc-dqFsfS.cxdBhe>a{ color:white !important; background-color:red; border:1px solid red;}');
addGlobalStyle('.sc-dqFsfS.cxdBhe>a:nth-child(2) {font-weight:bold}');