Blog Archives

Display password field text using Google Chrome

April 22, 2012
By Mike
Display password field text using Google Chrome

If you are anything like me, you probably keep forgetting various passwords for various websites. Yes, Google Chrome, just like most other web browsers, remembers passwords for you, but what if you’ve forgotten the password and need to enter it on another site? Following is a little trick that you can use to display...

Read more »

Getting google.maps.adsense.AdUnit to look like the old GAdsManager

June 28, 2011
By Mike
Getting google.maps.adsense.AdUnit to look like the old GAdsManager

One of the first things I noticed when porting Plak from Google Maps API v2 to Google Maps API v3, was that AdSense ads, displayed by google.maps.adsense.AdUnit, didn’t look quite the same as ads displayed by the old GAdsManager. In the ad unit options I used position: google.maps.ControlPosition.RIGHT_BOTTOM, and while this does put the...

Read more »

The problem with Ad Dynamo

June 27, 2011
By Mike

I’ve been using Ad Dynamo to publish ads on the Plak site for a few months. While the service has, in general, been more-or-less acceptable, there have been a few problems, which have eventually led me to stop using their service. For those thinking about using Ad Dynamo, the following might help you to...

Read more »

The “new look” Times Live website

June 15, 2011
By Mike
The “new look” Times Live website

I guess that moving away from Microsoft rubbish was too much for them to handle. This is what you get when you take .Net developers and introduce them to Apache and Tomcat: -

Read more »

Bypassing XSS security limitations for AJAX calls

June 7, 2011
By Mike

While XSS security limitations, imposed by most browsers, do make a lot of sense, the “same domain different port” limitation really does overstep the bounds of security anal retentiveness. The “same domain different port” limitation works like this: Let’s say you have a web page that loads from http://mydomain.com/, and on that page you...

Read more »

Installing Node.js on CentOS 5.5

June 3, 2011
By Mike

For those of you that don’t know about Node.js, basically, it is a highly scalable server-side version of JavaScript, which can be used in place of (for example) PHP, and it doesn’t require a web server like PHP does. If you’d like to find out a bit more about Node.js, have a look here...

Read more »

How to load Google Translate only when it’s required

October 30, 2010
By Mike

If you are anything like me, you probably also have a love-hate relationship with Google Translate tool. Love it because it is easy to use and does a fairly good translation job, and hate it because it makes page loading so damn slow. Google suggests that you use the Translate tool by copying the...

Read more »

Sedo quality? Yeah right!

August 6, 2010
By Mike

A few days ago I received the following email from Sedo: - Dear Sedo Member, Our advertising provider has notified us that a significant portion of the traffic associated with your domains has been deemed “spam” traffic and is therefore ineligible for Sedo’s parking program. As part of Sedo’s responsibility to our advertising partners...

Read more »

Vulnerability in Firefox – Including exploit

July 22, 2010
By Mike
Vulnerability in Firefox – Including exploit

Ever since my spat with the “Firefox security experts” in November 2009, Wizz RSS has been using two levels of HTML sanitation. This has been due to the fact that nsIScriptableUnescapeHTML.parseFragment() doesn’t perform as advertised. According to people like Wladimir Palant, nsIScriptableUnescapeHTML.parseFragment() is the only way to ensure that HTML, rendered within the Chrome...

Read more »

Google’s top secret PR algorithm leaked!

July 13, 2010
By Mike

private int getPR() {     Random generator = new Random();     int pr = generator.nextInt(11);     return pr; }

Read more »