/dotjs-fluid

Userscript to put dotjs into your Fluid browsers

Primary LanguageJavaScriptMIT LicenseMIT

Dotjs Fluid (dotjs.user.js)

Userscript to put dotjs into your Fluid browsers. It may also work in other browsers, possibly with some help.

Installation

  1. Make sure you've already installed dotjs (it doesn't matter if you haven't installed the chrome extension).
  2. Download jQuery into ~/.js/jquery.js (minified is fine)
  3. Add userscript to Fluid
  • For Fluid version 1.x (tested with v1.2):
    1. Open your Fluid browser.
    2. From the menu, select "Window" -> "Userscripts".
    3. Add a new userscript config using "*" for the URL pattern.
    4. Paste the userscript into the editor.
  • For earlier versions of Fluid:
    1. Open your Fluid browser.
    2. From the menu, select the script icon -> "Open Userscripts Folder" (Ctrl + Command + O).
    3. Put the userscript inside the opened folder.
    4. From the menu, select the script icon -> "Reload All Userscripts" (Ctrl + Command + R).

Not working yet?

  • Double check "dotjs" is checked in the menu under the script icon.

Rationale

This one's a little more complex than the original dotjs; we can't include multiple scripts via userscripts, and embedding jQuery means it will interfere with the window because we're running in the same context in most poor-man's userscript implementations (like Fluid's). Instead, jQuery should be put in ~/.js/jquery.js (minified is fine) and it will be included without affecting the page using noConflict unless jQuery is already on the page.

Problem?

Add an issue on the github issues page:

https://github.com/sj26/dotjs-fluid/issues

License

The MIT License, see LICENSE.