Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Chromium - ~/.js

branch: master


dotjs-universal is a Chrome/Chromium browser extension that executes JavaScript and CSS files on websites based on their filename.

Unlike the original, this version does not run it's own local fileserver, all the files are located within the extension's own directory instead, so it'll work on any system!

If you navigate to, dotjs will execute /scripts/ and/or /styles/ if either of the files exist.

This makes it super easy to spruce up your favorite pages using JavaScript or CSS.

Bonus: All files have jQuery 2.1 loaded, regardless of whether the site you're hacking uses jQuery.

Double bonus: /scripts/default.js is loaded on every site, meaning you can stick plugins or helper functions in it.

Triple bonus: By going to the extension options you will be presented by the absolute path to the scripts and styles directory.


// swap google logo with trollface
    background: 'url(// no-repeat',
    backgroundSize: 'auto 95px'



"I almost wish you could just stick JavaScript in ~/.js. Do you know what I'm saying?"

Other versions

Other browsers

Something went wrong with that request. Please try again.