(Translated by https://www.hiragana.jp/)
GitHub - owen0o0/getFavicon: 获取网站的Favicon图标并显示在你的网页上.
Skip to content

获取网站てきFavicon图标并显しめせざい你的网页じょう.

License

Notifications You must be signed in to change notification settings

owen0o0/getFavicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getFavicon

获取网站てきFavicon图标并显しめせざい你的网页じょう.

えんじしめせ

えんじしめせ

あんそう使用しよう


  • 如果现获りょうてきじょう况建议删じょ缓存さいいち
  • ちゅう文中ぶんちゅう faviconw 为 api ぶんけん夹,しゃくじょう设置

伪静态

方便ほうべん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 编写りょう获取方法ほうほう

About

获取网站てきFavicon图标并显しめせざい你的网页じょう.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages