Skip to content

Instantly share code, notes, and snippets.

@graygilmore
Forked from anonymous/manifest.json
Last active August 29, 2015 14:14
Show Gist options
  • Save graygilmore/24f6973bfd4970c9d018 to your computer and use it in GitHub Desktop.
Save graygilmore/24f6973bfd4970c9d018 to your computer and use it in GitHub Desktop.
Simple Chrome extension that replaces user stylesheets (removed in Chrome 33).

Installation

Save manifest.json and style.css in a directory on your machine.

Click the Chrome menu icon and select Extensions from the Tools menu. Ensure that the "Developer mode" checkbox in the top right-hand corner is checked. Click "Load unpacked extension" and select to your newly created directory.

Read more

{
"manifest_version": 2,
"name": "User Stylesheet",
"version": "0.1",
"content_scripts": [{
"matches": ["https://yoururl.com/*"],
"css": ["style.css"]
}]
}
body {
background-color: magenta;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment