Pógódnośenja za javascript
javascript wót chee
Wótegrono wót chee
Wótegrono wuwijarja
jo se napisał 5 jierren lyn:) 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 pógódnośenjow
- Z 5 z 5 pógódnośonywót R.J., 4 moannen lynI 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.
- Z 5 z 5 pógódnośonywót BeLO, 5 moannen lynYep, this module is to JavaScript what Stylus is for CSS :-)
- Z 4 z 5 pógódnośonywót Wužywaŕ Firefox 16703548, 8 moannen lyn
- Z 5 z 5 pógódnośonywót sexy_pikachu, ien jier lynVery convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - Z 1 z 5 pógódnośonywót Владимир, ien jier lyn
- Z 5 z 5 pógódnośonywót Andy, ien jier lyn
- Z 5 z 5 pógódnośonywót Wužywaŕ Firefox 17765782, 2 jierren lyn
- Z 5 z 5 pógódnośonywót ÐarkbloøM, 2 jierren lynEasy 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.
- Z 5 z 5 pógódnośonywót GRACE, 2 jierren lyn
- Z 5 z 5 pógódnośonywót Entite, 2 jierren lyn
- Z 5 z 5 pógódnośonywót Lucy the Pirate, 2 jierren lynThank 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!
- Z 3 z 5 pógódnośonywót RickinMaine, 2 jierren lyn
- Z 5 z 5 pógódnośonywót Zein Adi, 2 jierren lynthis is really powerful tools for someone who can code js.
- Z 1 z 5 pógódnośonywót Wužywaŕ Firefox 18047774, 2 jierren lyn
- Z 1 z 5 pógódnośonywót hdircksen, 2 jierren lyn
- Z 5 z 5 pógódnośonywót Adem, 3 jierren lyn
- Z 5 z 5 pógódnośonywót Wužywaŕ Firefox 17716521, 3 jierren lynVery good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- Z 5 z 5 pógódnośonywót Wužywaŕ Firefox 14536207, 3 jierren lyn
- Z 5 z 5 pógódnośonywót Mass59, 4 jierren lyn
- Z 5 z 5 pógódnośonywót Вартигонт, 4 jierren lyn