Vurdering for javascript
javascript av chee
Svar frå chee
Svar frå utviklaren
posta 4 år sidan:) 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 vurderingar
- Vurdering: 5 av 5av R.J., 2 månader sidanI 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.
- Vurdering: 5 av 5av BeLO, 4 månader sidanYep, this module is to JavaScript what Stylus is for CSS :-)
- Vurdering: 4 av 5av Firefox user 16703548, 7 månader sidan
- Vurdering: 5 av 5av sexy_pikachu, 10 månader sidanVery convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - Vurdering: 1 av 5av Владимир, eit år sidan
- Vurdering: 5 av 5av Andy, eit år sidan
- Vurdering: 5 av 5av Firefox user 17765782, eit år sidan
- Vurdering: 5 av 5av ÐarkbloøM, 2 år sidanEasy to use, works well, 10/10. Though it'd be nice if it didn't save a new script when the editor pop-up is opened but no code is actually written.
- Vurdering: 5 av 5av GRACE, 2 år sidan
- Vurdering: 5 av 5av Entite, 2 år sidan
- Vurdering: 5 av 5av Lucy the Pirate, 2 år sidanThank 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!
- Vurdering: 3 av 5av RickinMaine, 2 år sidan
- Vurdering: 1 av 5av Firefox user 18047774, 2 år sidan
- Vurdering: 1 av 5av hdircksen, 2 år sidan
- Vurdering: 5 av 5av Adem, 3 år sidan
- Vurdering: 5 av 5av Firefox user 17716521, 3 år sidanVery good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- Vurdering: 5 av 5av Firefox user 14536207, 3 år sidan
- Vurdering: 5 av 5av Mass59, 3 år sidan
- Vurdering: 5 av 5av Вартигонт, 4 år sidan