Forum talk:Coding/Javascript

From GuildWiki
Jump to: navigation, search

GWW switch impersonator[edit source]

When I put that code into my monaco.js (with the recommended monaco adjustments), it gave me a "Share this article" button with the Facebook "f" icon, and clicking it brings up a list of sites to "share" on. Huh?... I wanted a GWW switch. :( RoseOfKali RoseOfKaliSIG.png 18:42, April 20, 2010 (UTC)

Ok, nvm, so I did get the GWW switch now, along with a banner ad on the main page. O_O How do I get rid of the "Share this article?" Or was it always there and I'm a noob? >_< RoseOfKali RoseOfKaliSIG.png 18:47, April 20, 2010 (UTC)
It's only on Monaco, and it looks like it's something Wikia added recently, because I don't remember it being there the last time I looked at Monaco. To hide it:
document.getElementById('control_share_feature').style.display = 'none';
Dr Ishmael Diablo the chicken.gif 19:00, April 20, 2010 (UTC)
Neat, thanks. RoseOfKali RoseOfKaliSIG.png 23:57, April 20, 2010 (UTC)