Submitting Comments Hangs WordPress

If submitting comments “hangs” your wordpress blog, but the comment actually gets through check if you’ve got email notifications set. If email notification isn’t working posting a comment will seem to “hang” :)

Thanks to this post at wordpress.org : http://wordpress.org/support/topic/submitting-comments-hangs-wordpress

Javascript date parsing in IE8

I just came across a little bug quirk parsing dates in IE8.

This will not work:

var d = new Date('2011-12-30 04:52:15Z');

where as this will:

var d = new Date('2011/12/30 04:52:15Z');

Apparently IE8 has issues with the ‘-’ character.

gpMin update v0.0.0.12

I’ve update gpMin to fix the issues that occurred since the last Google+ update – i.e gpMin stopped working :)

The latest changes included a total change of the CSS class names – looks like they’re compressing their CSS now. Hopefully the next release will keep them the same.

As usual, get it in the Chrome store here.

gpMin in a non-extend-able browser

gpMin IconHere’s a trick to get gpMin running in a browser other than Chrome/Firefox – I use it in the browser of my Acer A500 Android Tablet.

Add this link to your bookmarks: Apply gpMin

And run it whenever you load Google+. It’ll remain as long as you don’t refresh the page – in which case, just run it again.

The link runs the following code:

javascript: (function() {
  var script = document.createElement("script");
  script.type = "text/javascript";
  script.src = "http://gpmin.googlecode.com/git/gpmin.js";
  script.onload = function() { gpMin(document); };
  document.body.appendChild(script);
})();

For non-programmers, it takes the gpMin extension javascript file (from gpmin.googlecode.com) and runs it in your browser (similar to how the extension works).

Ps. This is a major hack and is a form of Cross-site scripting (XSS) enabling the gpMin code to be injected into your secure (https) Google+ page. It should be noted that this is what ANY extension you use on G+ is doing.