I just have created an extension for Firefox called Monk Links. It creates a new context menu entry (Copy link as PM shortcut) that copies links from perlmonks.org, perlmonks.com or perlmonks.thepen.com to the clipboard while transforming it to the internal site format.
For example, if you invoke the context menu on a link like
and choose Copy link as PM shortcut, the text
will end up in your system's clipboard.
Then you can easily paste it wherever you want. In your article, the CB, etc.
Tested on WindowsXP and Firefox 1.0 only. Let me know if it does not work for your system.download version 0.2
download version 0.3
To install you need to save the xpi-file to disk and then do
That is because the perlmonk-server does not send the correct mime-type for the xpi-file. I'll contact jcwren to fix that.File->open file->open monklinks.xpi
You also have to restart Firefox after the install to make it work (just as with any other extension).
Added support for perlmonks.com, www is now optional.
Added .htaccess file as adviced by The Mad Hatter
Added version 0.3 that copes with cpan:// and kobes:// links and links from perlmonks.thepen.org.
bart has made various upgrades to the extension. However, there's still the version problem. In barts version runs only till FF 2.0. To get it run a in higher version do the following:
- Download the .xpi-file
- Rename it to .zip
- Extract the file install.rdf
- edit the file and replace <em:maxVersion>2.0</em:maxVersion> with the version of your FF
- put the file back in the .zip
- rename the .zip file back .xpi
- install the extension
holli, /regexed monk/