简体   繁体   中英

on a different page onclick or run javascript

我想运行 javascript 或单击我使用 google 扩展程序访问的页面上的元素

<a href="javascript: void(0);" class="fright">

你的意思是

document.querySelector(".fright").click()

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