FacebookNewspaperAppArticleLinkBreakout

I was tired of clicking on a link to a newspaper article in my Facebook timeline that a friend had read, and then being prompted to add the app - with no option to just read the original article (perhaps for if I didn't want to add the app?). Sure, I could search for the article by its title, but that seemed a little too manual.

I was only really interested in the articles from The Guardian, so I made a Safari extension (FacebookNewspaperAppArticleLinkBreakout) that alters the links to these articles so that they are standard links again - no more annoying requests to add the app getting in the way.

It may later support articles from The Independent, if my Facebook friends post any interesting articles from it (the workaround requires that the original article URL be part of the link, which not all the newspapers' implementations seem to do).

The code the extension applies is:

setInterval(function() {
var links = document.getElementsByTagName('a');
for (i = 0; i < links.length; i++) {
if (links[i].href.match(/^http\:\/\/www\.guardian\.co\.uk\//) && links[i].href.match(/\?/)) {
links[i].href = links[i].href.substring(0, links[i].href.indexOf('?'))
links[i].target = '_blank';
links[i].onmousedown = function() {};
}
}
}, 1000);

This is only applied to pages on Facebook.

setInterval is used because additional newsfeed content can be loaded dynamically.

Tagged and .

Internet Explorer / IE ignoring certain CSS when printing

Is Internet Explorer 7 or 8 ignoring (some) CSS rules when printing or generating a print preview (but the page displays fine in the browser)? Are you using HTML5 by any chance? Are the rules being ignored those that use the new HTML5 tags in their selectors? Congratulations, you've found another bug in IE 7 & 8 (it looks to of been fixed in IE 9).

Yes, even if you've used the document.createElement('tagname'); JS fix to allow you to apply styles to the new HTML5 tags in IE, this is a different issue - which specifically affects printing or generating a print preview.

So, to fixes. There is the IE Print Protector for printing HTML5 pages in Internet Explorer (pre v9). This JS library replaces the new HTML5 tags with existing tags (such as divs) when the page is printed and applies the same styles to them.

This isn't the only solution however. The new HTML5 tags do not have to be replaced with other tags - they just have to have the CSS rules (re)applied directly to them through JS. You could hard-code these into a JS file - or you could write some JS which reads the CSS rules and (if their selectors use the new HTML5 tags) applies the same rules directly to the relevant elements.

Here is an example (that uses the Prototype 1.7 JS library) which handles the header, nav and footer tags (but could easily be expanded for other tags):

document.observe('dom:loaded', function() {
if (Prototype.Browser.IE && // oh how I loathe thee..
(navigator.userAgent.match(/MSIE 7/) || navigator.userAgent.match(/MSIE 8/))) {
/* this compensates for IE 7 & 8 not applying the styles of CSS selectors
which use the new HTML5 tags - but only when printing a page! */
var cssSelectorsAndRules = new Array();
for (var i = 0; i < document.styleSheets.length; i++) {
/* this is the IE 'processed' version of the original content (no comments, individually
separated-out selectors (and duplicated 'shared' rules), all rules on a single line for
a selector, etc.) */
var lines = document.styleSheets[i].cssText.split("\n");
var html5TagSelector = '';
var rulesStr = '';
for (var lineNum = 0; lineNum < lines.length; lineNum++) {
if (lines[lineNum].match(/\{/) &&
lines[lineNum].match(/(?:(?:header)|(?:nav)|(?:footer))/)) {
// HTML5 tag selector line
html5TagSelector = lines[lineNum].sub(/\{/, '').strip().toLowerCase();
} else if (!html5TagSelector.empty()) {
if (!lines[lineNum].match(/\}/)) rulesStr = lines[lineNum].strip().toLowerCase();
else { // end of rules for a HTML5 tag selector
cssSelectorsAndRules.push(new Array(html5TagSelector, rulesStr));
html5TagSelector = '';
}
}
}
}
/* because of a bug in Prototype 1.7 in IE 7 we can't rely on CSS selectors which
use the new HTML5 tags, so we add an id attribute to the tags of the same name */
if (navigator.userAgent.match(/MSIE 7/)) {
$$('body')[0].descendants().each(function(element) {
if (element.tagName == 'header') element.writeAttribute('id', 'header');
else if (element.tagName == 'nav') element.writeAttribute('id', 'nav');
else if (element.tagName == 'footer') element.writeAttribute('id', 'footer');
});
}
cssSelectorsAndRules.each(function(cssSelectorAndRules) {
var selector = cssSelectorAndRules[0];
// change to id instead of tag selector to match the altered markup
if (navigator.userAgent.match(/MSIE 7/)) {
selector = selector.replace(/((?:header)|(?:nav)|(?:footer))/, '#$1');
}
$$(selector).each(function(element) {
var styles = {};
var rulesArray = cssSelectorAndRules[1].split(';'); // index 1 is the rules
rulesArray.each(function(ruleStr) {
var ruleParts = ruleStr.split(':');
styles[ruleParts[0].strip().camelize()] = ruleParts[1].strip();
});
element.setStyle(styles);
});
});
}
});

Unfortunately, due to a bug in Prototype 1.7 in IE 7 (due to be fixed in v1.7.0.1 apparently), we have to employ an additional measure for IE 7 - adding an id to the HTML5 tags, that we then use to apply the CSS rules. In this example, it adds an id of "header" to the header tag, an id of "nav" to the nav tag, and so forth. Obviously this is not ideal and may potentially conflict - so this may need to be tweaked, depending on your setup. Prototype 1.7.0.1 doesn't seem to have an official release date has yet ("soon-ish" was mention back in July). Alternatively, if you're using a locally hosted copy of the Prototype 1.7 library, you can try patching your local version with this proposed fix.

Tagged , , and .

Android bitmap image / graphic reporting incorrect / wrong pixel size / dimensions

Is a bitmap image / graphic you've loaded in your Android code reporting its dimensions different from what you know it really is - even though all you've done with it is BitmapFactory.decodeResource?

Did you put your image in the drawable directory? (thinking drawable-hdpi, drawable-mdpi and drawable-ldpi were for different resolution graphics - but 'drawable' has no dpi reference in the name, so why would items loaded from here have any resolution specific measures applied?)

Well you (and I) were wrong. Images loaded from the drawable directory are automatically resized, depending on the resolution you're working in - not always what you want (nor would expect when there are other drawable directories which explicitly reference different dpi levels).

To prevent this, create a new directory called 'drawable-nodpi' (at the same level as the drawable directory) and move your images / graphics into there. You still use the same R.drawable.whatever to reference them - but they won't have any automatic scaling applied.

If Eclipse gives you any trouble, use Project > Clean... (which seems to rescan the drawable directories).

Tagged .

Writing a CUPS filter for Mac OS X Snow Leopard (Mac OS v10.6)

I wanted to be able to save a PDF version of anything I printed automatically - without having to manually generate the PDF as a separate action, or needing to send the documents to print twice - once to a physical printer, then to a virtual printer.

My solution was to dig into the CUPS (Common UNIX Printing System) components in Mac OS X. CUPS uses a series of filters (command line programs) to convert a document from its original content into a PostScript file for sending to the printer (assuming a PostScript printer that is).

By working with configuration files, it is possible to insert an additional filter step (my own program) into the standard filter chain - giving me access to the PostScript content before it is sent to the printer (from which a PDF can then be easily generated by calling existing command line programs).

The first stage is to add an entry to the filters pipeline.

If you inspect the contents of:

/usr/share/cups/mime/

There are 4 files:

apple.convs
apple.types
mime.convs
mime.types

It's worth reading the contents of these (especially the comments) - but we're not going to edit these files. Some things worth noting are:

From /usr/share/cups/mime/mime.convs

# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
# VERSIONS OF CUPS. Instead, create a "local.convs" file that
# reflects your local configuration changes.
# Format of Lines:
#
# source/type destination/type cost filter
# All filters *must* accept the standard command-line arguments
# (job-id, user, title, copies, options, [filename or stdin]) to
# work with CUPS.

From /usr/share/cups/mime/apple.convs

# The "cost" field must be less than the value for the same entry
# in mime.convs so that these filters replaces the ones defined
# in that file.

So, based on this, we will create 2 new files in the same directory:

sudo touch /usr/share/cups/mime/local.convs
sudo touch /usr/share/cups/mime/local.types

The contents of /usr/share/cups/mime/local.convs should be:

application/postscript application/foo 1 bar
application/foo application/vnd.cups-postscript 1 pstops

The contents of /usr/share/cups/mime/local.types should be:

application/foo

We're introducing a new mime type locally and we're replicating the application/postscript to application/vnd.cups-postscript conversion with 2 steps, both of which have a lower 'cost'; the option we're 'replacing' is the following line from /usr/share/cups/mime/mime.convs

application/postscript application/vnd.cups-postscript 66 pstops

Note that we're using the same program to handle the conversion (pstops), but that our combined 'cost' is not a realistic one - it's deliberately lower so that our filter(s) will be picked; we're not altering any of the existing configuration files (there is no need to comment things out).

The second stage is to add the filter program itself.

Here is an example written in PHP (but intended to be run as a command line program):

#!/usr/bin/php
<?php

$arguments = array();
$arguments['job'] = $_SERVER['argv'][1]; // $_SERVER['argv'][0] is the program path
$arguments['user'] = $_SERVER['argv'][2];
$arguments['title'] = $_SERVER['argv'][3];
$arguments['copies'] = $_SERVER['argv'][4];
$arguments['options'] = $_SERVER['argv'][5];

if (count($_SERVER['argv']) == 7) {
$postscript = file_get_contents($_SERVER['argv'][6]);
} else {
$postscript = stream_get_contents(STDIN);
}

/*
Here you could:
- write the arguments to a file
- write the PostScript content to a file
- call the pstopdf program (passing the PostScript file path) to generate a PDF file from the PostScript file (it will be generated in the same directory that the passed PostScript file resides in)
- modify the PostScript before it is passed to the next filter (if you know what you're doing - watch out for errors!)
*/

echo $postscript; // for passing on to the next filter
exit;

The filter programs reside in:

/usr/libexec/cups/filter/

Following the example, this file would be saved as simply 'bar' (it does not have a .php extension). It's important to note that your program should have the same owner, group and permissions as the other filters in the directory; if you're using a symlink, both the symlink and the program it references must have these same owner, group and permissions as well. Otherwise you will receive errors when try to print ("The printer software was installed incorrectly. Please reinstall the printer's software or contact the manufacturer for assistance.") and the cups error_log (at /private/var/cups/error_log - use the Console app) will report something similar to:

Unable to execute /usr/libexec/cups/filter/bar: insecure file permissions (0100755)
Unable to start filter "bar" - Operation not permitted.
Stopping job because the scheduler could not execute a filter.

Tagged , , and .

MailChimp API sending with us-ascii charset instead of UTF-8?

If you're using the MailChimp API to create campaigns with fully custom HTML & text versions and you're working in UTF-8 - but the emails come through with a charset of us-ascii instead of UTF-8, try adding a BOM to the content being supplied in the API call.

Tagged and .

NV21 / YUV to greyscale (or grayscale) conversion for Android camera preview

This was very helpful (and took a while to find): NV21 / YUV to greyscale (or grayscale) conversion for Android.

If you only need grayscale information, the first (width * height) bytes of the preview are provided as unsigned byte intensities.

If you call print on the byte array entries directly the values are incorrect (they are presumed to represent signed integers); you'll need to convert each byte value to an unsigned integer yourself:

int value = (int) _data[i] & 0xFF;

(this may not be the most optimal way, but it seems to work).

The specifics of the format are detailed at YUV pixel formats at FOURCC.org (you'll need to read the NV12 entry as well) but these didn't make sense until I had read the post in the first link.

Tagged , and .

Mac BBC iPlayer Desktop no window problem

Every so often, when I open the BBC iPlayer Desktop program on my Mac, no window appears. Restarting the program has no effect. The official suggestion is to remove the program and its associated files to perform a reinstall - which works - but this means losing my existing downloads.

Instead of deleting the program and all associated files, if I quit the BBC iPlayer Desktop program and simply move this file out of its folder:

/Users/<name>/Library/Application Support/Adobe/AIR/ELS/BBCiPlayerDesktop.blah/PrivateEncryptedDatai

The program then creates this file again on relaunch. Initially, existing downloads say "License Pending" (and the videos cannot be watched), but with an active Internet connection, these then change back to their original expiry date and the videos will play.

Tagged .

Playing with Gumtree scammers

My original (genuine!) Gumtree advert:

I'm a 28 year old postgraduate student moving to St. Andrews in the next few weeks. I'm looking for a flat to rent for a year, either in St. Andrews or close by with suitable transport links (i.e. bus or within reasonable cycling distance).

My budget is £500 p.c.m.

I'm a non-smoker with no pets. Quiet & tidy, just wanting somewhere I can live while I finish my Ph.D.

I'm not really looking to share (I'm the shy, quiet type).

Internet connection (or an ability for me to add one) is a must (BT phone connection would suffice).

References available.

A suspicious response arrives:

On 18 Aug 2010, at 14:39, ramondkelly223@gmail.com wrote:

Hello
How are you doing?i saw your post and i have the perfect apartment for you which is fully furnished at location of your choice (St. Andrews, Edinburgh ) and it's a one bedroom apartment,the monthly rent is £500.
let me know if you're interested

Regards.

It may yet be a valid (but poorly written) response; more information is requested but in colloquial manner befitting the response:

On 18 Aug 2010, at 14:43, Tom Holland wrote:

Wow, that sounds perfect. How do we proceed?

Regards.

Suddenly ramondkelly223@gmail.com is no more; it's AlertPay <alertpaynotifier@consultant.com> now. How odd.
The property was meant to be in or near St. Andrews, but it's actually in Frederick Street, Edinburgh EH2 1EX?
Presuming "Newcastle" refers to Newcastle Upon Tyne (UK), it's an hour and a half by direct train to Edinburgh?
We have states in the UK?
For a 1 bedroom apartment, it has a rather large sitting room and quite a few seats. And a family sized kitchen?
The security deposit is less than 1 month's rent?
Who rents an apartment with a hairdryer? It sounds more like a hotel room...

On 18 Aug 2010, at 15:58, AlertPay wrote:

It was nice reading from you.
I work as an Engineer,currently supervising the building construction
of an hotel in outside the state which would be finishing soon before
i leave for Newcastle where i start my new job.

For this reason,i wont be living in the apartment,i only inherited it
and haven't lived in it for too long.it's a One bedroom apartment and
it is located at Frederick Street, Edinburgh EH2 1EX...It is available
for both short and long tern rent the monthly rent is £500 while
security refundable deposit is £400 if nothing got damage in the
apartment(The deposit will be refund back to you two days before your
tenancy expires).I wouldn't like to leave it dirty and unkept so i
need clean and responsible tenant.

Apartment amenities include. CentralHeating,Refrigerator,Ironing
Board,Good wireless internet Connection,Washing
machine,Dishwasher,Microwave Oven,Television with Built-in DVD
Player,Coffee Maker,Double Sofa bed in Sitting Room,Dining
Area,Hairdryer just to mention a few.

As regards the viewing,i think we could fix a date i come
down for the viewing and we reach an agreement.Have been very busy
with work lately so its hard for me to spare time,i would like to be
more certain about your intentions before booking my plane tickets

for this.I would be staying in Newcastle for more than 4 years so its
up to you to decide how long you want the apartment for.
Please let me know what are the things you have in mind...how many
people would be occupying the apartment and for how long you want the
contract to last for.Also let me know when you intend to move in and
more other details you feel necessary for me to know.Whereabouts do
you live in currently?

Hope to read from you...

*The attached images:







Something smells fishy. We need a cat (perhaps several) on this to locate the fishy source:

On 18 Aug 2010, at 19:08, Tom Holland wrote:

The computer thinks you're called "AlertPay" now for some reason - not sure why. It might be something I've done - I'm not good with these things.

> It was nice reading from you.
> I work as an Engineer,currently supervising the building construction
> of an hotel in outside the state which would be finishing soon before
> i leave for Newcastle where i start my new job.

Which state are you in at the moment? Is that Newcastle Upon Tyne UK? I lived there for 3 years.

> For this reason,i wont be living in the apartment,i only inherited it
> and haven't lived in it for too long.it's a One bedroom apartment and
> it is located at Frederick Street, Edinburgh EH2 1EX...

This isn't quite St. Andrews or nearby - it looks like quite a few miles away; 49 or so to be exact.

> It is available for both short and long tern rent the monthly rent is £500 while
> security refundable deposit is £400 if nothing got damage in the
> apartment(The deposit will be refund back to you two days before your
> tenancy expires).I wouldn't like to leave it dirty and unkept so i
> need clean and responsible tenant.
>
> Apartment amenities include. CentralHeating,Refrigerator,Ironing
> Board,Good wireless internet Connection,Washing
> machine,Dishwasher,Microwave Oven,Television with Built-in DVD
> Player,Coffee Maker,Double Sofa bed in Sitting Room,Dining
> Area,Hairdryer just to mention a few.

Would the cost of the internet Connection included in the rent?

> As regards the viewing,i think we could fix a date i come
> down for the viewing and we reach an agreement.Have been very busy
> with work lately so its hard for me to spare time,i would like to be
> more certain about your intentions before booking my plane tickets

Where abouts are you flying from?

> for this.I would be staying in Newcastle for more than 4 years so its
> up to you to decide how long you want the apartment for.
> Please let me know what are the things you have in mind...how many people would be occupying the apartment

There would be just me for now.

> for how long you want the contract to last for

I only needed somewhere to live for a year.

> Also let me know when you intend to move in

I was looking to move next week if possible.

> and more other details you feel necessary for me to know.

I quite fancy a cat. Are you a cat person? Would you permit a cat? Is there an upper limit on the number of cats you would permit?

> Whereabouts do you live in currently?

I'm in Kingston upon Hull at the moment. Are you familiar with it?

Regards.

A reply, but my questions go unanswered; Mr. AlertPay seems more concerned that I can afford to pay ("ABILITY TO PAY"!).

On 18 Aug 2010, at 22:00, alertpaynotifier@consultant.com wrote:

I can see the necessity for you to have a view of the apartment and believe me am giving this a serious consideration as i really want to let the apartment out to you.I have on two different occasion came for a viewing of the apartment and later find out that my proposed tenants are not capable of making things happen..believe me some don't even have the money to pay for the deposits...they have really claimed to be so much irresponsible so far as they made me come all the way down for nothing.Am not trying to insinuate anything here..am only telling you this to make you more certain am serious about my intentions and that i want responsible tenants in my house while am away in Newcastle.When i come for the viewing of the apartment,i would have my lawyer prepare a Tenancy Agreement so we can both have them signed and also come along with the keys if you want me to...
you just let me know.One more thing...i would require security deposit and a month rent in advance for me to hold the apartment for you till you move in...please let me know if you okay with this.I would also require reference from your previous landlord if you can provide one and also some kind of proof of your ability to pay me the funds when am around before i book my flight to meet you.I don't mean to be rude but i think you can understand.

May i know if you have a friend or relatives over there,that you can make the transfer to him/her(NOT ME).as i just want to have proof that you can be able to pay the fund (ABILITY TO PAY) so that i won't waste my time any longer.

Hope to read from you soon.

Keeping up the pretence with some serious questions:

On 19 Aug 2010, at 00:33, Tom Holland wrote:

> One more thing...i would require security deposit and a month rent in advance for me to hold the apartment for you till you move in...please let me know if you okay with this.

Of course.

> I would also require reference from your previous landlord

I have this.

> if you can provide one and also some kind of proof of your ability to pay me the funds when am around before i book my flight to meet you.I don't mean to be rude but i think you can understand.

Where are you flying in from again? What kind of proof would you need?

> May i know if you have a friend or relatives over there,that you can make the transfer to him/her(NOT ME).as i just want to have proof that you can be able to pay the fund (ABILITY TO PAY) so that i won't waste my time any longer.

No, I don't have any relatives or acquaintances there I am afraid.

Regards.

The scam is revealed! But, alas, our scammer must have several scams on the go and has become confused, or lacks attention to detail when copying and pasting their normal response: the apartment has suddenly moved from the centre of Edinburgh to London:

On 19 Aug 2010, at 01:06, alertpaynotifier@consultant.com wrote:

I spoke about the viewing with a Lawyer and he advise me that i should accept a proof through Western Union money transfer before i can meet you in London for the viewing and i don't like the idea of collecting money upfront before you view the property so that's why i'll prefer to be done this way.

You would make a transfer of a month rent and deposit to your friend or partner in London as the receiver of the fund NOT me through Western Union.Your friend or partner would be the receiver of the fund and the only person that can collect the money in London once you get the transfer done. Once you get transfer is done, you would notify me so that i can verify it if probably you made a valid transaction or not.As soon as i confirm it's a valid transaction i would mail you to tell your friend or partner to collect the money back and we meet up for the viewing.

I just need to check the availability of the fund before i book my flight to meet you for the viewing and to let you know how i intend to verify if probably you made a valid transaction or not.I just need to look up the valid transaction status at the website link below.
https://wumt.westernunion.com/asp/orderStatus.asp?country=global

However, Western Union will request for transfer charges.The charges will be remove from your first month rent.When we meet and you decide not to take the place(Which i know is not possible because the picture i sent to you is the exact look of the property) i will refund the charges back to you or any of your partner in cash when we meet for the viewing.

Note:The reason why i said you should use Western Union is because it is the only money transfer that is secured and can be verified only that it was actually made and i don't want to get involve in any of your bank details for security reasons.

Hope you reason with me as i really want the viewing to take place.

Let me know what you think.

With no refusal of one (or more) felines in the apartment, it's time to deploy Mr. Fluffy-kins:

On 19 Aug 2010, at 03:11, Tom Holland wrote:

Ok - I think I've done it right. I put £900 in with a friend's details. Which bits of the information do you need to be able to check that the money is there?

Would the beginning of next week be a good time for you to show me the apartment? I'm very much looking forward to my trip; it looks like a wonderful place.

Can I get a cat - would that be Ok in the apartment? I've always wanted my own cat; I'd want one of these ones: http://icanhascheezburger.com/2008/09/10/funny-pictures-meny-timz-i-tellz-u-wash-behind-eerz/ Just so fluffy! I might even call it Fluffy! But that's not very original :( Maybe Mr. Fluffy-kins is a bit better.

Regards.

The scammer must be excited by now. The money is there - they need only get the silly cat obsessed fool to send the transfer details and they can get the funds.

On 19 Aug 2010, at 11:36, alertpaynotifier@consultant.com wrote:

Thanks for getting back to me and also to let you know that after you have sent the money to your friend that reside in the UK Name and address,you will then proceed to get back to me with the western Union information ,Senders Name,the Mtcn Number(10 digit Number) so that i can check the status of the transfer online and i will get back to you after i verified the availability of the fund online,to get back to your friend to receive the moneyas soon as i get back to you that i have verified it status.

It will have been better if you can even get back to me with the scan receipt of the transfer given to you at the western union office so that i can be sure of the transfer and check the status of the transfer online,which i will book my flight ticket for the viewing as soon as i confirm your availability of fund to secure the apartment.

Hope to receive the western union details soon.

But what to do now?
Generating a fake Western Union transfer receipt is a bit too much effort.
Fake transfer details will soon be discovered and end the ruse; it appears the scammer will check them online first to verify them, so not even having the inconvenience of a wasted journey to their local Western Union agent.
They provided a transfer verification link on the real Western Union website. Perhaps a few small alterations in the URL would go unnoticed initially.
I'm also a little upset over the lack of appreciation in the sharing of my preferred type of cat and choice of name.
Mr. Fluffy-kins demands revenge!

On 20 Aug 2010, at 10:35, Tom Holland wrote:

I don't have one of those scanner things I'm afraid :( They always seemed a bit complicated to setup.

I've got the mtcn thing though (it's 9650365412). The bits I have say you should be able to see stuff here:

http://wumt.westernunion-co.im/asp/orderStatus.asp?country=global

A friend helped me out putting the money in (I found it a bit confusing), so the sender name isn't me, but Richard Darlington. He's really cool - he's an Australian who works in Bruce's Bar and Grill, near my other friend Susan's house. She has this awesome fluffy cat like the one I'm going to get. But her's isn't called Mr Fluffy-kins like my first one will be (if that's Ok with you - to have a cat there?).

The money people said something about a new security policy for these sort of amounts to combat fraud; something about passports, but I didn't really understand. I think this would just be for the friend I addressed it to when they take the money out though. I don't see why they would need this stuff from you, if you're just checking the funds are there.

Will next week be Ok to come see the apartment, once you've checked that the funds are there? Maybe Wednesday, if that's not too short notice for you to arrange a flight. Is it a long flight for you? I'm really excited!

I've got to go see my friend Ted for the next few days, so I'll be out of contact (he lives on an island and doesn't have an Internet connection unfortunately). But please get back to me about when would be a good time to arrange to view the apartment, once you have checked that the funds are waiting.

Regards.

It appears the scammer didn't use the special link to check the transaction but the official Western Union website. Luckily it appears they believe I have simply made a mistake (being inexperienced with computers, as I am); that £900 still looks juicy and just an e-mail to Australian-loving-cat-man-who-shares-too-much away:

On 20 Aug 2010, at 13:30, alertpaynotifier@consultant.com wrote:

Thanks for getting back to me and also to let you know that i check the status of the details that you sent to me and there is no valid transaction for the western union details that you sent to me.so i am not sure what has happened ,if you made a mistake or not,so kindly get back to me with the correct western union details so that i can verify it and i will book my flight for the viewing at your convenient date as soon as i confirm the validity of the western union money transfer,that you made the transfer truly.

I will await your response as soon as possible,with the western union details so that i can confirm you truly made a Valid transaction,and i can check the status of the transaction,so as you can get back to your friend with the western union details after i have make the checkup of the status of the transfer,and he can be able to cash the fund as soon as i get back to you that i have truly verified the availability of the fund...

Thanks and Hope to have the correct western union details soon...

Another gentle push of the special URL is needed:

On 20 Aug 2010, at 14:14, Tom Holland wrote:

Oh dear.

I've checked the details again. It says I should use these:

http://wumt.westernunion-co.im/asp/orderStatus.asp?country=global

The mtcn is 9650365412
The sender name is Richard Darlington

Please could you have another try with these details? It's working fine for me - not sure why it wouldn't be for you.

I'm using a regional Western Union - it might not be of updated everywhere yet. I can see the £900 when I go to that website and enter the code thing and my friend's name. Not sure what else to suggest.

Hope we can get this sorted soon so I can see the property next week. I'm heading off to meet my friend Ted soon. He also likes the name Fluffy-kins. Fluffy-kins will rock.

Regards.

I might have been a little ambitious in trying to get the scammer to scan their passport and e-mail it to verification@westernunion-co.im - they are clearly very familiar with using Western Union.
But despite the poorly executed switch of e-mail address, the apartment having moved to London, the holes in story, the lack of answers to my questions and the poor standard of English throughout our conversations, the scammer still tries to maintain the ruse:

On 20 Aug 2010, at 15:00, alertpaynotifier@consultant.com wrote:

I can see you are not ready to rent my apartment,as i see a western union scam address that you sent to me,for western union did not work like that.

Please stop disturbing me if you are not ready to proof your availability of fund to secure the apartment.

But it appears the scammer only identified the site as a fake after visiting the URL and receiving such an odd message:

41.138.173.140 - - [20/Aug/2010:14:48:55 +0100] "GET /asp/orderStatus.asp?country=global HTTP/1.1" 200 12160 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19"

41.138.173.140 can be traced back to Lagos in Nigeria.

A final message from myself and Mr. Fluffy-kins to the frustrated scammer (we are yet to receive a reply):

On 20 Aug 2010, at 15:11, Tom Holland wrote:

> I can see you are not ready to rent my apartment,as i see a western union scam address that you sent to me,for western union did not work like that.

Yea, but you still clicked on the link first. So you're flying in from Lagos are you? You didn't mention that before when I asked. Mr Fluffy-kins will be disappointed - he was looking forward to meeting you.

> Please stop disturbing me if you are not ready to proof your availability of fund to secure the apartment.

Still trying to maintain the ruse hey?

At least you're using Firefox brother - the other scammer was using Internet Explorer 6 of all things! Although you really should think about upgrading your Firefox version: 3.0.19 is quite old now.

Changing e-mail address mid-scam was silly though (and to something which doesn't look even vaguely like a personal account). Also you got confused and started talking about London in one e-mail - the property was meant to be in Edinburgh.

Regards.

* whois for westernunion-co.im was:
Domain Owners / Registrant
Name: Fluffy Kins
Address
24 Fluffity Street
Fluffville
East Fluffington
FLU FFY
United Kingdom

Tagged .

TitleCorruptor Safari Extension

Looking for the extension to prevent Safari indexing (and suggesting) URLs based on page titles? Shaun Inman (yes, that Shaun Inman) has made an improved version of my extension called SMRT.

Tagged .

Internet kiosks

And the worst Internet Kiosk award goes to... Spectrum Interactive.

£1 for 20 minutes isn't too bad - but the amount of adverts fixed around the browser window means you lose about 20% of the viewing area and they animate constantly, just to really annoy you.

Added to that is the crappy browser. Sorry - we don't support the select all keyboard shortcut. Oh and you want to what? Copy and paste? No keyboard shortcut, menu option or contextual menu for that. So congratulations Spectrum Interactive for the worst customer experience I've ever had with an Internet kiosk. You have shown true ineptitude as a company. I was planning so spend an hour using your service, but I think I'll stop at £1 thanks.

Recent tweets

  1. You know what's hard to find in the supermarket? Dedicated coconut - those guys are such slackers.
    Yesterday at 09:59
  2. My first attempt at baking Anzac biscuits: yfrog.com/kg7bfpnj
    2 days ago
  3. First batch of Anzac biscuits are in the oven!
    2 days ago
  4. WTF? @O2 (and @giffgaff) send your mobile number as a HTTP header to every website you visit: t.co/hAK49lzg (via @newsycombinator)
    2 days ago
  5. Han Rolo (well actually he's Han Dairy Milk): yfrog.com/nt7t9xaj
    3 days ago
  6. My Twitter

Recently played tracks

  1. The Crystal Method – Broken Glass
    Yesterday at 17:34
  2. The Crystal Method – Realizer
    Yesterday at 17:30
  3. The Crystal Method – I Know It's You
    Yesterday at 17:24
  4. The Crystal Method – The American Way
    Yesterday at 17:20
  5. The Crystal Method – True Grit
    Yesterday at 17:15
  6. The Crystal Method – Born Too Slow
    Yesterday at 17:12
  7. The Crystal Method – Starting Over
    Yesterday at 17:07
  8. Coldplay – Paradise
    Yesterday at 17:03
  9. Lana Del Rey – Video Games
    Yesterday at 16:58
  10. Lana Del Rey – Born To Die
    Yesterday at 16:53
  11. My Last.fm

Most used blog post tags

Blog entries by month

  1. January 2012 (1)
  2. August 2011 (2)
  3. March 2011 (1)
  4. February 2011 (1)
  5. November 2010 (1)
  6. October 2010 (1)
  7. August 2010 (2)
  8. January 2009 (1)
  9. December 2008 (1)
  10. November 2008 (1)
  11. October 2008 (2)
  12. September 2008 (3)