Jump to content

User:Enterprisey/set-js-prefs

From Wikipedia, the free encyclopedia
set-js-prefs
Author(s)Enterprisey
StatusStable
UpdatedJanuary 29, 2019; 5 years ago (2019-01-29)
BrowsersFirefox
SkinsVector
SourceUser:Enterprisey/set-js-prefs.js

Allows you to set your common.js preferences without going through the edit window.

Installation instructions

[edit]

Hint: It's much easier if you get ScriptInstaller, then navigate to User:Enterprisey/set-js-prefs.js and click "Install" at the top.

However, here's the manual method:

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

Usage

[edit]

Install this script, then visit your common.js file; if you have "preferences" (i.e. lines that look like x = y;), you'll be able to set them via a new form at the top of the page.

See also

[edit]