Changeset 29 in bookmarks
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.cgi
r23 r29 1 1 #!/usr/bin/perl -w 2 2 use strict; 3 4 # bookmarklet to add a bookmark via the browser5 # javascript:(function(){window.open("http://grim.ath.cx/~peter/bookmarks?uri="+document.location+"&title="+document.title,"edit_bookmark","width=800,height=250")})()6 3 7 4 package BookmarkApp::Dispatch; -
trunk/list.tt
r22 r29 48 48 } 49 49 .cotags { 50 height: 100%;50 height: 75%; 51 51 border-top: 1px dotted #999; 52 52 border-bottom: 1px dotted #999; … … 149 149 </form> 150 150 </div> 151 <p> 152 <a class="bookmarklet" href="javascript:(function(){window.open(%22[% base_url %]?uri=%22+encodeURIComponent(document.location)+%22&title=%22+encodeURIComponent(document.title),%22edit_bookmark%22,%22width=800,height=250%22)})()" title="Javascript Bookmarklet">Make Bookmark</a> 153 </p> 151 154 </body> 152 155 </html>
Note: See TracChangeset
for help on using the changeset viewer.