简体   繁体   中英

Use all of the requests to answer available at once on a question on Quora from the Google Chrome browser console

I often have to click 25 times on the blue button with a plus next to the suggested profiles that might answer the question I'm interested in on Quora. It's boring. 用于询问答案的 Quora 用户界面的屏幕截图 What should I put in the google chrome console to automate this process?

After you open the modal where you can request answers from other Quora users enter this in the browser console:

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())

you don't even need to open the console if you add this as bookmark 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())})()

Then you just have to click your bookmark to send the requests

It works on mobile too, if you search the bookmark from the request page and tap on it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM