Análises para javascript
javascript por chee
Resposta por chee
Resposta do programador
publicado a há 4 anos:) 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
:)
58 análises
- Avaliado em 5 de 5por R.J. , há 3 mesesI had a small extension I wrote for myself modifying a site to my preferences and was annoyed I could only load it as a temporary extension without submitting it to Mozilla. This is exactly what I needed, thank you.
- Avaliado em 5 de 5por BeLO , há 5 mesesYep, this module is to JavaScript what Stylus is for CSS :-)
- Avaliado em 4 de 5por Utilizador do Firefox 16703548 , há 7 meses
- Avaliado em 5 de 5por sexy_pikachu , há um anoVery convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - Avaliado em 5 de 5por Utilizador do Firefox 17765782 , há 2 anos
- Avaliado em 5 de 5por Lucy the Pirate , há 2 anosThank 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!
- Avaliado em 3 de 5por RickinMaine , há 2 anos
- Avaliado em 1 de 5por Utilizador do Firefox 18047774 , há 2 anos
- Avaliado em 5 de 5por Utilizador do Firefox 17716521 , há 3 anosVery good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- Avaliado em 5 de 5por Utilizador do Firefox 14536207 , há 3 anos