Re: [crx] How to click button through script?

48 views
Skip to first unread message

PhistucK

unread,
Nov 14, 2012, 2:47:18 AM11/14/12
to Manoj Acharya, chromium-...@chromium.org
Is there an error within the console?

Maybe try del.dispatchEvent(new Event("click"));

PhistucK



On Mon, Nov 12, 2012 at 10:04 AM, Manoj Acharya <manoj...@gmail.com> wrote:
Hi

I manage a Linkedin group and the spam is too much, so trying auto-moderation for the obvious suspects. I am using Tampermonkey and writing a userscript which selects the posts to be deleted. And then I need to click the Delete button, for which I am having issues.

Through the script I have found the delete button = del

del.click(); doesn't work. So how do I get it working?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-extensions/-/TrzrUWLLNm4J.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.

Reply all
Reply to author
Forward
0 new messages