mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-22 06:17:54 +00:00
🎨 Update help message
This commit is contained in:
parent
bb19c67453
commit
aa890c539f
@ -121,24 +121,24 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation):
|
|||||||
)
|
)
|
||||||
javascript_android = "javascript:(()=>{prompt('',document.cookie)})();"
|
javascript_android = "javascript:(()=>{prompt('',document.cookie)})();"
|
||||||
help_message = (
|
help_message = (
|
||||||
f"*关于如何获取Cookies*\n\n"
|
f"<b>关于如何获取Cookies</b>\n\n"
|
||||||
f"PC:\n"
|
f"PC:\n"
|
||||||
f"[1、打开{bbs_name}并登录]({bbs_url})\n"
|
f"1、<a href='{bbs_url}'>打开 {bbs_name} 并登录</a>\n"
|
||||||
f"2、按F12打开开发者工具\n"
|
"2、按F12打开开发者工具\n"
|
||||||
f"3、{escape_markdown('将开发者工具切换至控制台(Console)页签', version=2)}\n"
|
"3、将开发者工具切换至控制台(Console)\n"
|
||||||
f"4、复制下方的代码,并将其粘贴在控制台中,按下回车\n"
|
"4、复制下方的代码,并将其粘贴在控制台中,按下回车\n"
|
||||||
f"`{escape_markdown(javascript, version=2, entity_type='code')}`\n\n"
|
f"<pre><code class='javascript'>{javascript}</code></pre>"
|
||||||
f"Android:\n"
|
"Android:\n"
|
||||||
f"[1、通过 Via 浏览器打开{bbs_name}并登录]({bbs_url})\n"
|
f"1、<a href='{bbs_url}'>通过 Via 打开 {bbs_name} 并登录</a>\n"
|
||||||
f"2、复制下方的代码,并将其粘贴在地址栏中,点击右侧箭头\n"
|
"2、复制下方的代码,并将其粘贴在地址栏中,点击右侧箭头\n"
|
||||||
f"`{escape_markdown(javascript_android, version=2, entity_type='code')}`"
|
f"<code>{javascript_android}</code>\n"
|
||||||
f"iOS:\n"
|
"iOS:\n"
|
||||||
f"1、在App Store上安装Web Inspector,并在iOS设置- Safari浏览器-扩展-允许这些扩展下找到Web Inspector-打开,允许所有网站\n"
|
"1、在App Store上安装Web Inspector,并在iOS设置- Safari浏览器-扩展-允许这些扩展下找到Web Inspector-打开,允许所有网站\n"
|
||||||
f"2、[通过Safari打开{bbs_name}并登录({bbs_url})\n"
|
f"2、<a href='{bbs_url}'>通过 Safari 打开 {bbs_name} 并登录</a>\n"
|
||||||
f"3、点击地址栏左侧的大小按钮 - Web Inspector扩展 - console - 点击下方文本框复制下方代码粘贴:"
|
"3、点击地址栏左侧的大小按钮 - Web Inspector扩展 - console - 点击下方文本框复制下方代码粘贴:"
|
||||||
f"`{escape_markdown(javascript, version=2, entity_type='code')}`"
|
f"<pre><code class='javascript'>{javascript}</code></pre>"
|
||||||
)
|
)
|
||||||
await message.reply_markdown_v2(help_message, disable_web_page_preview=True)
|
await message.reply_html(help_message, disable_web_page_preview=True)
|
||||||
return INPUT_COOKIES
|
return INPUT_COOKIES
|
||||||
|
|
||||||
@conversation.state(state=CHECK_PHONE)
|
@conversation.state(state=CHECK_PHONE)
|
||||||
|
Loading…
Reference in New Issue
Block a user