Recensioni per javascript
javascript di chee
Recensione di 991730
It's a nice addon. If only it worked on every page... I wrote a small utility script for Youtube. The script runs when it's a freshly opened Youtube tab, but not if a new video was loaded via autoplay. I'd really like to know why. (note that I also have this issue with other JS scripting addons).
Replica dello sviluppatore
pubblicato il 4 anni fa:) 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
:)
57 recensioni
- Valutata 4 su 5di Utente Firefox 16703548, 3 mesi fa
- Valutata 5 su 5di sexy_pikachu, 6 mesi faVery convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - Valutata 1 su 5di Владимир, 10 mesi fa
- Valutata 5 su 5di Andy, un anno fa
- Valutata 5 su 5di Utente Firefox 17765782, un anno fa
- Valutata 5 su 5di ÐarkbloøM, un anno faEasy 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.
- Valutata 5 su 5di GRACE, un anno fa
- Valutata 5 su 5di Lucy the Pirate, 2 anni faThank 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!
- Valutata 3 su 5di RickinMaine, 2 anni fa
- Valutata 1 su 5di Utente Firefox 18047774, 2 anni fa
- Valutata 5 su 5di Utente Firefox 17716521, 2 anni faVery good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- Valutata 5 su 5di Utente Firefox 14536207, 3 anni fa