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.
Seems like you have a casing typo here a few times:
--- /scripts/Frederick888/Pawoo_Twitter_Preview/source@0.2.0+3007a08 +++ /scripts/Frederick888/Pawoo_Twitter_Preview/source @@ -12,7 +12,7 @@ // @updateURL https://openuserjs.org/meta/Frederick888/Pawoo_Twitter_Preview.meta.js // @match https://pawoo.net/* // @grant GM.xmlHttpRequest -// @grant GM_xmlHttpRequest +// @grant GM_xmlhttpRequest // ==/UserScript== let galleryTemplate = ` @@ -34,10 +34,10 @@ function fetchTwitterPreviewImage(twitterLink) { let twitterUrl = twitterLink.getAttribute('href'); - if (typeof (GM_xmlHttpRequest) === 'undefined' && typeof (GM.xmlHttpRequest) === 'function') { - GM_xmlHttpRequest = GM.xmlHttpRequest; + if (typeof (GM_xmlhttpRequest) === 'undefined' && typeof (GM.xmlHttpRequest) === 'function') { + GM_xmlhttpRequest = GM.xmlHttpRequest; } - GM_xmlHttpRequest({ + GM_xmlhttpRequest({ method: 'GET', url: twitterUrl, headers: { @@ -55,7 +55,7 @@ // console.log(openGraphImage.getAttribute('content')); mediaGallery.querySelector('a.media-gallery__item-thumbnail').setAttribute('href', twitterUrl); let container = twitterLink.closest('.status__content'); - GM_xmlHttpRequest({ + GM_xmlhttpRequest({ method: 'GET', url: openGraphImage.getAttribute('content'), headers: {
Refs:
Closing in favor of Frederick888/pawoo-twitter-preview#1