DanielTepesKraus
will return
*Description*
This simple script adds a "Toggle BackgroundG Color" button above anyll image tagged with "transparent background":/tags/transparent+background which allows you to quickly toggle between the light theme and dark theme color for the background of the image. Handy as transparent animated gifs that use aliasing can look bad against the dark theme, and of course some images look better with a dark background. This lets you swap just the image background color itself with the push of a button.
Now has the option to always add the Toggle BG Link, or to only add it to images with transparent backgrounds. The default is thelattformer; edit the script and change AlwaysLink = 0; to var AlwaysLink = 1; to change that.
*It In Action:*
!http://i.imgur.com/8Ehenzt.png!
*Changelog*
V1.0 – 2016/03/30 – Initial release
V2.0 - 2017/07/23 - Script rewrite. Now works consistently on all images tagged "transparent", "transparent background", and "derpibooru theme illusion"
V2.1 - 2017/07/23 - Added feature to toggle the script and changed the default setting.
*Download Link*
"Download":https://openuserjs.org/scripts/DanielTepesKraus/Transparent_Image_Background_Color_Switch
*Disclaimer and Such*
Use at your own risk. This script does not store or access any user data. This script has been tested but may not be entirely bug free.
This simple script adds a "Toggle B
Now has the option to always add the Toggle BG Link, or to only add it to images with transparent backgrounds. The default is the
*It In Action:*
!http://i.imgur.com/8Ehenzt.png!
*Changelog*
V1.0 – 2016/03/30 – Initial release
V2.0 - 2017/07/23 - Script rewrite. Now works consistently on all images tagged "transparent", "transparent background", and "derpibooru theme illusion"
V2.1 - 2017/07/23 - Added feature to toggle the script and changed the default setting.
*Download Link*
"Download":https://openuserjs.org/scripts/DanielTepesKraus/Transparent_Image_Background_Color_Switch
*Disclaimer and Such*
Use at your own risk. This script does not store or access any user data. This script has been tested but may not be entirely bug free.