Brian Alvey

Comments (5)

Add a Comment Inappropriate or promotional comments may be removed.

  • Reply

    sarah gilbert 755 days ago

    much though i'd love that free subscription, i don't have an answer. i do love your bookmarklet though! i was wishing for one, it's like you read my mind :)

  • Reply

    mike 755 days ago

    You could add a regexp to strip out the HTML before you do the substring(0,350), so it ends up looking like &C=' + escape(CC.replace(/]*>/).substring(0,350)). Something like that, my regexp is not up to snuff lately.

  • Reply

    Colm 755 days ago

    nice url.

    This should help it.
    str.replace('/]*>/g', '');
    also escape after getting the 350 chars.

    So gives the following link :

    /g', '');
    str = str.substring(0,350);
    window.location='http://www.netscape.com/submit/?U='+escape(location.href)+'&T='+escape(document.title)+'&C='+escape(str);">

  • Reply

    Colm 755 days ago

    jeepers, really got minced up there...
    let me try again.

    str.replace('/<S[^>]*>/g', '');
    str = str.substring(0,350);
    then escape(str)

    i wont try the url.

  • Reply

    Brian Alvey 755 days ago

    The comments form eats script code. ;-)

    Maybe we'll switch it to expose all script code as visible tags some day.

Add a Comment

Inappropriate or promotional comments may be removed. To create a clickable link, simply type the URL (including http://) and we will make a link for you. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags, but if you're into that kind of thing, you can use any of the following tags: b, i, strong, em, a (href only), p and br.

Click one of the three commenter types below. Member comments are added immediately once you confirm your email address. Anonymous comments are moderated by our editorial staff.

Email me

  

Comment Preview

Your Name 1 min ago

Preview your comment here.