1. 2025年02月22日 10:48:47 AM
    typecho后台评论设置,打开“在评论中使用 Markdown 语法”,实际测试中,评论实用markdown语句,例如:“![04.gif](https://img.zhinianboke.com/img/5460)”会被拦截,提示“该回复疑似异常,已被系统拦截!”。但如果只评论网址,可以超链接打开。
    如果关闭“在评论中使用 Markdown 语法”,评论可以以字符串输出“![04.gif](https://img.zhinianboke.com/img/5460)。
    无论开启不开启markdown语法,想要评论输出图片可使用标签,并修改parse.php中队scr的拦截
    Windows 10 Windows 10 / Google Chrome Google Chrome
  2. 2025年02月20日 16:52:44 PM
    超炫的黑页:https://nobb.cc//item/html/4/
    Windows 11 Windows 11 / Google Chrome Google Chrome
  3. 2025年02月17日 09:32:30 AM
    typecho和wordpress快速评论代码:
    javascript:document.getElementById('author').value = 'Jonty'; document.getElementById('email').value = 'cdns@vip.qq.com'; document.getElementById('url').value = 'https://nobb.cc'; void(0)
    Windows 11 Windows 11 / Google Chrome Google Chrome
  4. 2025年02月16日 15:36:17 PM
    相信在做Typecho开发或者WordPress开发以及其他相关使用到QQ用户的项目的时候,可能会使用到获取用户头像的场景。今天找到一个获取QQ高清头像的API接口,特此分享一下!
    普通头像api
    http://q1.qlogo.cn/g?b=qq&nk=QQ号码&s=100
    http://q2.qlogo.cn/headimg_dl?dst_uin=QQ号码&spec=100
    高清头像api
    http://q.qlogo.cn/headimg_dl?dst_uin=QQ号码&spec=640&img_type=jpg
    QQ昵称API(已失效)
    http://users.qzone.qq.com/fcg-bin/cgi_get_portrait.fcg?uins=QQ号码
    Windows 11 Windows 11 / Google Chrome Google Chrome
  5. 2025年02月12日 21:44:16 PM
    deepseek
    Windows 10 Windows 10 / Google Chrome Google Chrome
  6. 2025年02月06日 17:32:28 PM
    win10睡眠bat文件,可以远程唤醒
    睡眠.bat
    powershell "[Void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');[System.Windows.Forms.Application]::SetSuspendState('Suspend', $false, $false);"
    Windows 11 Windows 11 / Google Chrome Google Chrome
  7. 2025年02月05日 19:54:29 PM
    订阅本站,如有更新自动邮件提醒。
    Windows 11 Windows 11 / Google Chrome Google Chrome
  8. 2025年02月05日 10:16:54 AM
    使用 HTML 标签手动转义:joe后台删除备份添加二次确认
    
    <?php if ($_POST["type"] == "删除备份"):
        // 这里定义一个变量用于存储用户是否确认的信息
        $isConfirmed = false; 
        if (isset($_POST['confirmation']) && $_POST['confirmation'] === '确认删除') {
            $isConfirmed = true;
        }
    
        if ($isConfirmed):
            if ($db->fetchRow($db->select()->from('table.options')->where('name = ?', 'theme:' . $name . '_backup'))):
                $db->query($db->delete('table.options')->where('name = ?', 'theme:' . $name . '_backup'));
                ?>
                <script>
                    alert("删除成功");
                    window.location.href = '<?php Helper::options()->adminUrl('options-theme.php'); ?>';
                </script>
            <?php else: ?>
                <script>
                    alert("没有备份内容,无法删除!");
                    window.location.href = '<?php Helper::options()->adminUrl('options-theme.php'); ?>';
                </script>
            <?php endif;
        else:
            // 如果未确认,重新提交表单并弹出确认框
            ?>
            <script>
                var confirmation = prompt('请输入 "确认删除" 以确认删除备份:');
                if (confirmation === '确认删除') {
                    var form = document.createElement('form');
                    form.method = 'post';
                    form.action = '';
    
                    var typeInput = document.createElement('input');
                    typeInput.type = 'hidden';
                    typeInput.name = 'type';
                    typeInput.value = '删除备份';
    
                    var confirmationInput = document.createElement('input');
                    confirmationInput.type = 'hidden';
                    confirmationInput.name = 'confirmation';
                    confirmationInput.value = confirmation;
    
                    form.appendChild(typeInput);
                    form.appendChild(confirmationInput);
                    document.body.appendChild(form);
                    form.submit();
                } else {
                    alert('确认信息输入错误,删除操作已取消。');
                    window.location.href = '<?php Helper::options()->adminUrl('options-theme.php'); ?>';
                }
            </script>
        <?php endif;
    endif; ?>
    
    Windows 11 Windows 11 / Google Chrome Google Chrome
  9. 2025年02月04日 19:50:03 PM
    UserAgent显示插件教程
    1.解压后修改文件夹名为XQUserAgent
    2.在需要显示的地方插入以下代码:
    <?php XQUserAgent_Plugin::render($comments->agent); ?>
    Windows 11 Windows 11 / Google Chrome Google Chrome
  10. 2025年02月02日 18:58:43 PM
    宝塔面板PHP安装IMAP扩展失败解决方法:
    1.CentOS7下的解决方案为:yum install -y libc-client-devel
    2.对应的Centos 9/Rhel 9/AlmaLinux 9/RockyLinux 9的安装方式(如果是Centos 8/Rhel 8/Alma Linux 8/Rocky Linux 8系列的,把9替换成8即可)
    wget http://rpms.remirepo.net/enterprise/remi-release-9.rpm
    rpm -Uvh remi-release-9.rpm
    dnf -y --enablerepo=remi install uw-imap-devel
    然后就可以去安装imap扩展了
    安装完成后,还需要在PHP-禁用函数中删除imap_open,否则imap模块依然无法连接imap服务器
    Windows 10 Windows 10 / Google Chrome Google Chrome