토론 » 제작 요청

Help create a script that will find a specific class in the current page of the browser

§
게시: 2021-08-15
수정: 2021-08-15

Dear,

Good day. As per title im looking for or if you could help me create a very simple script that will help me find a specific html class in the current page im browsing. For sample if I will go to google.com home page and the script says find this class (class="XDyW0e") it will automatically focus on that particular class.

Best Regards.

§
게시: 2021-08-19

document.querySelector("#XDyW0e").focus()

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。