Fellow monks,
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
http://www.perlmonks.org/?node_id=12345,
and choose Copy link as PM shortcut, the text
[id://12345]
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
Caveat:
To install you need to save the xpi-file to disk and then do File->open file->open monklinks.xpi
That is because the perlmonk-server does not send the correct mime-type for the xpi-file. I'll contact jcwren to fix that.
You also have to
restart Firefox after the install to make it work (just as with any other extension).
Update:
Added support for
perlmonks.com,
www is now optional.
Update:
Added
.htaccess file as adviced by
The Mad Hatter
Update:
Added version 0.3 that copes with
cpan:// and
kobes:// links and links from
perlmonks.thepen.org.
Update:
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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.