Anonymous

Difference between revisions of "MediaWiki:Common.js"

From Clicklaw Wikibooks
108 bytes added ,  08:26, 18 March 2013
no edit summary
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: //<source lang="javascript"> /* * Description: Redirects from /User:UserName/skin.js or .css to th...")
 
Line 105: Line 105:
  *  Maintainer: [[User:Brion VIBBER]], [[User:hcatlin]]
  *  Maintainer: [[User:Brion VIBBER]], [[User:hcatlin]]
  */
  */
/* Commented out by Ian Wojtowicz for WikiPress code. Redirect not appropriate for non Wikipedia uses.
if (/(Android|iPhone|iPod|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii)/.test(navigator.userAgent)) {
if (/(Android|iPhone|iPod|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii)/.test(navigator.userAgent)) {


Line 129: Line 132:
}
}


*/


/* Scripts specific to Internet Explorer */
/* Scripts specific to Internet Explorer */