diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 6961c52b1..146b513d0 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -7877,6 +7877,8 @@ try { $.cache(service.api(uid), function() { return title = Linkify.cb.title(this, data); + }, { + responseType: 'json' }); } catch (_error) { err = _error; diff --git a/builds/crx/script.js b/builds/crx/script.js index 252d9542a..c23928f3e 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -7911,6 +7911,8 @@ try { $.cache(service.api(uid), function() { return title = Linkify.cb.title(this, data); + }, { + responseType: 'json' }); } catch (_error) { err = _error; diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index fc29bc4b6..ac553f1b0 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -189,8 +189,10 @@ Linkify = embed.dataset.title = title[0] else try - $.cache service.api(uid), -> - title = Linkify.cb.title @, data + $.cache service.api(uid), + -> title = Linkify.cb.title @, data + , + responseType: 'json' catch err if link link.innerHTML = "[#{key}] Title Link Blocked (are you using NoScript?)"