Trigger for all doctypes

Is exists trigger for all doctypes in ERPNext? Smth like
frappe.ui.form.on({“Absolute any doctype”},{
refresh: function(){…}});

@Artem Yes,it is possible.

How I can create it? Have you got any examples? I found smth like $.extend(frappe.listview_settings[’*’], {}
but i am not sure, that it will work