<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on The blog of Mr Wade</title><link>https://www.mrwade.co.uk/tags/javascript/</link><description>Recent content in Javascript on The blog of Mr Wade</description><generator>Hugo</generator><language>en-GB</language><copyright>Copyright © 2026, Michael Wade; all rights reserved.</copyright><lastBuildDate>Fri, 01 Mar 2013 11:48:58 +0800</lastBuildDate><atom:link href="https://www.mrwade.co.uk/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting started with Nodejs, MongoDB and Tower.js</title><link>https://www.mrwade.co.uk/posts/getting-started-with-node-mongodb-and-towerjs.aspx/</link><pubDate>Fri, 22 Feb 2013 11:48:00 +0800</pubDate><guid>https://www.mrwade.co.uk/posts/getting-started-with-node-mongodb-and-towerjs.aspx/</guid><description>&lt;p&gt;I have recently purchased a raspberry pi to play with, my primary reason for getting one was to have a lightweight linux server that I could develop for. There has been lots of good things said about NodeJS recently and so I wanted to see what all of the hype was about and try and create a basic chat application.&lt;/p&gt;
&lt;p&gt;Most of my time programming has been spent working on .NET MVC apps and so i wanted to choose a framework where I could reuse my knowledge about MVC. After reading the excellent stack overflow post comparing 2 popular &lt;a href="http://stackoverflow.com/questions/9897017/railwayjs-vs-towerjs/9904446#9904446" title="SO Comparison"&gt;node js frameworks Tower.js and Railway.js&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Removing all BlogEngine.net Comments with JavaScript</title><link>https://www.mrwade.co.uk/posts/removing-all-blogenginenet-comments-with-javascript.aspx/</link><pubDate>Fri, 10 Feb 2012 12:29:00 +0800</pubDate><guid>https://www.mrwade.co.uk/posts/removing-all-blogenginenet-comments-with-javascript.aspx/</guid><description>&lt;p&gt;I have had quite a lot of spam on this blog, but never got round to clearing it all out. I couldnt find a function that would let me remove all of the comments from all of my posts so I wrote a little bit of javascript to automate the process.&lt;/p&gt;
&lt;p&gt;Using Chrome&amp;rsquo;s inspector and script console run this line of code on your comments page. &lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;setInterval(function(){ 
    $(&amp;#34;.chk&amp;#34;).attr(&amp;#39;checked&amp;#39;, true);
    ProcessSelected(&amp;#39;Delete&amp;#39;, &amp;#39;Pending&amp;#39;); 
}, 800);
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Replacing &amp;lsquo;Pending&amp;rsquo; with &amp;lsquo;Approved&amp;rsquo; if you need to clear out those as well.&lt;/p&gt;</description></item></channel></rss>