Anonymous
10/07/2019 (Mon) 02:18:42
No.11153
del
>>11123>with the ability to unhide an image upon clickthese board feature requests can be done with custom javascript
the below is an quick example and is by no means perfect,
perhaps another anon can enhance to make it production ready.
DO NOT RUN UNTRUSTED JAVASCRIPT, VERIFY FIRSTfunction addHideImageButtons() {
Array.from(imageLinks).forEach((link) => {
var img = link.querySelector('img');
if (img && !link.parentNode.querySelector('button')) {
Message too long. Click here to view full text.