Відгуки для javascript
javascript автор chee
11 відгуків
- Оцінка 4 з 5від Користувач Firefox 16703548, 3 місяці тому
- Оцінка 4 з 5від JustWantToLeaveAnAddonReview, 3 роки томуSuper useful and simple. Would be nice to have a central place to manage all the scripts that are added. Some of mine set window.location, making them hard to re-edit without temporarily disabling the addon.
Відповідь розробника
оприлюднено 3 роки томуi have added a really basic thing for this where you can get all the scripts as a json block from the options page (accessible by clicking the "JS" in the bottom right of the popup) and if you paste it back in, you can save over your scripts. - Оцінка 4 з 5від Jeolen, 3 роки томуWorks just fine, but the add-on is missing a way to check on which sites it's used. I know I've used it on a bunch of sites, but can't remember all of them.
Відповідь розробника
оприлюднено 3 роки томуyou can now see all the scripts in the json block on the options page :) (you can open it by clicking the "JS" on the bottom right of the popup) - Оцінка 4 з 5від 991730, 4 роки тому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
:) - Оцінка 4 з 5від Користувач Firefox 16251528, 5 років тому
- Оцінка 4 з 5від Користувач Firefox 14104785, 5 років тому
- Оцінка 4 з 5від Користувач Firefox 15165814, 6 років тому
- Оцінка 4 з 5від Користувач Firefox 15147126, 6 років томуReally nice tool, I have a lot of fun with it. Its a pitty, that its not possible to insert the javascript in the header. For example I want to set the focus on the input-field on imdb.com but when I start the page I have to wait some seconds until the whole content of the page is loaded. If possible it would be nice to have the option to load the javascript at the beginning.
- Оцінка 4 з 5від FCO_JAVIER, 6 років тому