Community Central

Admin Forum:Using javascript to add menu items

18,806pages on
this wiki
Add New Page
Add New Page Talk0

This Forum has been archived

Forums: Admin Central Index Technical Help Using javascript to add menu items
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

Is it acceptable to use javascript to add an additional tab to the top navigation on a wiki?

I am an admin at Dead Island Wiki and I am currently in the process of remaking the menu but i find it frustrating that only four main headings can be made (plus the "on the wiki" tab that I cannot edit). I have written a greasemonkey script that adds an additional heading with menu items and dropdowns.

  • It does not interfere with any advertisement(s).
  • It does not change the width of the page.
  • It does not overlap with any other elements.
  • I do not use any crazy javascript kung-fu. I simply create a new li and append it to the navigation's ul.
  • It looks like it belongs. That is, it uses the proper classes so it inherits wikia's color scheme so it looks normal.
  • It is not expensive at all.
  • The script is tested and can easily be implemented to the wiki's common file.

Would this be allowed?

jgjake2  talk  contr 23:02, November 3, 2011 (UTC)

As far as I know, absolutely. :) There's nothing in the ToU against adding to existing functionality; it only instructs against affecting default functionality. The 888th Avatar (talk) 01:22, November 4, 2011 (UTC)

Also on Fandom

Random Wiki