javascript のレビュー
javascript 作成者: chee
chee による応答
開発者の返信
投稿日時: 5年前:) 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
:)
合計レビュー数: 59
- Very good. But I'd like to know if it's possible to create a script that runs on all pages. I'd like to implement a dark mode that activates when a button is pressed.
Also, I'd like to know if it's possible to specify the DOM tag when adding the script. I was using a polyfill, but since it runs last, I had to reload the other scripts for them to run without errors. - 5 段階中 4 の評価Firefox ユーザー 16703548 によるレビュー (1年前)
- 5 段階中 5 の評価sexy_pikachu によるレビュー (1年前)Very convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - 5 段階中 5 の評価Firefox ユーザー 17765782 によるレビュー (2年前)
- 5 段階中 5 の評価Lucy the Pirate によるレビュー (2年前)Thank 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!
- 5 段階中 3 の評価RickinMaine によるレビュー (2年前)
- 5 段階中 1 の評価Firefox ユーザー 18047774 によるレビュー (2年前)
- 5 段階中 5 の評価Firefox ユーザー 17716521 によるレビュー (3年前)Very good. It works well. The only little bug I noticed is that the extension doesn't work with local files.
- 5 段階中 5 の評価Firefox ユーザー 14536207 によるレビュー (3年前)