Greasy Fork is available in English.
게시판 » 제작 요청
dom changes detection
var button = document.querySelector("#player_body > div.main.wide.pageSize > div.player > div.controlBar > a.tooltip.controlButton.nextPage");
var image = document.querySelector("#player_body > div.main.wide.pageSize > div.player > div.controlBar > a.tooltip.controlButton.nextPage > img");
what im trying to acomplish is when img appears under nextpage button script clicks the button thats it.
i tried mutationobserver and failed to success sadly.
so i need help about doing it as userscript
mutation observer should work
try to use waitForKeyElements
댓글을 남기려면 로그인하세요.
dom changes detection
var button = document.querySelector("#player_body > div.main.wide.pageSize > div.player > div.controlBar > a.tooltip.controlButton.nextPage");
var image = document.querySelector("#player_body > div.main.wide.pageSize > div.player > div.controlBar > a.tooltip.controlButton.nextPage > img");
what im trying to acomplish is when img appears under nextpage button script clicks the button thats it.
i tried mutationobserver and failed to success sadly.
so i need help about doing it as userscript