Tampermonkey 的评价
Tampermonkey 作者: Jan Biniok
Firefox 用户 6696096 的评价
评分 5 / 5
来自 Firefox 用户 6696096,7 年前Will there be an ability to edit script directly in user-chosen external editor?
If not, please add an option to quickly update the single script (used in the current tab) from addon-popup menu (from the main browser toolbar).
The demise of GreaseMonkey and the absence of ViolentMonkey documentation forced me to choose TamperMonkey. I even moved my scripts to local Apache web-server (as it is the quickest way to import the scripts to UserJS addons and keep them always updated for several firefox profiles). But still there are many unnecessary actions on each script change. To update one script I need:
1) save the script in the editor
2) open the localhost URL (with my scripts),
3) click the script link,
4) click REINSTALL in TamperMonkey
5) refresh the page
The option that I offered earlier will make the steps 2-4 unnecessary and will save plenty of time when editing scripts.
If not, please add an option to quickly update the single script (used in the current tab) from addon-popup menu (from the main browser toolbar).
The demise of GreaseMonkey and the absence of ViolentMonkey documentation forced me to choose TamperMonkey. I even moved my scripts to local Apache web-server (as it is the quickest way to import the scripts to UserJS addons and keep them always updated for several firefox profiles). But still there are many unnecessary actions on each script change. To update one script I need:
1) save the script in the editor
2) open the localhost URL (with my scripts),
3) click the script link,
4) click REINSTALL in TamperMonkey
5) refresh the page
The option that I offered earlier will make the steps 2-4 unnecessary and will save plenty of time when editing scripts.
开发者回应
发布于 7 年前You can open the dashboard, search the script (you should choose a sort option which makes the script appear at the top) and then click at the "Last updated" column to trigger a new update check.
For development (and only development) you can also copy your script's header to a new script and then @require your script URL from your local web server.
Then open the TM settings page and set "Config Mode" to "Advanced, search for "Externals" > "Update Interval" and change it to "Always". Now TM will update your @require every time the script _was_ executed. Again, please use this only for development!
I hope (user-enabled) local file access will be implemented by the Firefox developers soon or at least one day. If that's done, then to @require a local file will make TM load it at every script execution without disadvantage.
For development (and only development) you can also copy your script's header to a new script and then @require your script URL from your local web server.
Then open the TM settings page and set "Config Mode" to "Advanced, search for "Externals" > "Update Interval" and change it to "Always". Now TM will update your @require every time the script _was_ executed. Again, please use this only for development!
I hope (user-enabled) local file access will be implemented by the Firefox developers soon or at least one day. If that's done, then to @require a local file will make TM load it at every script execution without disadvantage.