Jump to content

User:Enterprisey/user-script-helper

From Wikipedia, the free encyclopedia
user-script-helper
DescriptionHelps with user script development.
Author(s)Enterprisey
StatusStable
UpdatedNovember 17, 2020; 3 years ago (2020-11-17)
BrowsersFirefox
SkinsVector
SourceUser: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

[edit]

Hint: 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:

  1. Place {{subst:iusc|User:Enterprisey/user-script-helper.js}} on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js.
  2. Clear your cache and enjoy!

See also

[edit]