All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login

All New Register Login

All gists matching topic ech0

Recently created
Least recently created
Recently updated
Least recently updated
LiuShen's Avatar

LiuShen / ech0说说展示到前端网站

0 likes
0 forks
2 files
Last active 1 week ago
将ech0说说展示到前端网站页面
ech0 hexo javascript shuoshuo
1 const goComment = (e) => {
2 const n = document.querySelector(".el-textarea__inner");
3 n.value = `> ${e}\n\n`;
4 n.focus();
5 btf.snackbarShow("已为您引用该说说,不删除空格效果更佳");
6 };
7
8 // 如果是twikoo评论区,请自行替换goComment函数,注意,如果评论区开了懒加载可能导致无法找到元素。
Newer Older

Powered by Opengist ⋅ Load: 20ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客