PageSourceSearch

https://www.above.com/registrar/javascript/epp_action.js

js above.com collected 2026-10-03 19:47:30 UTC 1,039 bytes, 30 lines download raw bytes

1function epp_action(domain,action)  {
2   var action_button = document.getElementsByName(action)[0];
3   action_button.value = action+'ing..';
4   action_button.disabled = true;
5
6   var html_link = '';
7   if(action == 'lock') {
8	  var lock_reason = document.getElementsByName('lock_reason')[0].value;
9       html_link = "/epp_action.html?dont_render_template=1&action="+action+"&domain="+domain+"&lock_reason="+lock_reason;
10   }
11   else {
12	    html_link = "/epp_action.html?dont_render_template=1&action="+action+"&domain="+domain;
13    
14   }
15   $.ajax({ url: html_link, timeout: 40000,cache:false ,success:function(msg){ check_if_success(msg,action);}});
16   
17}
18function check_if_success(msg, action) {
19    msg = msg.replace(/^(\s)*/, '');
20    msg = msg.replace(/(\s)*$/, '');
21 
22   if(msg == 'SUCCESS') {
23	  document.getElementsByName(action)[0].value = action+'ed';
24      
25	  alert("Domain "+action+'ed'+" successfully");
26   }
27   else {
28      alert('Error '+action+'ing domain. Please report to Trellian');
29   }
30}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.