User:Cuckooman4/js.js/doc
Appearance
< User:Cuckooman4 | js.js
Adds an "Edit -insert skin here-.js" link to the navigation menu.
Usage
[edit]Click the link to edit your user javascript.
Setting which portlet to add the link to
[edit]I'd put it in the toolbox, but I use it a lot, so I put it in navigation as default.
Use:
jslinkportlet = "-insert portlet id here-"
From Wikipedia:WikiProject_User_scripts/Techniques:
- 'p-cactions'
- the tabs at the top of the page (with the article, discussion, edit, history, move, and watch links)
- 'p-personal'
- the personal toolbar (i.e. the one at the top, with a link to user page, user talk, prefs, watchlist, contribs, log out)
- 'p-navigation'
- the navigation toolbar (i.e. Main page, Featured Content, etc.)
- 'p-interaction'
- the interaction toolbar, below the navigation toolbar
- 'p-tb'
- the toolbox (What links here, Related changes etc.)
Installation
[edit]Add
importScript("User:Cuckooman4/js.js");
to your monobook.js or whatever skin you use.
It automatically figures out what skin you're using (there's a skin
variable), so you don't have to set it.
Compatibility
[edit]Browser | Compatible? |
---|---|
IE 6 | Yes |
FF 2 | Yes |