User talk:Essjay

Javascript js/css Refrencing between wiki
Hello again, this time it's about soemthing I'm trying to do with .js, and you seem to be the best around at that.

I started adding some .js and .css stuff for myself (thanks to what you have), so I tryed building a tool which would add stuff to the monobook.css and monobook.js on another wiki just by entering the subdomain name into the tool. I can't use the method used in the status changer because that requires js to already be located at the target wiki, and I tryed opening up another window using js to do that but neither of those methods worked. Now I attempted using AJAX, but it dosen't seem to work. So far what I've got testing out is at Anime:User:Dantman/wikiviewclone.js, is there anything that can be done for it? (you may need this in your monobook.js there for you to be able to test it. //If we are inside of the wikiview clone tool then add the .js to the load. if( window.location.href.match(/^^http:\/\/en.anime.wikia.com\/(wiki\/|index.php?title=)User:Dantman\/wikiviewclone.js/i) )	document.write(' '); Dantman (Talk) 06:01, 26 February 2007 (UTC)


 * Sadly, I'm not really much of a javascripter; Splarka is much better act the actual coding, so you might ask him for help with the debugging. I can tell you, however, that we have requested that the tech team make it possible to specify a "master" css/js that would work for you on all wikis. Until that time, what I have been doing is using a Firefox extension called Signature to store my CSS and JS, and then using the menu that produces to insert them onto the appropriate wiki. Though I haven't figured out how to make it work for CSS, there is a code you can put into your monobook.js that lets you include an external JS; I use it to automatically include my central monobook.js onto other wikis, which has the benefit that any change I make here is automatically carried over to the otheres. You can see the code at http://starter.wikia.com/wiki/User:Essjay/monobook.js. Essjay ( Talk )  05:09, 27 February 2007 (UTC)