// ==UserScript==
// @name           Facebook statuses 2
// @namespace      http://ondrejsimek.com
// @include        http://*.facebook.com/*
// @include        https://*.facebook.com/*
// ==/UserScript==

if (
	(
		document.location.hash &&
		document.location.hash.match(/^#!\/(home\.php)?\?ref=\w*$/)
	)
	||
	(
		!document.location.hash &&
		document.location.pathname.match(/^\/(home\.php)?$/) &&
		document.location.search.match(/^(\?ref=\w*)?$/)
	)
)
	document.location = 'http://www.facebook.com/home.php?sk=app_2915120374';

document.getElementById('pageLogo').innerHTML = document.getElementById('pageLogo').innerHTML.replace(/\?ref=logo/, 'home.php?sk=app_2915120374');
document.getElementById('pageNav').firstChild.innerHTML = document.getElementById('pageNav').firstChild.innerHTML.replace(/\?ref=home/, 'home.php?sk=app_2915120374');
