PageSourceSearch

https://globalcoalitiononaging.com/wp-content/themes/global-coalit…/resources/js/custom.js?ver=1790742949

js globalcoalitiononaging.com collected 2026-10-01 10:43:12 UTC 1,946 bytes, 42 lines download raw bytes

1document.getElementById('gform_submit_button_2').addEventListener('click', function() {
2	add_form_loader();
3						setTimeout(function() {
4							var iframe = document.getElementById("gform_ajax_frame_2");
5							if (iframe) {
6								iframe.style.display = "block";
7								iframe.style.height = "74px";
8								iframe.style.width = "300px";
9								var subscribe_form = document.getElementById('gform_2');
10								subscribe_form.reset();
11								var iframeContent = iframe.contentDocument || iframe.contentWindow.document;
12								var allElements = iframeContent.body.querySelectorAll('*');
13									allElements.forEach(function(element) {
14										if (!element.classList.contains('gform_validation_errors') && !element.classList.contains('gform_confirmation_wrapper') && !element.classList.contains('gform_confirmation_message') && !element.classList.contains('gform_validation_error') && !element.classList.contains('gform_submission_error')) {
15											element.style.display = 'none';
16										}
17									});
18								var errorElements = iframeContent.body.querySelectorAll('.gform_submission_error');
19								errorElements.forEach(function(element) {
20									element.style.fontSize = "14px";
21									element.style.fontWeight = "400";
22									element.style.fontFamily = "Barlow,sans-serif";element
23									element.style.color = "#f00";
24								});
25								var success_field = iframeContent.body.querySelectorAll('.gform_confirmation_message');
26								if(success_field){
27								   success_field.forEach(function(element) {
28									element.style.fontFamily = "Barlow,sans-serif";
29									   element.style.color = "#00a4ff";
30								});
31								}
32								remove_form_loader();
33							}
34						}, 2000);
35					});
36					
37					function add_form_loader(){
38						document.getElementById('gform_2').classList.add('loader');
39					}
40					function remove_form_loader(){
41						document.getElementById('gform_2').classList.remove('loader');
42					}

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.