朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

Typecho来源提示插件

前言

typecho来源提示插件,使用Layer弹出提示组件,简单美化Typecho程序
插件效果截图:
QQ截图20200726231424.jpg
是不是觉得提示的内容太少了?
没关系,插件设置里可以添加
插件设置截图:
QQ截图20200726231753.jpg
其他提示信息输入框中支持输入PHP代码,但是不能输入<?php <??>

函数

我在插件中已经写好了三个通用函数

输入下面代码获取客户端IP信息

self::getIp()

输入下面代码获取客户端浏览器信息

self::get_broswer()

输入下面代码获取客户端操作系统信息

self::get_os()
赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » Typecho来源提示插件

评论 40

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #45

    I like it when folks get together and share views.
    Great blog, keep it up!

  2. #44

    I’ve been surfing on-line greater than 3 hours as of late, but I never discovered any interesting article
    like yours. It’s beautiful worth enough for me. In my view, if all site owners and bloggers made just right
    content material as you probably did, the internet will be
    a lot more useful than ever before.

  3. #43

    Hi there, I wish for to subscribe for this weblog to obtain hottest
    updates, so where can i do it please help.