Safari extension for stewart's dotcss, css companion for defunkt's dotjs and wfarr's dotjs.safariextz
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Info.plist
README.md
dotcss.js
dotcss.safariextz
icon-128.png
icon-48.png
jquery.js

README.md

dotcss

dotcss is two(2) things:

  1. A tiny web server that runs on your machine, serving CSS files out of ~/.css
  2. A Chrome extension that fetches these CSS files and injects them based on their filename.

The files are requested on a per-page basics, based on the hostname. For example, if you go to https://github.com, ~/.css/github.com.css would be injected into the page.

This makes it super simple and easy to change and improve the look of your favorite sites.

How it works

Chrome extensions can't access the filesystem, so dotcss runs a tiny web server on port 1243 that serves files out of the ~/.css folder.

Requirements

  • OS X or Linux
  • Ruby 1.8 or newer
  • rake (gem install rake)
  • Chrome or Chromium
  • /usr/local/bin in your $PATH
  • on Linux: exo-open (Can be found in exo-utils on Ubuntu. Required until Bug #378783 in xdg-utils is fixed.)

Installation

  1. Ensure you have stewart's dotcss installed and running
  2. Install the extension

Thanks