javascript のレビュー
javascript 作成者: chee
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).
開発者の返信
投稿日時: 4年前:) 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
- 5 段階中 4 の評価Firefox ユーザー 16703548 によるレビュー (3ヶ月前)
- 5 段階中 5 の評価sexy_pikachu によるレビュー (6ヶ月前)Very convenient tool. I use this to trigger auto-scrolling.
```js
setInterval(() => window.scrollBy({
top: 100,
behavior: "smooth",
}), 100)
``` - 5 段階中 5 の評価Firefox ユーザー 17765782 によるレビュー (1年前)
- 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 によるレビュー (2年前)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年前)