Nice script but is it possible to exclude "http" links from being parsed? The problem is that for pics from tvshows and such 5ch uses http://clipimg.work which results in script being unable to load any images from this host. Script parses the image but the browser automatically upgrades the link to HTTPS and climpimg does not support secure HTTPS connections so the image can't load. Example of the broken image is in the attachment. Or if there's no easy workaround for this, it'd be nice to have some basic true/false setting to not fully replace the link with an image, and show both the thumbnail and the link. This way a user can manually click the clipimg link, while currently you need to open devtools and get the original image link from there.
Nice script but is it possible to exclude "http" links from being parsed?
The problem is that for pics from tvshows and such 5ch uses http://clipimg.work which results in script being unable to load any images from this host. Script parses the image but the browser automatically upgrades the link to HTTPS and climpimg does not support secure HTTPS connections so the image can't load.
Example of the broken image is in the attachment.
Or if there's no easy workaround for this, it'd be nice to have some basic true/false setting to not fully replace the link with an image, and show both the thumbnail and the link. This way a user can manually click the clipimg link, while currently you need to open devtools and get the original image link from there.