Skip to content
master
Go to file
Code
This branch is 10 commits ahead, 12 commits behind defunkt:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ext
 
 
 
 
 
 
 
 

README.markdown

dotjs

This is a fork of the original dotjs.

Differences from the fork:

  • Uses my apache server instead of starting a daemon on localhost
  • No error logging (404s are silent if you create 404.js and 404.css)
  • Custom vhost file for apache (vhost.conf).
  • Handles css files from ~/.css directory as well (using code from dotcss extension from here).
  • Handles wildcard domains via 404.js and 404.css. (These files will be run if no corresponding files are found).

Setup Instructions

  • Generate SSL Keys for your localhost, and import them in Chrome
  • Setup your vhost file for https to serve ~/.js/ and ~/.css properly (copy the two Location blocks from vhost.conf to your apache vhost).
  • Create a blank 404.js file in your ~/.js directory
  • Create a blank 404.css file in your ~/.css directory
  • You can enable the allow-insecure-localhost flag in Chrome as well if you are using a self-signed certificate

Why

  • I used stylish until I switched my laptop and lost all my custom styles.
  • I don't like the idea of running multiple web servers when I already use apache
  • I didn't like seeing 404 errors when I could do better.
  • This was a fun exercise

Licence

Licenced under the MIT Licence.

Credits

  • This is a modified version of the original dotjs and dotcss extensions by defunkt and stewart
  • Abhay Rana me@captnemo.in

About

Fork of the original dotjs extension with css and apache support

Resources

License

You can’t perform that action at this time.