Difference between revisions of "MediaWiki:Common.js"

From Astarian Wiki
Jump to navigation Jump to search
imported>Cylis
imported>Cylis
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */


function web_client(){
$(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");
     var client=open("/wm_client/webclient.php",client,"height=650,width=950,status=no,resizable=no,scrollbars=no,toolbar=no,menubar=no,addressbar=no");
}
)
function new_mac(){
 
$('#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?");
     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");
if (y == true) open(href="http://www.astariamud.com/client/A3client.dmg");
)
}
}

Revision as of 21:50, 7 September 2018

/* 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");
)
}