Userscript toturial: I am over 18
I am over 18 (Automatically agrees the "I'm over 18" declaration.)
https://github.com/tsaiid/gm-i-am-over-18
use getchu as example
inspect element to get the target
It's a "<a> element"
$('a:contains("[は い]")')[0].click();
It return all <a> elements containing "[は い]", add [0] to pick the first one.
The easier way, just test .click() and [0].click(). One of them will work.
https://github.com/tsaiid/gm-i-am-over-18
use getchu as example
inspect element to get the target
It's a "<a> element"
$('a:contains("[は い]")')[0].click();
It return all <a> elements containing "[は い]", add [0] to pick the first one.
The easier way, just test .click() and [0].click(). One of them will work.
留言
張貼留言