Skip to content
Projects

About

获取网站的Favicon图标并显示在你的网页上.

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-2
in 15 days
-3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

getFavicon

获取网站的Favicon图标并显示在你的网页上.

演示

演示地址

安装使用

伪静态

方便cdn缓存

# Nginx规则
rewrite ^/favicon/(.*)\.png$ /favicon/get.php?url=$1;

# Apache 规则
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon/(.*)\.png$ favicon/get.php?url=$1 [L]
</IfModule>

调用方法 http://you.url/favicon/www.iowen.cn.png

  • 注:目标网址不能有 http(s)://

感谢

感谢 jerrybendy ,此版本只是修复一些 bug 和编写了获取方法。

Explore related projects

Loading…