There are 3 previous versions of this script.
// ==UserScript==
// @name Facebook larger profile photos
// @description Displays larger profile photos in search results, even for users with restricted profiles.
// @namespace tag:edward.grech.name,2007:/dev/greasemonkey
// @include http://facebook.com/*
// @include http://*.facebook.com/*
// @require http://code.jquery.com/jquery-latest.js
// @author edward@grech.name
// @date 2009-02-17
// @version 1.1
// ==/UserScript==
(function() {
$(document).ready(function () {
$("img[src^='http://profile.ak.facebook.com']").filter(function () {
return $(this).attr('src').match(/^(http:\/\/profile\.ak\.facebook.com\/[^/]+\/[^/]+\/[^/]+\/)s(\d+_\d+\.jpg)$/);
}).attr("src", function () {
return $(this).attr('src').replace(/^(http:\/\/profile\.ak\.facebook.com\/[^/]+\/[^/]+\/[^/]+\/)s(\d+_\d+\.jpg)$/, '$1n$2');
}).width('auto');
});
})();
