Critiques pour javascript
javascript par chee
11 notes
- Noté 4 sur 5par Utilisateur ou utilisatrice 16703548 de Firefox, il y a 2 mois
- Noté 4 sur 5par JustWantToLeaveAnAddonReview, il y a 3 ansSuper 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.
Réponse du développeur
mis en ligne : il y a 3 ansi 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. - Noté 4 sur 5par Jeolen, il y a 3 ansWorks 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.
Réponse du développeur
mis en ligne : il y a 3 ansyou 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) - Noté 4 sur 5par 991730, il y a 4 ansIt'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).
Réponse du développeur
mis en ligne : il y a 4 ans:) 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
:) - Noté 4 sur 5par Utilisateur ou utilisatrice 16251528 de Firefox, il y a 5 ans
- Noté 4 sur 5par Utilisateur ou utilisatrice 14104785 de Firefox, il y a 5 ans
- Noté 4 sur 5par Utilisateur ou utilisatrice 15165814 de Firefox, il y a 6 ans
- Noté 4 sur 5par Utilisateur ou utilisatrice 15147126 de Firefox, il y a 6 ansReally 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.
- Noté 4 sur 5par FCO_JAVIER, il y a 6 ans