TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Canned Emails – a minimal site with prewritten emails

137 点作者 davidmerriman超过 10 年前

17 条评论

bramgg超过 10 年前
Today I contributed to the greater good of society:<p><pre><code> var output = &quot;&quot;; $(&#x27;h2 a&#x27;).each(function(i) { output += &quot;TITLE: &quot; + $.trim(this.innerHTML) + &quot;\n&quot;; var email = decodeURIComponent(this.href).slice(13).split(&quot;&amp;subject=&quot;); output += &quot;SUBJECT: &quot; + email[1] + &quot;\n&quot;; output += &quot;BODY:\n&quot; + email[0].replace(&#x2F;\n( )+&#x2F;g, &quot;\n&quot;) + &quot;\n\n\n\n&quot;; console.log(output); }); </code></pre> That being said I love the site :)
评论 #9049733 未加载
评论 #9049656 未加载
madeofpalk超过 10 年前
Neat. Would be handy though if you could preview the text without it opening a mailto
评论 #9048732 未加载
rubiquity超过 10 年前
I can tell these are written really well because the voice that I hear in my head as I read them is your typical insincere Silicon Valleyite. Well done!
评论 #9048973 未加载
Aoyagi超过 10 年前
Wow, so much potential.<p>There&#x27;s some weird formatting going on though. I might be using slightly old and lightweight e-mail client (M2 in Opera12), but I still don&#x27;t think it should look like this <a href="http://puu.sh/fTYSp/c4f0a3bb84.png" rel="nofollow">http:&#x2F;&#x2F;puu.sh&#x2F;fTYSp&#x2F;c4f0a3bb84.png</a>
评论 #9050698 未加载
评论 #9049442 未加载
评论 #9049720 未加载
k_sze超过 10 年前
The fact that there&#x27;s a canned e-mail for breaking up is slightly disturbing.
评论 #9049936 未加载
bonn1超过 10 年前
Still I don&#x27;t know how to avoid that the annoying Apple mail program opens all the mails and not Gmail&#x27;s compose view within in the browser. Thus, I&#x27;d also agree to just get a text preview from the text and maybe not just one version but many curated from users as a next feature.
评论 #9049064 未加载
thefox超过 10 年前
It would be better if you set the body for each email with JavaScript and the new lines with &quot;%0A&quot; instead of the indented HTML code. Or don&#x27;t use indented HTML code for the body blocks. The indented HTML code has also effect of the style of the email: the first line is normal, the second line and all following lines are indented with 25 spaces. This looks strange.<p>However, I like the idea of this website.
huhtenberg超过 10 年前
Ironically enough clicking on &quot;apologize from problem &#x2F; bug&quot; crashed Firefox.
daledavies超过 10 年前
The email body seems to be prefixed with the following, which is showing in my webmail editor (Roundcube). Is it a problem with my configuration or this site?<p>&lt;!-- html ignored --&gt;&lt;!-- head ignored --&gt;&lt;!-- meta ignored --&gt;&lt;body&gt;&lt;p&gt;
评论 #9049380 未加载
striking超过 10 年前
I thoroughly enjoy the fact that there&#x27;s a breakup email. Hopefully we&#x27;ll get more canned emails in the future.
SomeCallMeTim超过 10 年前
&quot;apologize from problem &#x2F; bug&quot; should be &quot;apologize for...&quot;<p>Otherwise, very cool.
thefox超过 10 年前
You should never ask to ask for a question. And you shouldn&#x27;t announce your question.<p>Just ask.
评论 #9049388 未加载
tobyhinloopen超过 10 年前
Thanks, I really needed the breakup letter!
username223超过 10 年前
Does their &quot;unsubscribe aggressively&quot; link work for their own site? I never want to see anything generated by this.
bcx超过 10 年前
This is pretty awesome, thanks dave!
curiously超过 10 年前
nothing happens when I click on the links.
评论 #9049578 未加载
maxxxcohen超过 10 年前
This is so misleading, clearly they are not prewritten.