Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
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


holli, /regexed monk/

In reply to Monk Links - Copy Perlmonks-links to the clipboard in on-site-format by holli

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (9)
    As of 2014-12-17 20:07 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (31 votes), past polls