diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a5b971ca5..35d337803 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -8259,6 +8259,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 a1b6209cc..b931ff4ce 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -8250,6 +8250,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 12e443dc2..6ee35a01e 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?)"