Discuz Real Image

Change image attachments of Discuz forums to real source. ES6 required.

// ==UserScript==
// @name         Discuz Real Image
// @namespace    null
// @version      0.1
// @description  Change image attachments of Discuz forums to real source. ES6 required.
// @author       You
// @match        *://*/forum.php?*
// @match        *://*/thread-*.html
// @grant        none
// ==/UserScript==

document.querySelectorAll('img[zoomfile]').forEach(e=>e.src = e.getAttribute('zoomfile'));