MediaWiki:Common.js

From Astarian Wiki
Revision as of 21:51, 7 September 2018 by imported>Cylis
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */

$(function(){
    

 $('#web_client').html = (
    var client=open("/wm_client/webclient.php",client,"height=650,width=950,status=no,resizable=no,scrollbars=no,toolbar=no,menubar=no,addressbar=no");
)

 $('#new_mac').html = (
    var y = confirm("Cylis is not a registered Apple developer.\nIn order to run the Mac app package and bypass the unknown develper message,\ncontrol-click the app package and select open.\n\nPlease note, at this time, this software is underdevelopment and can not be guaranteed to work with your mac.\nBy using this software you agree to hold harmless Astaria Entertainment for any damages that may be caused\nby the use of this software. You also agree to be held by the terms of the GPL v3.0. Do you agree to download this software?");
if (y == true) open(href="http://www.astariamud.com/client/A3client.dmg");
)
} ());