gpt4 book ai didi

javascript - 从 Google Chrome 浏览器控制台使用所有请求立即回答 Quora 上的问题

转载 作者:行者123 更新时间:2023-12-01 13:15:11 27 4
gpt4 key购买 nike

我经常需要点击 Quora 上可能回答我感兴趣的问题的建议个人资料旁边带有加号的蓝色按钮 25 次。这很无聊。 Screen capture of the Quora user interface to ask to answer我应该在 google chrome 控制台中放置什么来自动执行此过程?

最佳答案

打开可以请求其他 Quora 用户回答的模态后,在浏览器控制台中输入:

document.querySelectorAll(`[d='M21.106 11.553 5.08 3.54a.5.5 0 0 0-.698.605l2.148 6.443 5.511.919c.557.093.557.894 0 .986l-5.511.919-2.148 6.443a.5.5 0 0 0 .698.605l16.026-8.013a.5.5 0 0 0 0-.894Z']`).forEach(e=>e.parentElement.parentElement.parentElement.click())

如果将其添加为书签 url,您甚至不需要打开控制台:

javascript:(function(){document.querySelectorAll(`[d='M21.106 11.553 5.08 3.54a.5.5 0 0 0-.698.605l2.148 6.443 5.511.919c.557.093.557.894 0 .986l-5.511.919-2.148 6.443a.5.5 0 0 0 .698.605l16.026-8.013a.5.5 0 0 0 0-.894Z']`).forEach(e=>e.parentElement.parentElement.parentElement.click())})()

然后您只需点击您的书签即可发送请求

如果您从请求页面搜索书签并点击它,它也适用于移动设备。

关于javascript - 从 Google Chrome 浏览器控制台使用所有请求立即回答 Quora 上的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55751868/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com