Difference between revisions of "MediaWiki:Common.js"

From Astarian Wiki
Jump to navigation Jump to search
imported>Cylis
imported>Cylis
 
(3 intermediate revisions by the same user not shown)
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 client(){
    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 dev_mac(){
    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");
}


$(function(){
$(function(){
      
      


  $('#web_client').html = (
  $('#web_client').html = ('Click <a onClick="launch()" style="color: blue; text-decoration: underline; cursor: pointer;">here</a> for a web-based alternative.');
    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 = ('<a onClick="dev_mac()" style="color: blue; text-decoration: underline; cursor: pointer;">here</a>');
)


$('#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");
)
} ());
} ());

Latest revision as of 22:24, 7 September 2018

/* Any JavaScript here will be loaded for all users on every page load. */


function client(){
    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 dev_mac(){
    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");
}

$(function(){
    

 $('#web_client').html = ('Click <a onClick="launch()" style="color: blue; text-decoration: underline; cursor: pointer;">here</a> for a web-based alternative.');
 $('#new_mac').html = ('<a onClick="dev_mac()" style="color: blue; text-decoration: underline; cursor: pointer;">here</a>');

} ());