Reviews for javascript
javascript by chee
Review by 991730
Rated 4 out of 5
by 991730, 4 years agoIt'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).
Developer response
posted 4 years ago:) 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 reviews
- Rated 4 out of 5by Firefox user 16703548, 2 months ago
- Rated 5 out of 5by sexy_pikachu, 5 months agoVery convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - Rated 1 out of 5by Владимир, 9 months ago
- Rated 5 out of 5by Andy, a year ago
- Rated 5 out of 5by Firefox user 17765782, a year ago
- Rated 5 out of 5by ÐarkbloøM, a year agoEasy 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.
- Rated 5 out of 5by GRACE, a year ago
- Rated 5 out of 5by Entite, a year ago
- Rated 5 out of 5by Lucy the Pirate, a year agoThank 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!
- Rated 3 out of 5by RickinMaine, 2 years ago
- Rated 1 out of 5by Firefox user 18047774, 2 years ago
- Rated 1 out of 5by hdircksen, 2 years ago
- Rated 5 out of 5by Adem, 2 years ago
- Rated 5 out of 5by Firefox user 17716521, 2 years agoVery good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- Rated 5 out of 5by Firefox user 14536207, 2 years ago
- Rated 5 out of 5by Mass59, 3 years ago
- Rated 5 out of 5by Вартигонт, 3 years ago
- Rated 2 out of 5by paolo, 3 years ago