Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Here is a Greasemonkey script
// ==UserScript== // @name hide [download] links for class embed-code-dl // @namespace,2009-08-22:Anonymous%20Monk // @description hides (display none) ugly [download] links // @include* // @include* // @include* // @include* // @include* // @include* // ==/UserScript== //toggleDisplay("tagname","classname"); //toggleDisplay("tagname"); function toggleDisplay(t,c){ var e = document.getElementsByTagName(t); for(var i = 0; i < e.length; i++){ if(c){ if(e[i].className == c) { e[i].style["display"] = ( e[i].style["display"] == "no +ne" ? "inherit" : "none" ); } } else { e[i].style["display"] = ( e[i].style["display"] == "none" +? "inherit" : "none" ); } } } toggleDisplay("div","embed-code-dl");
Here is a bookmarklet. To use, copy below code to html file, open in browser, and drag the link into your bookmarks
<a href="javascript:(function()%7B%20%20function%20toggleDisplay(t,c)% +7Bvar%20e=document.getElementsByTagName(t);for(var%20i=0;i%3Ce.length +;i++)%7Bif(c)%7Bif(e%5Bi%5D.className==c);%7D%7Delse% +t%22:%22none%22;%7D%7D%7DtoggleDisplay(%22div%22,%22embed-code-dl%22) +;%20%20%7D)()">togDisDL</a>
clicking the bookmark toggels hide show for [download] link.

In reply to Re: new feature, code tags get added [download] link by Anonymous Monk
in thread new feature, code tags get added [download] link by Anonymous Monk

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!
  • 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, 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (5)
    As of 2018-06-22 06:36 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (122 votes). Check out past polls.