<script>
    function filterContent() {
        let textarea = document.getElementById('chatgpt-response');
        let content = textarea.value;
        let filteredContent = content.replace(/敏感词/g, '***');
        textarea.value = filteredContent;
    }
</script>
<p><button onclick="filterContent()">过滤</button>  <!--添加一个按钮,点击后触发过滤函数--></p>
当用户点击回答按钮时textarea class=form-control id=chatgpt-response placeholder=长途访问请耐心等待回答 Ai生成它很快但是由于网络问题我们需要等待通常内容越长等待越久 如果长时间没反应请刷新页面重试 rows=26 resize=none style=width 100;height auto; margin 0 auto; backgr

原文地址: http://www.cveoy.top/t/topic/bclx 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录