User:Enterprisey/user-script-helper
Description | Helps with user script development. |
---|---|
Author(s) | Enterprisey |
Status | Stable |
Updated | November 17, 2020 |
Browser support | Firefox |
Skin support | Vector |
Source | User:Enterprisey/user-script-helper.js |
A userscript to help out with user scripts. Right now, all it does is add "Start dev" and "Stop dev" buttons at the top of your common.js that will delete imports of a given script and add a new import of it from localhost (and do the reverse, respectively).
Yes, I wrote so many user scripts I made a user script to help me write them. For more in the same sprit, see the BRFA BRFA.
Installation instructions
lembaHint: It's much easier if you get ScriptInstaller, then navigate to User:Enterprisey/user-script-helper.js and click "Install" at the top.
However, here's the manual method:
- Place
{{subst:iusc|User:Enterprisey/user-script-helper.js}}
on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js. - Clear your cache and enjoy!