Skip to content

Instantly share code, notes, and snippets.

@aycabta
Created November 4, 2015 01:37
Show Gist options
  • Save aycabta/90c3c8359b36211cbcfb to your computer and use it in GitHub Desktop.
Save aycabta/90c3c8359b36211cbcfb to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name AWS SDK Doc Function Emphasis
// @namespace http://aycabta.github.io/
// @version 0.0.1
// @description
// @include /^http:\/\/docs\.aws\.amazon\.com/
// @grant
// @copyright 2015+, Code Ass
// ==/UserScript==
(function() {
var sheet;
var style = document.createElement('style');
style.setAttribute('id', 'great-css');
style.type = "text/css";
var head = document.getElementsByTagName('head')[0];
head.appendChild(style);
sheet = style.sheet;
sheet.insertRule('h3.signature { background-color: #AAAAFF !important; }', sheet.cssRules.length);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment