Jump to content

User:Enterprisey/set-js-prefs

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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

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

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