快对字体无奈了

好吧…… fonts.lug.ustc.edu.cn 貌似挂掉了。现在已经打算在本站嵌入字体了。

与此同时,发现 Useso take over Google 的作者已经开始着手修改源码了。以下是 1.6.1 版本的代码片段:

function useso_take_over_google_str_handler($matches)
{
	$str = $matches[0];

	if (!is_ssl()) {
		$str = str_ireplace('//fonts.googleapis.com/', '//fonts.useso.com/', $str);
		$str = str_ireplace('//ajax.googleapis.com/', '//ajax.useso.com/', $str);

		//$str = str_ireplace('//fonts.googleapis.com/', '//fonts.geekzu.org/', $str);
		//$str = str_ireplace('//ajax.googleapis.com/', '//fdn.geekzu.org/ajax/', $str);
	} else {
		//$str = str_ireplace('//fonts.googleapis.com/', '//fonts.lug.ustc.edu.cn/', $str);
		//$str = str_ireplace('//ajax.googleapis.com/', '//ajax.lug.ustc.edu.cn/', $str);

		$str = str_ireplace('//fonts.googleapis.com/', '//fonts.geekzu.org/', $str);
		$str = str_ireplace('//ajax.googleapis.com/', '//sdn.geekzu.org/ajax/', $str);
	}

	return $str;
}

然后就发现了 极客族公共加速服务 ……

p.s.

我觉得 Useso take over Google 可以改名叫 “Geeks” take over Google 了 XD

3 Replies to “快对字体无奈了”

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Content is available under CC BY-SA 3.0 unless otherwise noted.