Beoardielingen foar javascript
javascript troch chee
11 beoardielingen
- Wurdearring: 4 fan 5troch Firefox-brûker 16703548, 3 moannen lyn
- Wurdearring: 4 fan 5troch JustWantToLeaveAnAddonReview, 3 jierren lynSuper 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.
Antwurd ûntwikkeler
3 jierren lyn pleatsti 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. - Wurdearring: 4 fan 5troch Jeolen, 3 jierren lynWorks 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.
Antwurd ûntwikkeler
3 jierren lyn pleatstyou 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) - Wurdearring: 4 fan 5troch 991730, 4 jierren lynIt'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).
Antwurd ûntwikkeler
4 jierren lyn pleatst:) 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
:) - Wurdearring: 4 fan 5troch Firefox-brûker 16251528, 5 jierren lyn
- Wurdearring: 4 fan 5troch Firefox-brûker 14104785, 5 jierren lyn
- Wurdearring: 4 fan 5troch Firefox-brûker 15165814, 6 jierren lyn
- Wurdearring: 4 fan 5troch Firefox-brûker 15147126, 6 jierren lynReally 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.
- Wurdearring: 4 fan 5troch FCO_JAVIER, 6 jierren lyn