javascript에 대한 리뷰
javascript 제작자: chee
chee 님의 답글
개발자 답글
5년 전에 게시됨:) thanks for the review.
it doesn't work on autoplay videos because it's just a script tag injected into the page. an autoplaying video doesn't load a new page, youtube's javascript does a request and replaces the video element in the dom (and a lot of other elements ^_^).
i don't know how much JS you know, but you might be able to implement something as a callback to a mutation observer: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
:)
it doesn't work on autoplay videos because it's just a script tag injected into the page. an autoplaying video doesn't load a new page, youtube's javascript does a request and replaces the video element in the dom (and a lot of other elements ^_^).
i don't know how much JS you know, but you might be able to implement something as a callback to a mutation observer: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
:)
리뷰 60개
- Very good. But I'd like to know if it's possible to create a script that runs on all pages. I'd like to implement a dark mode that activates when a button is pressed.
Also, I'd like to know if it's possible to specify the DOM tag when adding the script. I was using a polyfill, but since it runs last, I had to reload the other scripts for them to run without errors. - 5점 만점에 4점Firefox 사용자 16703548 님, 일 년 전
- 5점 만점에 5점sexy_pikachu 님, 일 년 전Very convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - 5점 만점에 5점Firefox 사용자 17765782 님, 2년 전
- 5점 만점에 5점Lucy the Pirate 님, 2년 전Thank you for makin' this plugin! I was able to use it to write a script to block players on a comment board for a website that didn't have a block function built in!
- 5점 만점에 3점RickinMaine 님, 2년 전
- 5점 만점에 1점Firefox 사용자 18047774 님, 2년 전
- 5점 만점에 5점Firefox 사용자 17716521 님, 3년 전Very good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- 5점 만점에 5점Firefox 사용자 14536207 님, 3년 전