remy / cssprefix

A tool to help developers include the right vendor prefixes in their sites
http://cssprefix.com
53 stars 7 forks source link

Support for local websites #1

Open paulozoom opened 12 years ago

paulozoom commented 12 years ago

Problem

The proposed URL for checking websites, (http://cssprefix.com/[URI]) doesn't work with local web pages, either with a local webserver or plain file://.

This means that the developer needs to:

  1. Publish the website with incomplete CSS prefixes.
  2. Run the website through CSS Prefix.
  3. Download the updated code.
  4. Update their CSS.
  5. Re-publish the website.

This is a sub-optimal workflow. If CSS Prefix supports local web pages, the first deploy of the website could already have all the needed CSS prefixes.

Possible solution

I believe there are three ways to do this:

  1. Pasting the code to CSS Prefix
  2. Uploading the code to CSS Prefix (drag & drop would be nice)
  3. Developing browser extensions.

Browser extensions are able to do cross-domain requests, but I'm not sure if they can make requests from file:// websites.

remy commented 12 years ago

Drag and drop is easy, but only the CSS file on it's own: http://jsbin.com/utetay/15