Jump to content

User:Enterprisey/set-js-prefs

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Enterprisey (talk | contribs) at 02:23, 30 October 2019 (+userscript). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
set-js-prefs
Author(s)Enterprisey
StatusStable
UpdatedJanuary 29, 2019; 6 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]