Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
First check HEADER, then GET content @7nik.
Call twice to XMLHTTPRequest.
Once with HEAD and
XMLHttpRequest.readyState === 2
(HEADERS_RECEIVED) and if page is a Feed; thenOnce again with GET and
XMLHttpRequest.readyState === 3
(LOADING) or4
(DONE) when MIME-Type doesn't say ATOM or RSS but we find out that it is.Code; courtesy of 7nik
Plan cancelled.
Thos program, now, takes the content, regardless of content-type header, and determines whether data is feed or is not.