mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
chore: 移除社交平台
This commit is contained in:
parent
e7e8e99946
commit
fac00be995
@ -174,17 +174,7 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
'https://github.com/NapNeko/NapCatQQ',
|
'https://github.com/NapNeko/NapCatQQ',
|
||||||
SettingButton('点个星星', 'open-github'),
|
SettingButton('点个星星', 'open-github'),
|
||||||
),
|
),
|
||||||
SettingItem('NapCat 文档', '', SettingButton('看看文档', 'open-docs')),
|
SettingItem('NapCat 文档', '', SettingButton('看看文档', 'open-docs'))
|
||||||
SettingItem(
|
|
||||||
'Telegram 群',
|
|
||||||
'https://t.me/+nLZEnpne-pQ1OWFl',
|
|
||||||
SettingButton('进去逛逛', 'open-telegram'),
|
|
||||||
),
|
|
||||||
SettingItem(
|
|
||||||
'QQ 群',
|
|
||||||
'545402644',
|
|
||||||
SettingButton('我要进去', 'open-qq-group'),
|
|
||||||
),
|
|
||||||
]),
|
]),
|
||||||
'</div>',
|
'</div>',
|
||||||
].join(''),
|
].join(''),
|
||||||
@ -198,9 +188,6 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
doc.querySelector('#open-telegram')?.addEventListener('click', () => {
|
doc.querySelector('#open-telegram')?.addEventListener('click', () => {
|
||||||
window.open('https://t.me/+nLZEnpne-pQ1OWFl');
|
window.open('https://t.me/+nLZEnpne-pQ1OWFl');
|
||||||
});
|
});
|
||||||
doc.querySelector('#open-qq-group')?.addEventListener('click', () => {
|
|
||||||
window.open('https://qm.qq.com/q/bDnHRG38aI');
|
|
||||||
});
|
|
||||||
doc.querySelector('#open-docs')?.addEventListener('click', () => {
|
doc.querySelector('#open-docs')?.addEventListener('click', () => {
|
||||||
window.open('https://napneko.github.io/', '_blank');
|
window.open('https://napneko.github.io/', '_blank');
|
||||||
});
|
});
|
||||||
|
@ -305,17 +305,7 @@ async function onSettingWindowCreated(view) {
|
|||||||
"https://github.com/NapNeko/NapCatQQ",
|
"https://github.com/NapNeko/NapCatQQ",
|
||||||
SettingButton("点个星星", "open-github")
|
SettingButton("点个星星", "open-github")
|
||||||
),
|
),
|
||||||
SettingItem("NapCat 文档", "", SettingButton("看看文档", "open-docs")),
|
SettingItem("NapCat 文档", "", SettingButton("看看文档", "open-docs"))
|
||||||
SettingItem(
|
|
||||||
"Telegram 群",
|
|
||||||
"https://t.me/+nLZEnpne-pQ1OWFl",
|
|
||||||
SettingButton("进去逛逛", "open-telegram")
|
|
||||||
),
|
|
||||||
SettingItem(
|
|
||||||
"QQ 群",
|
|
||||||
"545402644",
|
|
||||||
SettingButton("我要进去", "open-qq-group")
|
|
||||||
)
|
|
||||||
]),
|
]),
|
||||||
"</div>"
|
"</div>"
|
||||||
].join(""),
|
].join(""),
|
||||||
@ -327,9 +317,6 @@ async function onSettingWindowCreated(view) {
|
|||||||
doc.querySelector("#open-telegram")?.addEventListener("click", () => {
|
doc.querySelector("#open-telegram")?.addEventListener("click", () => {
|
||||||
window.open("https://t.me/+nLZEnpne-pQ1OWFl");
|
window.open("https://t.me/+nLZEnpne-pQ1OWFl");
|
||||||
});
|
});
|
||||||
doc.querySelector("#open-qq-group")?.addEventListener("click", () => {
|
|
||||||
window.open("https://qm.qq.com/q/bDnHRG38aI");
|
|
||||||
});
|
|
||||||
doc.querySelector("#open-docs")?.addEventListener("click", () => {
|
doc.querySelector("#open-docs")?.addEventListener("click", () => {
|
||||||
window.open("https://napneko.github.io/", "_blank");
|
window.open("https://napneko.github.io/", "_blank");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user