javascript 的評論
javascript 作者: chee
chee 的回應
開發者回應
張貼於 4 年前:) 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
:)
56 筆評論
- 評價 4 分,滿分 5 分來自 Firefox 使用者 16703548,2 個月前
- 評價 5 分,滿分 5 分來自 sexy_pikachu,6 個月前Very convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - 評價 5 分,滿分 5 分來自 Firefox 使用者 17765782,1 年前
- 評價 5 分,滿分 5 分來自 Lucy the Pirate,1 年前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!
- 評價 3 分,滿分 5 分來自 RickinMaine,2 年前
- 評價 1 分,滿分 5 分來自 Firefox 使用者 18047774,2 年前
- 評價 5 分,滿分 5 分來自 Firefox 使用者 17716521,2 年前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,2 年前