Skip to content

Commit

Permalink
Adjust readme and the path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Dobriakov committed Jan 31, 2012
1 parent 2588b50 commit a36f4f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bookmarklet.js
@@ -1,7 +1,7 @@
var aardvark = {

isBookmarklet: true,
resourcePrefix: "http://localhost/aardvark/",
resourcePrefix: "http://localhost/readable/",
srcFiles: [
'aardvarkStrings.js',
'aardvarkUtils.js',
Expand Down
14 changes: 7 additions & 7 deletions readme.txt
@@ -1,10 +1,10 @@
How to extend Aardvark
Based on on the [Aardvark browser extension](http://karmatics.com/aardvark/)

First, save the file bookmarklet.js to your own machine (if you are
running a web server) or your web host, and make sure it is in a
directory where it can be seen as a web ("http://") file. You may name
it anything you please. Then create a bookmark and cut and paste the
following as the "address":
## Usage

javascript:document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','http://localhost/aardvark/bookmarklet.js')
Clone locally, e.g. in the `/var/www/readable` folder and make available over http.

Then create a bookmark and cut and paste the following as the "address":

javascript:document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','http://localhost/readable/bookmarklet.js')

0 comments on commit a36f4f0

Please sign in to comment.