Skip to content
Chrome Extension that allows injection of any hosted CSS file into a webpage
JavaScript
Latest commit 348ed02 Aug 13, 2012 Ed Rooth version bump. icon fix
Failed to load latest commit information.
images icons are broken. weird Aug 13, 2012
README.md trivial Dec 6, 2011
background.js fixed all the things. now manifest v 2 compliant. Aug 5, 2012
loadcss.js major overhaul. refactored to be more modular. fixed having to click … May 9, 2011
manifest.json version bump. icon fix Aug 13, 2012
options.css fixed all the things. now manifest v 2 compliant. Aug 6, 2012
options.html
options.js

README.md

CSS Inject

CSS Inject logo A Chrome Extension that allows injection of any hosted CSS file into any webpage

Installation

Just download and install it like any other old chrome extension.

Download Available in Chrome Extension Gallery

Features

  • Specify any hosted CSS file to inject (local files must be hosted under http://localhost/ - security restriction of Chrome)
  • Single click toggles injection on/off
  • Native JavaScript only - no included libraries or unnecessary code to slow you down.

Why do I want this?

This is to aid in theming websites such as Wordpress or Tumblr. It's for those cases where you're developing a complex Stylesheet for a site template but you can't easily update the CSS file on the server.

Using this plug-in: you can work off a localhost hosted CSS file, just hit save, and see the results immediately. No more copying and pasting, or FTP-ing your CSS up to the server.

Other CSS manipulation plugins only inject their own static css, or make you copy and paste into a box.

I'm sure there's some other use cases too. If you have any, let me know!

Boring Copyright Stuff

Copyright (C) 2011 by Ed Rooth (www.edrooth.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.