
DanielTepesKraus 




























will return
*Description*
As you all know the site dynamically replaces all images posted with the !! syntax with a "camo" link:
@"==!http://i.imgur.com/e99AGEO.gif!=="@
becomes
@"==!https://camo.derpicdn.net/e549ac47bf33f9a2184243a303fdd1ff28382018?url=http%3A%2F%2Fi.imgur.com%2Fe99AGEO.gif!=="@
...once it has been posted. While this is a necessary security feature designed to protect the site _and_ your computer from the little gremlins on the web, let's be honest, it's also annoying as hell because it makes getting the source of images a pain since you can't just right-click and copy the source anymore:
!http://i.imgur.com/e99AGEO.gif!
This script adds a simple "[Image Source]" link beneath every single image posted using the !! syntax, which can be clicked on or source-copied for the pure, unchanged image link.
...Which raises the question why doesn't this outright _replace_ the camo link? Firstly, while it is possible it is rather buggy and will cause security certificate errors on the site. Secondly, the camo links _do_ serve an important purpose which far outweighs the "they are somewhat annoying" aspect.
New feature! Now if someone uses the !! syntax to link an image from the 'Booru itself, this script will also add a "[Derpibooru Post]" link that will take you to the corresponding page.
*It In Action:*
!http://i.imgur.com/1aLJ74K.png!
!http://i.imgur.com/9KQilvd.png!
*Changelog*
V1.1 - 2016/09/18 - Fixed a minor bug that stopped it from running on some domains
V1.0 – 2016/03/30 – Initial release
V2.0 - 2017/07/19 - Complete revamp. Now works consistently on image threads
V2.1 - 2017/07/19 - Bugfix
V2.2 - 2017/07/28 - Now works with pagination, descriptions, and about me boxes
V2.2 - 2017/07/29 - Bugfix, now links to Derpibooru images linked with !! syntax
*Download Link*
"Download":https://openuserjs.org/scripts/DanielTepesKraus/Images_in_posts_and_comments_source_link_generator
*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. One user has reported that, on occasion, the links may not appear or might appear twice per image, but I've not been able to replicate this bug myself and thus find the cause of it.
As you all know the site dynamically replaces all images posted with the !! syntax with a "camo" link:
@"==!http://i.imgur.com/e99AGEO.gif!=="@
becomes
@"==!https://camo.derpicdn.net/e549ac47bf33f9a2184243a303fdd1ff28382018?url=http%3A%2F%2Fi.imgur.com%2Fe99AGEO.gif!=="@
...once it has been posted. While this is a necessary security feature designed to protect the site _and_ your computer from the little gremlins on the web, let's be honest, it's also annoying as hell because it makes getting the source of images a pain since you can't just right-click and copy the source anymore:
!http://i.imgur.com/e99AGEO.gif!
This script adds a simple "[Image Source]" link beneath every single image posted using the !! syntax, which can be clicked on or source-copied for the pure, unchanged image link.
...Which raises the question why doesn't this outright _replace_ the camo link? Firstly, while it is possible it is rather buggy and will cause security certificate errors on the site. Secondly, the camo links _do_ serve an important purpose which far outweighs the "they are somewhat annoying" aspect.
New feature! Now if someone uses the !! syntax to link an image from the 'Booru itself, this script will also add a "[Derpibooru Post]" link that will take you to the corresponding page.
*It In Action:*
!http://i.imgur.com/1aLJ74K.png!
!http://i.imgur.com/9KQilvd.png!
*Changelog*
V1.1 - 2016/09/18 - Fixed a minor bug that stopped it from running on some domains
V1.0 – 2016/03/30 – Initial release
V2.0 - 2017/07/19 - Complete revamp. Now works consistently on image threads
V2.1 - 2017/07/19 - Bugfix
V2.2 - 2017/07/28 - Now works with pagination, descriptions, and about me boxes
V2.2 - 2017/07/29 - Bugfix, now links to Derpibooru images linked with !! syntax
*Download Link*
"Download":https://openuserjs.org/scripts/DanielTepesKraus/Images_in_posts_and_comments_source_link_generator
*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. One user has reported that, on occasion, the links may not appear or might appear twice per image, but I've not been able to replicate this bug myself and thus find the cause of it.