News for hackers. Stuff that matters.
Re:Canned Emails – a minimal site with prewritten emails by amarraja on Saturday February 14, 2015 @09:40AM (#9049733)
Slightly tweaked your script to display inline

    $("h2 a").each(function(){
       var email = decodeURIComponent(this.href).slice(13).split("&subject=");
       var subject = email[1];
       var body = email[0].replace(/\n( )+/g, "\n");
       var parent = $(this).parent("h2")
       parent.after($("<div />").text(body));
       parent.after($("<h4 />").text(subject));
    });
Re:Canned Emails – a minimal site with prewritten emails by bramgg on Saturday February 14, 2015 @01:17PM (#9050292)
This is great! For anyone wondering, use this one.
Re:Canned Emails – a minimal site with prewritten emails by benbowdene on Saturday February 14, 2015 @02:19PM (#9050484)
SO much easier reading it this way :D