Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An attempt to port the Firefox Extension

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
Cascade Server Chrome Extension
-------------------------------

Author: Syl Turner

Overview
--------
This is an attempt at porting the Cascade Server Firefox Extension over to Google Chrome.

Limitations
-----------
Google Chrome does not allow extensions to change the context menu (right-click).  To provide
similar functionality from the Firefox version to Google Chrome, we'll manipulate the DOM to
add buttons next to links in the UI.

It looks like they are planning on adding context menu to extension development: 
http://www.chromium.org/developers/design-documents/extensions/context-menu-api
It also looks like the expected functionality we need to replicate the Firefox extension is
a "future improvement:"
"Provide a mechanism for getting a handle to the precise node in the DOM where the menu was activate"

Until then, we can play with this DOM manipulation...

What are all these files?
-------------------------
/lib/jquery/jquery-1.3.2.min.js - we're using the jquery library
/styles/ - directory where a bunch of icons and the css file is located.  Many of those icons
aren't being used just yet, and just taken from the Firefox Extension project
/functions.js - Where all the core functionality for the extension is
/manifest.json - Chrome's manifest file.  If you need to add stuff to how the browser works,
or what files to include, it goes here.
/README - this.
Something went wrong with that request. Please try again.