Vasi1 said:
That would be a sensible thing to do, I support this. On several occasions I just wanted to get to the full image source, because it would not show up in search results.
I second that, this option would be very useful.
In the meantime, I leave a simple userscript that does just that below and hope that, in the future, it will become unnecessary.
Script
// ==UserScript==
// @name Danbooru banned posts sources
// @match https://danbooru.donmai.us/posts/*
// @grant none
// @version 1.0
// @author Minitajfun
// @description Simple script to display source on banned posts
// @run-at document-end
// ==/UserScript==
xhttp = new XMLHttpRequest();
xhttp.onload = function() {
res = JSON.parse(this.responseText);
console.log(res);
if (res.is_banned) {
srcEl = document.createElement('p');
srcElLink = document.createElement('a');
srcEl.innerText = 'Original source: ';
srcElLink.innerText = res.source;
srcElLink.href = res.source;
srcEl.appendChild(srcElLink);
document.getElementById('page').appendChild(srcEl);
}
}
xhttp.open("GET", window.location.href + '.json', true);
xhttp.send();