Chris Jones 55fb288992 #violentmonkey, add todo item | пре 3 година | |
---|---|---|
.. | ||
.eslintrc.json | пре 3 година | |
README.md | пре 3 година | |
extract_tampermonkey_script.py | пре 4 година | |
freecadForumDoomScroll.user.js | пре 3 година | |
freecadForumNavBarWidthFix.user.js | пре 4 година | |
tampermonkey.skeleton.user.js | пре 4 година |
*.user.js
to load the userscript in the browser based editorfor my particular local dev setup, i'm using apache2 on macos 10.14, and am serving the script file from my
~/Sites
directory within my/Users/$USER
directory.
to prevent having to bump the build number to load each local change while developing a userscript keep the installation window/tab open, and just click the confirm installation button. then all that is required is to refresh the browser tab that the user script is interacting with.
💡 there is a bit of a delay from when the userscript file is written and when the browser picks up on the change, so if the initial refresh does not load changes give 5 secs and try again, and if still nothing inspect *monkey settings.
the scripts can be a little finicky to get loaded, make sure the downloadURL
and the updateURL
are set to the proper path on the filesystem or else script changes will not be pushed when developing a script locally for testing. violentmonkey should display an error if it fails to fetch the updated script
~/Sites
directory