चर्चा » बनवण्याच्या विनंत्या

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。