# cookieadmin/1.2.5/assets/js/footer.js

CookieAdmin – Cookie Consent Banner, version 1.2.5. 15 lines.

- Page: https://pluginprobe.com/plugins/cookieadmin/1.2.5/code/assets/js/footer.js
- Raw: https://pluginprobe.com/plugins/cookieadmin/1.2.5/raw/assets/js/footer.js
- Modified: 2026-02-13T14:27:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cookieadmin/1.2.5/code/assets/js/footer.js#L10-L20`.

```javascript
function cookieadmin_dotweet(ele){
	window.open(jQuery("#"+ele.id).attr("action")+"?"+jQuery("#"+ele.id).serialize(), "_blank", "scrollbars=no, menubar=no, height=400, width=500, resizable=yes, toolbar=no, status=no");
	return false;
}

document.addEventListener("DOMContentLoaded", function() {
	if(!cookieadmin_data['is_pro']){
		jQuery("[cookieadmin-pro-only]").each(function(index) {
			jQuery(this).filter("input, textarea, select").attr("disabled", true).css('cursor', 'not-allowed');
			jQuery(this).find( "input, textarea, select, span" ).attr("disabled", true).css('cursor', 'not-allowed');
			jQuery(this).find( "input.cookieadmin-color-input" ).css("margin-left", "0px");
			jQuery(this).find( "label span" ).not('.cookieadmin-tooltip-box').css("background-color", "#e8e8e8").css("color", "#9f9f9f");
		});
	}
});
```
