javascript 的評論
javascript 作者: chee
11 筆評論
- 評價 4 分,滿分 5 分來自 Firefox 使用者 16703548,2 個月前
- 評價 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. 開發者回應
張貼於 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)- 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 年前