CFake+

By Vacuum Last update Mar 10, 2011 — Installed 553 times.

There are 1 previous version of this script.

// ==UserScript==
// @name           Cfake.com direct image viewer
// @namespace      http://cfake.com
// @include        http://cfake.com/*
// ==/UserScript==
window.setTimeout(
    function() 
    {
        var tag = document.getElementsByTagName('body')[0];
		tag.innerHTML = tag.innerHTML.replace(/"javascript:showimage\('\/big.php\?show=(.+?).jpg&id_picture=(.+?)&id_name=\d+&p_name=.+?','\d+','\d+'\)"/gi,"http://cfake.com/photos/$1.jpg");
		tag.innerHTML = tag.innerHTML.replace(/"javascript:showimage\('\/big.php\?show=(.+?).jpeg&id_picture=(.+?)&id_name=\d+&p_name=.+?','\d+','\d+'\)"/gi,"http://cfake.com/photos/$1.jpeg");
	}, 
    100);