Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

new feature, code tags get added [download] link

by Anonymous Monk
on Aug 22, 2009 at 02:35 UTC ( #790517=monkdiscuss: print w/replies, xml ) Need Help??

Today a new feature was added, if you use


it gets turned into

code here
Can we please change that back to the old way? Or if you wish to keep it, made it #download, or get rid of [download] text, and turn the entire code content (or the first 10 characters) into a link?

Example 1

#!/usr/bin/perl -- use strict; use warnings;
For example 1 you can made special div css class that doesn't underline links.

Example 2

#!/usr/bin/perl -- use strict; use warnings;
For example 2 use span tags.

An entirely better option would like this paste-it example, you can select the code without selecting line numbers; a download link wouldn't be required at all.

Thank you for listening

Replies are listed 'Best First'.
Re: new feature, code tags get added [download] link
by Tanktalus (Canon) on Aug 22, 2009 at 03:51 UTC

    Or, you could create an account, log in, go to your Display Settings and turn it off if you don't like it.

    You have a choice. It's free.

      I am aware of that option, thanks, but no thanks
        That's too bad. I have no problem with that feature, not sure why you would object to it. It is a reasonable default for users who don't, for some reason, create an account.

        If you really don't like it I'm sure GreaseMonkey, Stylish, or even editing your userContent.css file (or similar solutions for non-Mozilla browsers) would provide an answer.
Re: new feature, code tags get added [download] link
by Anonymous Monk on Aug 22, 2009 at 10:52 UTC
    Here is a Greasemonkey script 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://790517]
Approved by Tanktalus
[Discipulus]: mornign nuns and monks!
[1nickt]: Woah you can get Krispy Kreme doughnut-Lotus Biscoff hybrids!
[1nickt]: Biscuit technology has evolved since I left the UK, obviously.
[virtualsue]: we have a jar of the spread: https://www. webapp/wcs/stores/ servlet/gb/ groceries/lotus- caram-spread- smooth-400g?langId =44&storeId=10151& krypto=VEjeoyIieB6 2oiiKUSbS %2Foxs9BpfJxZ95MW6 y6NOiYDYlKgl6SghbS BZf7CU5b6QA00pmYz7 XmfTYYKpoIiUivBBOR y6MI
[virtualsue]: yuk url Original- Caramelised-Spread -Smooth/dp/ B002LA793I
[1nickt]: So decadent, I love it! "Frequently bought together ..." the biscuits *and* the spread ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-11-20 11:51 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (286 votes). Check out past polls.