Recent Changes - Search:

PmWiki

pmwiki.org

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Addum Linkum Bookmarkletum

This is the Cookbook:AddLinkBookmarklet test page

This page demonstrate the Cookbook:AddLinkBookmarklet script, which makes it easy to add urls to a page while you're surfing the web.

First, bookmark the following link in your browser (the link is created by the (:addlink:) markup):

+=Test.AddLinkBookmarklet

Now, you can go surf the web to non-pmwiki.org sites. When you find a page that you'd like to list here, simply click the bookmark you created in the step above. You'll be brought to the "edit page" for this page, with the url of the page you were viewing already added to the bottom of the page -- no need to re-enter it or perform copy/paste actions.

Comments

To be sure that this is working properly, try to bookmark a page other than this one. If it takes you to an editing screen for this page and inserts the following link (to this page) then it isn't working properly.

For people who are as dense as me, if it doesn't work properly (see above) then take a look at the address stored in your bookmark:

  • It should start with javascript: rather than with http:.
  • If it starts with http: then go back to the link and "copy" it as follows:
    • Right click on the bookmark (or for Mac, hold down Ctrl while you click)
    • Select the copy link option, and then
    • Paste the copied link into the address field of a bookmark.

Sandbox

Edit - History - Print - Recent Changes - Search
Page last modified on March 11, 2010, at 09:52 PM
 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.10 00.06 MarkupToHTML begin
 3: 00.14 00.11 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 4: 00.15 00.11 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 5: 00.32 00.28 MarkupToHTML end
 6: 00.34 00.29 MarkupToHTML begin
 7: 00.40 00.34 MarkupToHTML end
 8: 00.40 00.34 MarkupToHTML begin
 9: 00.41 00.36 MarkupToHTML end
10: 00.42 00.36 now