How I can disable csrf protection on server?

I tried to send the ajax request( function) to server on my custom page. But I can’t use there frappe.csrf_token, because this libraries didn’t include here. How I can resolve this?

From a security standpoint, wouldn’t it make more sense to resolve the root cause for the cross-site issue? Where exactly does it come up? Is there maybe an address configuration or name resolution issue?

I updated the topic. Sorry for low explanation)