Link Info

Link Info is a 1.7.2 to 1.8 Liteloader mod.

The mod allows for accessing links posted in chat. This will take the user to a 'do you want to open this link' screen. Asking if the user wants to view a general link, a YouTube video and view, title, length and thumbnail information, or an image posted to Imgur and using a show/hide image button to preview it.









Direct downloads are available here:

Version 0.6 for 1.8 https://www.dropbox.com/s/2amnotw15502fne/LinkInfo-mc1.8-0.6.litemod?dl=0

Version 0.4 for 1.7.10 https://www.dropbox.com/s/58z8ic8bbm78m41/Link_Info-mc1.7.10-0.4.litemod

Version 0.3.1 for 1.7.10 https://www.dropbox.com/s/djsga5340dwyotg/Link_Info-mc1.7.10-0.3.1.litemod

Version 0.2 for 1.7.2_04 http://www.mediafire...0235pm7xttvhay6

Link Info 0.6 - See basic info about webpages and view images without leaving the game

Description

With this mod, you will be able to click on a link in chat and be shown the title of the webpage. If it's a YouTube video, the title, length, uploader, rating, number of comments, and thumbnail will also be shown. If it's an image, there will be a button to show it on screen.

How it Works In order to get info about a webpage, I first have to connect to it. Afterwards, I read the header info to make sure it's an image or html file. If it's html, all that's left is to parse it for the title.

Future Plans

Image zooming and panning

Changelog:

0.6

Added: imgur albums, deviantart, derpibooru, update checker if MnmUtils is installed

Fixes: html escape webpage titles

0.4

Youtube: Changed to use oEmbed. This fixes The recent breakage. Youtube: Removed duration, views, rating, and comment count. Will be back soon. Imgur: Added imgur.com support. Images: Support for animated gifs Several under the hood changes Other stuff that I forgot about

0.3.1

Fix crash upon clicking link.

0.3

Updated to 1.7.10 Fixed freezing when clicking a link Access the network less. Fixed crash when a youtube video has 0 votes. Change how the youtube rating ratio is gotten. Rewrite image scaling. Fixes images being larger than the window or discolored. Remove some unneeded reflection. Removed jsoup. (Was used tor html parsing of title. Now uses regex)

0.2

If webpage is redirect, show destination URL. (bitly, tinyurl) Auto-cutoff page titles Fix crash when ssl fails. Disable Show Image button when not loaded. Fix 403 error on some websites.

0.1

Initial release